aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>1999-01-07 02:38:35 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>1999-01-07 02:38:35 +0000
commitf2b15118d6587d36ec489429c46986f5b86191df (patch)
tree9d4d733288f4aef873d726a83bb100e622be1aeb
parent08254bbd8798e13ab66867396065bac8f0a2e899 (diff)
downloadgcc-f2b15118d6587d36ec489429c46986f5b86191df.zip
gcc-f2b15118d6587d36ec489429c46986f5b86191df.tar.gz
gcc-f2b15118d6587d36ec489429c46986f5b86191df.tar.bz2
* config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
From-SVN: r24554
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/c4x/c4x.c15
2 files changed, 4 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0d190d5..b1c9ac2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jan 7 23:39:27 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
+
Thu Jan 7 00:29:25 199 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index a814c97..ef49bed 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -1100,21 +1100,6 @@ c4x_preferred_reload_class (x, class)
rtx x;
enum reg_class class;
{
- if (GET_CODE (x) == MEM && class > ADDR_REGS && class != INDEX_REGS)
- {
- x = XEXP (x, 0);
- if (GET_CODE (x) == PLUS)
- {
- rtx op0 = XEXP (x, 0);
- rtx op1 = XEXP (x, 1);
-
- if (REG_P (op0)
- && IS_ADDR_REGNO (op0)
- && GET_CODE (op1) == CONST_INT
- && !IS_DISP8_CONST (INTVAL (op1)))
- class = ADDR_REGS;
- }
- }
return class;
}