From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id 10CF93858D33; Wed, 8 Mar 2023 19:43:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 10CF93858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678304583; bh=q4mN+ibAvNpiCTQ73VlWQYyZjffElROMQNBsfX0tWBo=; h=From:To:Subject:Date:From; b=E5kOBoyFPZCHCuuMYd4awfyxO1MHLo8rbhOToyDQgmDk3qZzF0EF+AFYUjsluzJ6X xCxU2jkS3XQXMNVfjjTGyBzCZJVVryO2NhoaZds3D2adoT5dm2ZZrhwIUZyUfWsO41 ANVS2hY6Tiut2Jo+cLnqxJG5XMHl6eoeKeUoIZLc= 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/dmf010)] Update ChangeLog.meissner X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/dmf010 X-Git-Oldrev: b2b53ec95dbe5917bb738f6602a61104d3a39dde X-Git-Newrev: 08a9148e9ed2e60b282af82e6fad6f869946caaa Message-Id: <20230308194303.10CF93858D33@sourceware.org> Date: Wed, 8 Mar 2023 19:43:03 +0000 (GMT) List-Id: https://gcc.gnu.org/g:08a9148e9ed2e60b282af82e6fad6f869946caaa commit 08a9148e9ed2e60b282af82e6fad6f869946caaa Author: Michael Meissner Date: Wed Mar 8 14:42:59 2023 -0500 Update ChangeLog.meissner Diff: --- gcc/ChangeLog.meissner | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index dcccbe010b4..6bc8c02c91d 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,3 +1,40 @@ +==================== Branch dmf010, patch #1 ==================== + +Rework 128-bit complex multiply and divide. + +This patch reworks how the complex multiply and divide built-in functions are +done. Previously GCC created built-in declarations for doing long double complex +multiply and divide when long double is IEEE 128-bit. However, it did not +support __ibm128 complex multiply and divide if long double is IEEE 128-bit. + +This code does not create the built-in declaration with the changed name. +Instead, it uses the TARGET_MANGLE_DECL_ASSEMBLER_NAME hook to change the name +before it is written out to the assembler file like it now does for all of the +other long double built-in functions. + +2023-03-08 Michael Meissner + +gcc/ + + PR target/109067 + * config/rs6000/rs6000.cc (create_complex_muldiv): Delete. + (init_float128_ieee): Delete code to switch complex multiply and divide + for long double. + (complex_multiply_builtin_code): New helper function. + (complex_divide_builtin_code): Likewise. + (rs6000_mangle_decl_assembler_name): Add support for mangling the name + of complex 128-bit multiply and divide built-in functions. + +gcc/testsuite/ + + PR target/109067 + * gcc.target/powerpc/divic3-1.c: New test. + * gcc.target/powerpc/divic3-2.c: Likewise. + * gcc.target/powerpc/mulic3-1.c: Likewise. + * gcc.target/powerpc/mulic3-2.c: Likewise. + +==================== Branch dmf010, baseline ==================== + 2023-03-06 Michael Meissner Clone branch