public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work068)] Disable XXSPLTIDP loading up integer constants.
@ 2021-09-14 23:12 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2021-09-14 23:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:26e78602d5944fcf74ca3c602890b1c49ca76196

commit 26e78602d5944fcf74ca3c602890b1c49ca76196
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Sep 14 19:12:30 2021 -0400

    Disable XXSPLTIDP loading up integer constants.
    
    2021-09-14  Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            * config/rs6000/predicates.md (easy_fp_constant_float_to_v2df):
            Disable XXSPLTIDP loading up integer constants.

Diff:
---
 gcc/config/rs6000/predicates.md | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md
index edd64eab1e6..0d43d688142 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -661,21 +661,15 @@
   const REAL_VALUE_TYPE *rv;
   REAL_VALUE_TYPE rv_type;
 
-  if (CONST_INT_P (element))
+  if (CONST_INT_P (element) && 0)
     {
       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] only message in thread

only message in thread, other threads:[~2021-09-14 23:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 23:12 [gcc(refs/users/meissner/heads/work068)] Disable XXSPLTIDP loading up integer constants 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).