From dcee55a29da429af962100d8f384770a945a98be Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 6 Dec 1999 18:45:23 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/sparc/sparc.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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)))