From 2fcd559a9b8e9cc7b27ac005ccf49f3c52aec5cb Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 13 Dec 1996 01:00:49 +0000 Subject: Check SMALL_REGISTER_CLASSES at runtime git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13302 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/jump.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'gcc/jump.c') 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 -- cgit v1.2.1