* config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
authorAldy Hernandez <aldyh@redhat.com>
Thu, 1 Aug 2002 21:18:34 +0000 (21:18 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Thu, 1 Aug 2002 21:18:34 +0000 (21:18 +0000)
From-SVN: r55948

gcc/ChangeLog
gcc/config/rs6000/rs6000.h

index 13095a13add0409921dc652c4e9fe6a15b58bebd..9ffaab6ca6007834d402cbe235586b2b829c03a6 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
+
 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
 
        * c-common.c (__GXX_ABI_VERSION): Correct spelling.
index 578f09d2caca5a29ca75efa8f6f130dd0a8c5bd1..86e0917198ab12ffdca91abc45ad0e95d27fe0eb 100644 (file)
@@ -2029,8 +2029,8 @@ typedef struct rs6000_args
 
 #define TOC_RELATIVE_EXPR_P(X) (toc_relative_expr_p (X))
 
-/* SPE offset addressing is limited to 5-bits.  */
-#define SPE_CONST_OFFSET_OK(x) (((x) & ~0x1f) == 0)
+/* SPE offset addressing is limited to 5-bits worth of double words.  */
+#define SPE_CONST_OFFSET_OK(x) (((x) & ~0xff) == 0)
 
 #define LEGITIMATE_CONSTANT_POOL_ADDRESS_P(X)                          \
   (TARGET_TOC                                                          \