mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-27 06:44:12 +08:00
* config/sparc/sparc.c (input_operand): Properly test for short op.
From-SVN: r38588
This commit is contained in:
parent
fbd68e5da8
commit
4746e0fe78
@ -1,5 +1,7 @@
|
||||
Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* config/sparc/sparc.c (input_operand): Properly test for short op.
|
||||
|
||||
* config.gcc (sparc-*-elf): Include sparc/sol2.h.
|
||||
(sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
|
||||
(sparclite-*-elf*, sparc86x-*-elf*): Likewise.
|
||||
|
@ -1193,7 +1193,8 @@ input_operand (op, mode)
|
||||
(SPARC_SIMM13_P (CONST_DOUBLE_LOW (op))
|
||||
&& (((CONST_DOUBLE_LOW (op) & 0x80000000) == 0
|
||||
&& CONST_DOUBLE_HIGH (op) == 0)
|
||||
|| (CONST_DOUBLE_HIGH (op) == -1)))
|
||||
|| (CONST_DOUBLE_HIGH (op) == -1
|
||||
&& CONST_DOUBLE_LOW (op) & 0x80000000) != 0))
|
||||
#endif
|
||||
))))
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user