OSDN Git Service

* config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Aug 2002 21:18:34 +0000 (21:18 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Aug 2002 21:18:34 +0000 (21:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55948 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 13095a1..9ffaab6 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 578f09d..86e0917 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                                                          \