mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-13 02:16:59 +08:00
mips.c (mips_legitimate_address_p): Fix enable checking failure check for CONST_INT
* config/mips/mips.c (mips_legitimate_address_p): Fix enable checking failure check for CONST_INT From-SVN: r44708
This commit is contained in:
parent
5b57e28b23
commit
e550374314
@ -1,3 +1,8 @@
|
||||
2001-08-08 Graham Stott <grahams@redhat.com>
|
||||
|
||||
* config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
|
||||
failure check for CONST_INT
|
||||
|
||||
2001-08-08 Graham Stott <grahams@redhat.com>
|
||||
|
||||
* flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
|
||||
|
@ -1366,7 +1366,7 @@ mips_legitimate_address_p (mode, xinsn, strict)
|
||||
/* When assembling for machines with 64 bit registers,
|
||||
the assembler will not sign-extend the constant "foo"
|
||||
in "la x, foo(x)" */
|
||||
&& (!TARGET_64BIT || (INTVAL (xplus1) > 0))
|
||||
&& (!TARGET_64BIT || (code1 == CONST_INT && INTVAL (xplus1) > 0))
|
||||
&& !TARGET_MIPS16)
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user