From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id CCE3D385801A; Tue, 9 Aug 2022 22:32:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCE3D385801A 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/work097)] Update ChangeLog.meissner. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work097 X-Git-Oldrev: ff66e2eafb033d1639ec8834a904f153bfb25515 X-Git-Newrev: 3a43994f4876237e5339e1b50407990c90a18fc6 Message-Id: <20220809223218.CCE3D385801A@sourceware.org> Date: Tue, 9 Aug 2022 22:32:18 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2022 22:32:18 -0000 https://gcc.gnu.org/g:3a43994f4876237e5339e1b50407990c90a18fc6 commit 3a43994f4876237e5339e1b50407990c90a18fc6 Author: Michael Meissner Date: Tue Aug 9 18:32:02 2022 -0400 Update ChangeLog.meissner. 2022-08-08 Michael Meissner gcc/ * ChangeLog.meissner: Update. Diff: --- gcc/ChangeLog.meissner | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index 4bc6bdb00a9..d660cbf6974 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,3 +1,38 @@ +==================== work097, patch003 + +Use _Float128 type for __float128. + +In the past if the long double type was IEEE 128-bit, the __float128 type would +use the long double type, and TFmode would be used for the mode for both +_Float128 and long double types. + +This patch always uses the _Float128 type for __float128, and it always uses +KFmode for the mode. Right now, a similar change for __ibm128 has not been +made. + +In making these changes, I noticed that there was an internal tree for holding +the __float128 type. This code removes that internal tree variable. + +2022-08-09 Michael Meissner + +gcc/ + + * config/rs6000/rs6000-builtin.cc (rs6000_type_string): Use + float128_type_node, not ieee128_float_type_mode. + (rs6000_init_builtins): Always use the _Float128 type for the __float128 + keyword. Do not use the long double type. + * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Use + float128_type_node, not ieee128_float_type_mode. Simplify if + statements. + (rs6000_cpu_cpp_builtins): Delete ieee128_float_type_mode. + * config/rs6000/rs6000.cc (rs6000_libgcc_floating_mode_supported_p): + Always use KFmode for _Float128 and __float128. + (rs6000_floatn_mode): Likewise. + (rs6000_c_mode_for_suffix): Always use KFmode for _Float128 and + __float128. Add 'w' and 'W' suffix for __ibm128 constants. + * config/rs6000/rs6000.h (RS6000_BTI_ieee128_float): Delete. + (ieee128_float_type_node): Likewise. + ==================== work097, patch002 Rework 128-bit complex multiply and divide.