public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work068)] Limit XXSPLTIDP for integer constants to 0x80000000.
@ 2021-09-14 17:04 Michael Meissner
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Meissner @ 2021-09-14 17:04 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6284a86c207cba2f5b819cdecc8ad2bf63f10e5c

commit 6284a86c207cba2f5b819cdecc8ad2bf63f10e5c
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Sep 14 13:04:14 2021 -0400

    Limit XXSPLTIDP for integer constants to 0x80000000.
    
    2021-09-14  Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            * config/rs6000/predicates.md (easy_fp_constant_float_to_v2df):
            Limit XXSPLTIDP for integer constants to 0x80000000.

Diff:
---
 gcc/config/rs6000/predicates.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md
index 635a08ec8d6..edd64eab1e6 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -666,10 +666,16 @@
       HOST_WIDE_INT df_value = INTVAL (element);
       long df_words[2];
 
+#if 0
       /* Stay away from NaNs and denormal values.  */
       int exponent = (df_value >> 52) & 0x7ff;
       if (exponent == 0 || exponent == 0x7ff)
 	return false;
+#else
+      /* For now, only handle -0.0.  */
+      if (df_value != 0x80000000)
+	return false;
+#endif
 
       df_words[0] = (df_value >> 32) & 0xffffffff;
       df_words[1] = df_value & 0xffffffff;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gcc(refs/users/meissner/heads/work068)] Limit XXSPLTIDP for integer constants to 0x80000000.
@ 2021-09-14 17:05 Michael Meissner
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Meissner @ 2021-09-14 17:05 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e06c8dd15d5f86b97923d9ec88b71fada5d47c08

commit e06c8dd15d5f86b97923d9ec88b71fada5d47c08
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Sep 14 13:05:00 2021 -0400

    Limit XXSPLTIDP for integer constants to 0x80000000.
    
    2021-09-14  Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            * config/rs6000/predicates.md (easy_fp_constant_float_to_v2df):
            Limit XXSPLTIDP for integer constants to 0x80000000.

Diff:
---
 gcc/ChangeLog.meissner | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner
index e5168c7c12a..9e7154ead93 100644
--- a/gcc/ChangeLog.meissner
+++ b/gcc/ChangeLog.meissner
@@ -1,3 +1,9 @@
+work068.patch004:
+2021-09-14  Michael Meissner  <meissner@linux.ibm.com>
+
+	* config/rs6000/predicates.md (easy_fp_constant_float_to_v2df):
+	Limit XXSPLTIDP for integer constants to 0x80000000.
+
 work068.patch003:
 2021-09-14  Michael Meissner  <meissner@linux.ibm.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-14 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 17:04 [gcc(refs/users/meissner/heads/work068)] Limit XXSPLTIDP for integer constants to 0x80000000 Michael Meissner
2021-09-14 17:05 Michael Meissner

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).