[gcc(refs/users/meissner/heads/work068)] Disable XXSPLTIDP loading up integer constants.

Michael Meissner meissner@gcc.gnu.org
Tue Sep 14 23:12:48 GMT 2021


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;


More information about the Gcc-cvs mailing list