sparc.c (input_operand): Allow HImode and QImode valid sethi operations when TARGET_ARCH64.

* config/sparc/sparc.c (input_operand): Allow HImode and QImode
	valid sethi operations when TARGET_ARCH64.

From-SVN: r30803
This commit is contained in:
Jakub Jelinek 1999-12-06 18:45:23 +01:00 committed by David S. Miller
parent 4de0633f4d
commit dcee55a29d
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,9 @@
* longlong.h: Fix clobbers in SPARC asm statements.
* config/sparc/sparc.c (input_operand): Allow HImode and QImode
valid sethi operations when TARGET_ARCH64.
Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* fold-const.c (optimize_bit_field_compare): Only use one mode

View File

@ -1079,7 +1079,9 @@ input_operand (op, mode)
&& ((SPARC_SETHI_P (INTVAL (op))
&& (! TARGET_ARCH64
|| (INTVAL (op) >= 0)
|| mode == SImode))
|| mode == SImode
|| mode == HImode
|| mode == QImode))
|| SPARC_SIMM13_P (INTVAL (op))
|| (mode == DImode
&& ! TARGET_ARCH64)))