* config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.
From-SVN: r81189
This commit is contained in:
parent
72fcb5d12b
commit
3657dc3e38
@ -1,3 +1,7 @@
|
||||
2004-04-26 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.
|
||||
|
||||
2004-04-26 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.
|
||||
|
@ -3104,8 +3104,9 @@ arm_legitimate_index_p (enum machine_mode mode, rtx index, RTX_CODE outer,
|
||||
|
||||
if (TARGET_REALLY_IWMMXT && VALID_IWMMXT_REG_MODE (mode))
|
||||
return (code == CONST_INT
|
||||
&& INTVAL (index) < 256
|
||||
&& INTVAL (index) > -256);
|
||||
&& INTVAL (index) < 1024
|
||||
&& INTVAL (index) > -1024
|
||||
&& (INTVAL (index) & 3) == 0);
|
||||
|
||||
if (GET_MODE_SIZE (mode) <= 4
|
||||
&& ! (arm_arch4
|
||||
|
Loading…
Reference in New Issue
Block a user