public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/meissner/heads/work096)] Update ChangeLog.meissner.
Date: Tue,  2 Aug 2022 04:26:34 +0000 (GMT)	[thread overview]
Message-ID: <20220802042634.BB4F33856DC2@sourceware.org> (raw)

https://gcc.gnu.org/g:4af46f37c4ebef8ca630cdb2bc69812563a08af6

commit 4af46f37c4ebef8ca630cdb2bc69812563a08af6
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Aug 2 00:25:54 2022 -0400

    Update ChangeLog.meissner.
    
    2022-08-02   Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            * ChangeLog.meissner: Update.

Diff:
---
 gcc/ChangeLog.meissner | 94 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 65 insertions(+), 29 deletions(-)

diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner
index f2ab27393de..014aefff8eb 100644
--- a/gcc/ChangeLog.meissner
+++ b/gcc/ChangeLog.meissner
@@ -1,6 +1,70 @@
+==================== work096, patch 7.
+
+Allow __ibm128 even if IEEE 128-bit floating point is not supported.
+
+This set of patches changes the GCC compiler to allow the use of the __ibm128
+keyword if we have IEEE 128-bit floating point support enabled or if long double
+is 128-bits.
+
+In addition, checks for requiring hardware floating point to use __ibm128 have
+been removed.  This fixes PR target/105534.
+
+2022-08-02   Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	PR target/105534
+	* config/rs6000/rs6000-builtins.cc (rs6000_init_builtins): Create
+	__ibm128 on older machines without IEEE 128-bit support.
+	* config/rs6000/rs600.cc (init_float128_ibm): Remove checks for hardware
+	floating point for the IBM 128-bit comparisons.
+	(rs6000_init_libfuncs): Create IBM 128-bit floating point support even
+	if we don't support IEEE 128-bit floating point.
+	(rs6000_scalar_mode_supported_p): Allow __ibm128 even if we don't
+	support _Float128.
+	* config/rs6000/rs6000.h (FLOAT128_IBM_P): Remove checks for
+	-mhard-float.
+	(TARGET_IBM128): New macro.
+	* config/rs6000/rs6000.md (@extenddf<mode>2_fprs): Allow IFmode to be
+	converted even if long double is not 128-bits.
+	(extenddf<mode>2_vsx): Likewise.
+	(extendtfif2): Allow conversion if we have __ibm128 but not IEEE 128-bit
+	floating point.
+	(trunckftf2): Likewise.
+
 ==================== work096, patch 6.
 
-Support IEEE 128-bit overload extract and insert built-in functions.
+Add IEEE 128-bit overload test data built-in functions.
+
+This patch adds support for overloading the IEEE 128-bit test data and test data
+negate built-in functions bewteeen KFmode and TFmode arguments.
+
+2022-08-01   Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/rs6000-builtins.def
+	(__builtin_vsx_scalar_test_data_class_qp_kf): Rename KFmode IEEE 128-bit
+	test data built-in functions to have a KF suffix to allow overloading.
+	(__builtin_vsx_scalar_test_neg_qp_kf): Likewise.
+	(__builtin_vsx_scalar_test_data_class_qp_tf): Add TFmode variants for
+	IEEE 128-bit insert and extract support.
+	(__builtin_vsx_scalar_test_neg_qp_tf): Likewise.
+	* config/rs6000/rs6000-overload.def
+	(__builtin_vec_scalar_test_data_class): Add TFmode overloads.
+	(__builtin_vec_scalar_test_neg): Likewise.
+	(__builtin_vec_scalar_test_neg_qp): Likewise.
+	(__builtin_vec_scalar_test_data_class_qp): Likewise.
+
+gcc/testsuite/
+
+	* gcc.target/powerpc/bfp/scalar-test-data-class-11.c:  Update the
+	expected error message.
+	* gcc.target/powerpc/bfp/scalar-test-neg-5.c: Likewise.
+
+==================== work096, patch 5.
+
+Add IEEE 128-bit overload extract and insert built-in functions.
 
 This patch adds support for overloading the IEEE 128-bit extract and insert
 built-in functions bewteeen KFmode and TFmode arguments.
@@ -33,34 +97,6 @@ gcc/testsuite/
 	* gcc.target/powerpc/bfp/scalar-extract-sig-4.c: Likewise.
 	* gcc.target/powerpc/bfp/scalar-insert-exp-10.c: Likewise.
 
-==================== work096, patch 5.
-
-Add IEEE 128-bit overload comparison built-in functions.
-
-This patch adds support for overloading the IEEE 128-bit comparison built-in
-functions bewteeen KFmode and TFmode arguments.
-
-2022-08-01   Michael Meissner  <meissner@linux.ibm.com>
-
-gcc/
-
-	* config/rs6000/rs6000-builtins.def
-	(__builtin_vsx_scalar_cmp_exp_qp_eq_kf): Rename KFmode comparison
-	built-in functions to have a KF suffix to allow overloading.
-	(__builtin_vsx_scalar_cmp_exp_qp_gt_kf): Likewise.
-	(__builtin_vsx_scalar_cmp_exp_qp_lt_kf): Likewise.
-	(__builtin_vsx_scalar_cmp_exp_qp_unordered_kf): Likewise.
-	(__builtin_vsx_scalar_cmp_exp_qp_eq_tf): Add TFmode comparison built-in
-	functions.
-	(__builtin_vsx_scalar_cmp_exp_qp_gt_tf): Likewise.
-	(__builtin_vsx_scalar_cmp_exp_qp_lt_tf): Likewise.
-	(__builtin_vsx_scalar_cmp_exp_qp_unordered_tf): Likewise.
-	* config/rs6000/rs6000-overload.def (__builtin_vec_scalar_cmp_exp_eq):
-	Add TFmode overloaded functions.
-	(__builtin_vec_scalar_cmp_exp_gt): Likewise.
-	(__builtin_vec_scalar_cmp_exp_lt): Likewise.
-	(__builtin_vec_scalar_cmp_exp_unordered): Likewise.
-
 ==================== work096, patch 4.
 
 Add IEEE 128-bit overload comparison built-in functions.


             reply	other threads:[~2022-08-02  4:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-02  4:26 Michael Meissner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-04 22:50 Michael Meissner
2022-08-03 15:36 Michael Meissner
2022-08-03 15:14 Michael Meissner
2022-08-02 21:34 Michael Meissner
2022-08-02 19:35 Michael Meissner
2022-08-02 18:50 Michael Meissner
2022-08-02 18:00 Michael Meissner
2022-08-02  0:38 Michael Meissner
2022-08-01 22:12 Michael Meissner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220802042634.BB4F33856DC2@sourceware.org \
    --to=meissner@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).