diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-12-13 01:00:49 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-12-13 01:00:49 +0000 |
commit | 2fcd559a9b8e9cc7b27ac005ccf49f3c52aec5cb (patch) | |
tree | caede46b00bcf364b560a6857aad030dd987eaad /gcc/jump.c | |
parent | 06fcb3a02dba8835283faf8b67085796f8faf891 (diff) | |
download | ppe42-gcc-2fcd559a9b8e9cc7b27ac005ccf49f3c52aec5cb.tar.gz ppe42-gcc-2fcd559a9b8e9cc7b27ac005ccf49f3c52aec5cb.zip |
Check SMALL_REGISTER_CLASSES at runtime
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13302 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gcc/jump.c b/gcc/jump.c index 839421f5a0f..5353c58fdcc 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -761,7 +761,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && (temp4 = single_set (temp3)) != 0 && GET_CODE (temp1 = SET_DEST (temp4)) == REG #ifdef SMALL_REGISTER_CLASSES - && REGNO (temp1) >= FIRST_PSEUDO_REGISTER + && (! SMALL_REGISTER_CLASSES + || REGNO (temp1) >= FIRST_PSEUDO_REGISTER) #endif && (temp2 = next_active_insn (insn)) != 0 && GET_CODE (temp2) == INSN @@ -898,7 +899,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && (temp4 = single_set (temp2)) != 0 && GET_CODE (temp1 = SET_DEST (temp4)) == REG #ifdef SMALL_REGISTER_CLASSES - && REGNO (temp1) >= FIRST_PSEUDO_REGISTER + && (! SMALL_REGISTER_CLASSES + || REGNO (temp1) >= FIRST_PSEUDO_REGISTER) #endif && (temp3 = prev_active_insn (insn)) != 0 @@ -987,7 +989,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && (temp2 = SET_DEST (temp1), GET_CODE (temp2) == REG) && GET_MODE_CLASS (GET_MODE (temp2)) == MODE_INT #ifdef SMALL_REGISTER_CLASSES - && REGNO (temp2) >= FIRST_PSEUDO_REGISTER + && (! SMALL_REGISTER_CLASSES + || REGNO (temp2) >= FIRST_PSEUDO_REGISTER) #endif && GET_CODE (SET_SRC (temp1)) != REG && GET_CODE (SET_SRC (temp1)) != SUBREG @@ -1029,7 +1032,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && (temp2 = SET_DEST (temp1), GET_CODE (temp2) == REG) && GET_MODE_CLASS (GET_MODE (temp2)) == MODE_INT #ifdef SMALL_REGISTER_CLASSES - && REGNO (temp2) >= FIRST_PSEUDO_REGISTER + && (! SMALL_REGISTER_CLASSES + || REGNO (temp2) >= FIRST_PSEUDO_REGISTER) #endif && ! side_effects_p (SET_SRC (temp1)) && ! may_trap_p (SET_SRC (temp1)) @@ -1090,7 +1094,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && (temp2 = SET_DEST (temp4), GET_CODE (temp2) == REG) && GET_MODE_CLASS (GET_MODE (temp2)) == MODE_INT #ifdef SMALL_REGISTER_CLASSES - && REGNO (temp2) >= FIRST_PSEUDO_REGISTER + && (! SMALL_REGISTER_CLASSES + || REGNO (temp2) >= FIRST_PSEUDO_REGISTER) #endif && rtx_equal_p (SET_DEST (temp4), temp2) && ! side_effects_p (SET_SRC (temp4)) @@ -1143,7 +1148,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && GET_CODE (PATTERN (temp)) == SET && GET_CODE (temp1 = SET_DEST (PATTERN (temp))) == REG #ifdef SMALL_REGISTER_CLASSES - && REGNO (temp1) >= FIRST_PSEUDO_REGISTER + && (! SMALL_REGISTER_CLASSES + || REGNO (temp1) >= FIRST_PSEUDO_REGISTER) #endif && (GET_CODE (temp2 = SET_SRC (PATTERN (temp))) == REG || GET_CODE (temp2) == SUBREG |