Commit dcee55a2 by Jakub Jelinek Committed by David S. Miller

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
parent 4de0633f
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
* longlong.h: Fix clobbers in SPARC asm statements. * 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> 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 * fold-const.c (optimize_bit_field_compare): Only use one mode
......
...@@ -1079,7 +1079,9 @@ input_operand (op, mode) ...@@ -1079,7 +1079,9 @@ input_operand (op, mode)
&& ((SPARC_SETHI_P (INTVAL (op)) && ((SPARC_SETHI_P (INTVAL (op))
&& (! TARGET_ARCH64 && (! TARGET_ARCH64
|| (INTVAL (op) >= 0) || (INTVAL (op) >= 0)
|| mode == SImode)) || mode == SImode
|| mode == HImode
|| mode == QImode))
|| SPARC_SIMM13_P (INTVAL (op)) || SPARC_SIMM13_P (INTVAL (op))
|| (mode == DImode || (mode == DImode
&& ! TARGET_ARCH64))) && ! TARGET_ARCH64)))
......
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