From: Aldy Hernandez Date: Thu, 1 Aug 2002 21:18:34 +0000 (+0000) Subject: * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=170727320274e08e7ee320ee3bf68304799879d5;p=gcc.git * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff. From-SVN: r55948 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 13095a13add..9ffaab6ca60 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-01 Aldy Hernandez + + * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff. + 2002-08-01 Neil Booth * c-common.c (__GXX_ABI_VERSION): Correct spelling. diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 578f09d2cac..86e0917198a 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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 \