Commit e5503743 by Graham Stott Committed by Graham Stott

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
parent 5b57e28b
2001-08-08 Graham Stott <grahams@redhat.com> 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. * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
(libcall_dead_p): Likewise. (libcall_dead_p): Likewise.
......
...@@ -1366,7 +1366,7 @@ mips_legitimate_address_p (mode, xinsn, strict) ...@@ -1366,7 +1366,7 @@ mips_legitimate_address_p (mode, xinsn, strict)
/* When assembling for machines with 64 bit registers, /* When assembling for machines with 64 bit registers,
the assembler will not sign-extend the constant "foo" the assembler will not sign-extend the constant "foo"
in "la x, foo(x)" */ in "la x, foo(x)" */
&& (!TARGET_64BIT || (INTVAL (xplus1) > 0)) && (!TARGET_64BIT || (code1 == CONST_INT && INTVAL (xplus1) > 0))
&& !TARGET_MIPS16) && !TARGET_MIPS16)
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment