From: Jakub Jelinek Date: Mon, 6 Dec 1999 17:45:23 +0000 (+0100) Subject: sparc.c (input_operand): Allow HImode and QImode valid sethi operations when TARGET_A... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcee55a29da429af962100d8f384770a945a98be;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cd606d127ad..4880f039b09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * fold-const.c (optimize_bit_field_compare): Only use one mode diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 516b4aae144..fad2420695f 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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)))