From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id 1E3F33858D33; Sat, 7 Jan 2023 01:35:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E3F33858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673055325; bh=EFi7zZCz8vqp5N4IO/xfMezfoJeUTjlicPHScWcAVUo=; h=From:To:Subject:Date:From; b=CnW9larpTxpUX5hj/l2Z0uN8XHfeI7YU2O3juKlStE2NNf007f4eX9Liwvz2x7Dq0 nUAJAWC/MUysmEQYX7q6xRpbjkghmJ9W554uxnqcyIjBqk77atM4tpVUMQ5Mi/LUCv chPEy5jmKz4Jyhddc2dC7+koPYQMH6D3qziGR/uc= 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/work104)] Update ChangeLog.meissner. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work104 X-Git-Oldrev: 7405b2ad14cc37ba69d7b65cb8ec9f6874daba4b X-Git-Newrev: e5103fa74ff213c3e5b0a06662e074dac1c88f32 Message-Id: <20230107013525.1E3F33858D33@sourceware.org> Date: Sat, 7 Jan 2023 01:35:25 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e5103fa74ff213c3e5b0a06662e074dac1c88f32 commit e5103fa74ff213c3e5b0a06662e074dac1c88f32 Author: Michael Meissner Date: Fri Jan 6 20:33:55 2023 -0500 Update ChangeLog.meissner. 2023-01-06 Michael Meissner gcc/ * ChangeLog.meissner: Update. Diff: --- gcc/ChangeLog.meissner | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index ca8b890ea31..64cd2c02fb7 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,4 +1,63 @@ +==================== Patch #22, work104 branch ==================== + +Update float 128-bit conversions, PR target/107299. + +This patch fixes two tests that are still failing when long double is IEEE +128-bit after the previous 2 patches for PR target/107299 have been applied. +The tests are: + + gcc.target/powerpc/convert-fp-128.c + gcc.target/powerpc/pr85657-3.c + +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-06 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. + ==================== Patch #21, work104 branch ==================== + Allow for FP types with the same precision. This patch allows 2 or more floating point modes to have the same precision. @@ -53,6 +112,7 @@ gcc/ * machmode.def (FRACTIONAL_FLOAT_MODE_NO_WIDEN): Document. ==================== Patch #20, work104 branch ==================== + Rework 128-bit complex multiply and divide. This patch reworks how the complex multiply and divide built-in functions are @@ -123,6 +183,7 @@ gcc/testsuite/ * gcc.target/powerpc/mulic3-2.c: Likewise. ==================== Basline ==================== + 2023-01-03 Michael Meissner Clone branch