summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-14 18:43:19 -0800
committerYamaArashi <shadow962@live.com>2016-02-14 18:43:19 -0800
commit7aeb8da2138f7521a78d377343b3a266e1e6f9d6 (patch)
tree8d1f73d3b850609a2152ce86719c68177558aef9 /gcc/jump.c
parent9e217b935f6df9afa8e8fbad9c5c6401b879e54a (diff)
remove delay slot and stack reg code
Diffstat (limited to 'gcc/jump.c')
-rwxr-xr-xgcc/jump.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 85452dd..55b6517 100755
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -2851,41 +2851,6 @@ find_cross_jump (e1, e2, minimum, f1, f2)
CALL_INSN_FUNCTION_USAGE (i2)))
lose = 1;
-#ifdef STACK_REGS
- /* If cross_jump_death_matters is not 0, the insn's mode
- indicates whether or not the insn contains any stack-like
- regs. */
-
- if (!lose && cross_jump_death_matters && GET_MODE (i1) == QImode)
- {
- /* If register stack conversion has already been done, then
- death notes must also be compared before it is certain that
- the two instruction streams match. */
-
- rtx note;
- HARD_REG_SET i1_regset, i2_regset;
-
- CLEAR_HARD_REG_SET (i1_regset);
- CLEAR_HARD_REG_SET (i2_regset);
-
- for (note = REG_NOTES (i1); note; note = XEXP (note, 1))
- if (REG_NOTE_KIND (note) == REG_DEAD
- && STACK_REG_P (XEXP (note, 0)))
- SET_HARD_REG_BIT (i1_regset, REGNO (XEXP (note, 0)));
-
- for (note = REG_NOTES (i2); note; note = XEXP (note, 1))
- if (REG_NOTE_KIND (note) == REG_DEAD
- && STACK_REG_P (XEXP (note, 0)))
- SET_HARD_REG_BIT (i2_regset, REGNO (XEXP (note, 0)));
-
- GO_IF_HARD_REG_EQUAL (i1_regset, i2_regset, done);
-
- lose = 1;
-
- done:
- ;
- }
-#endif
/* Don't allow old-style asm or volatile extended asms to be accepted
for cross jumping purposes. It is conceptually correct to allow