From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id C575D3858D1E; Wed, 25 Jan 2023 03:29:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C575D3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674617396; bh=HSC5a9hOO1SyBsdOmjf9Uiy2wj1fJUL0YZcW+4y1k/M=; h=From:To:Subject:Date:From; b=o72cNXtJgwSdH2jG8B1uNHtRUy9g0yGTYq42rkACO9EThCCssUWaRKj+Wf9IlsILF Het6+BGNQeXP+Q9rJpnPccpufPiGWIgYcRwf/ppbURK4q8H1EK7FwYuaJbq1Ar8J1X MPBzKBAjZwOswx0P5j1+THlGJyg4L3+dqbFFNR0k= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work107)] Update ChangeLog.meissner X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work107 X-Git-Oldrev: 6638171e1df6f58703bac66c254195ba9ed84229 X-Git-Newrev: bc60e6ad685b665d41c71949c295c96390591f35 Message-Id: <20230125032956.C575D3858D1E@sourceware.org> Date: Wed, 25 Jan 2023 03:29:56 +0000 (GMT) List-Id: https://gcc.gnu.org/g:bc60e6ad685b665d41c71949c295c96390591f35 commit bc60e6ad685b665d41c71949c295c96390591f35 Author: Michael Meissner Date: Tue Jan 24 22:29:53 2023 -0500 Update ChangeLog.meissner Diff: --- gcc/ChangeLog.meissner | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index 182a2e87e0d..d206862278c 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,3 +1,54 @@ +==================== work107, patch #21 ==================== + +Update float 128-bit conversions, PR target/107299. + +This patch is a rewrite of the patch submitted on August 18th: + +| https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599988.html + +This patch reworks the conversions between 128-bit binary floating point types. +Previously, we would call rs6000_expand_float128_convert to do all conversions. +Now, we only define the conversions between the same representation that turn +into a NOP. The appropriate extend or truncate insn is generated, and after +register allocation, it is converted to a move. + +This patch also fixes two places where we want to override the external name +for the conversion function, and the wrong optab was used. Previously, +rs6000_expand_float128_convert would handle the move or generate the call as +needed. Now, it lets the machine independent code generate the call. But if +we use the machine independent code to generate the call, we need to update the +name for two optabs where a truncate would be used in terms of converting +between the modes. This patch updates those two optabs. + +This patch was previously submitted on December 14th, 2022. This patch changes +one built-in function from a FLOAT_TRUNCATE to a FLOAT_EXTEND, which is needed +by the previous patch to genmodes.cc to allow allow the same precision to be +used for various modes. + +2022-01-24 Michael Meissner + +gcc/ + + PR target/107299 + * config/rs6000/rs6000.cc (init_float128_ieee): Use the correct + float_extend or float_truncate optab based on how the machine converts + between IEEE 128-bit and IBM 128-bit. + * config/rs6000/rs6000.md (IFKF): Delete. + (IFKF_reg): Delete. + (extendiftf2): Rewrite to be a move if IFmode and TFmode are both IBM + 128-bit. Do not run if TFmode is IEEE 128-bit. + (extendifkf2): Delete. + (extendtfkf2): Delete. + (extendtfif2): Delete. + (trunciftf2): Delete. + (truncifkf2): Delete. + (trunckftf2): Delete. + (extendkftf2): Implement conversion of IEEE 128-bit types as a move. + (trunctfif2): Delete. + (trunctfkf2): Implement conversion of IEEE 128-bit types as a move. + (extendtf2_internal): Delete. + (extendtf2_internal): Delete. + ==================== work107, patch #20 ==================== Improve PowerPC 128-bit floating point types.