aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i860
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-15 02:13:58 +0000
committerRichard Stallman <rms@gnu.org>1993-11-15 02:13:58 +0000
commit6fa497223b20e5efc373182658423ad092755f78 (patch)
tree9af3079a6f1319c76291d17de591f94b9ff60ca9 /gcc/config/i860
parent116c9aab44ca6baa493e7bbbdb6231e3d795523d (diff)
downloadgcc-6fa497223b20e5efc373182658423ad092755f78.zip
gcc-6fa497223b20e5efc373182658423ad092755f78.tar.gz
gcc-6fa497223b20e5efc373182658423ad092755f78.tar.bz2
(SECONDARY_INPUT_RELOAD_CLASS):
Moving any kind of integer cst to float reg needs intermediate. From-SVN: r6094
Diffstat (limited to 'gcc/config/i860')
-rw-r--r--gcc/config/i860/i860.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h
index 628066e..73d70c4 100644
--- a/gcc/config/i860/i860.h
+++ b/gcc/config/i860/i860.h
@@ -379,7 +379,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FP_REGS, ALL_REGS, LIM_REG_CLASSES };
returned. */
#define SECONDARY_INPUT_RELOAD_CLASS(CLASS,MODE,IN) \
- ((CLASS) == FP_REGS && GET_CODE (IN) == CONST_INT ? GENERAL_REGS : NO_REGS)
+ ((CLASS) == FP_REGS && CONSTANT_P (IN) ? GENERAL_REGS : NO_REGS)
/* Return the maximum number of consecutive registers
needed to represent mode MODE in a register of class CLASS. */