diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-06-30 20:57:21 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-06-30 20:57:21 +0000 |
commit | ec4a505ff54c848fd4d71c7d121482c65e7b5ce7 (patch) | |
tree | 94872a118d6391a231578638be484845e405fcb0 /gcc/expmed.c | |
parent | 20fceb31cd7e622b5a4d575249858da92d1fd79b (diff) | |
download | gcc-ec4a505ff54c848fd4d71c7d121482c65e7b5ce7.zip gcc-ec4a505ff54c848fd4d71c7d121482c65e7b5ce7.tar.gz gcc-ec4a505ff54c848fd4d71c7d121482c65e7b5ce7.tar.bz2 |
target-insns.def (jump): New targetm instruction pattern.
gcc/
* target-insns.def (jump): New targetm instruction pattern.
* bb-reorder.c (get_uncond_jump_length): Use targetm.gen_jump
instead of gen_jump.
(fix_up_crossing_landing_pad): Likewise.
(add_labels_and_missing_jumps): Likewise.
(fix_crossing_conditional_branches): Likewise.
* cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
(force_nonfallthru_and_redirect): Likewise.
* cse.c (cse_insn): Likewise.
* expmed.c (expand_divmod): Likewise.
* expr.c (store_expr_with_bounds, expand_expr_real_2): Likewise.
* haifa-sched.c (init_before_recovery): Likewise.
(sched_create_recovery_edges): Likewise.
* ifcvt.c (find_cond_trap): Likewise.
* optabs.c (expand_doubleword_shift, expand_doubleword_clz): Likewise.
(expand_float, expand_fix): Likewise.
* stmt.c (emit_jump): Likewise.
From-SVN: r225211
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 3f74908..69c48a6 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -4539,11 +4539,11 @@ expand_divmod (int rem_flag, enum tree_code code, machine_mode mode, quotient, 0, OPTAB_LIB_WIDEN); if (tem != quotient) emit_move_insn (quotient, tem); - emit_jump_insn (gen_jump (label5)); + emit_jump_insn (targetm.gen_jump (label5)); emit_barrier (); emit_label (label1); expand_inc (adjusted_op0, const1_rtx); - emit_jump_insn (gen_jump (label4)); + emit_jump_insn (targetm.gen_jump (label4)); emit_barrier (); emit_label (label2); do_cmp_and_jump (adjusted_op0, const0_rtx, GT, compute_mode, label3); @@ -4551,7 +4551,7 @@ expand_divmod (int rem_flag, enum tree_code code, machine_mode mode, quotient, 0, OPTAB_LIB_WIDEN); if (tem != quotient) emit_move_insn (quotient, tem); - emit_jump_insn (gen_jump (label5)); + emit_jump_insn (targetm.gen_jump (label5)); emit_barrier (); emit_label (label3); expand_dec (adjusted_op0, const1_rtx); @@ -4645,7 +4645,7 @@ expand_divmod (int rem_flag, enum tree_code code, machine_mode mode, do_cmp_and_jump (adjusted_op0, const0_rtx, NE, compute_mode, label1); emit_move_insn (quotient, const0_rtx); - emit_jump_insn (gen_jump (label2)); + emit_jump_insn (targetm.gen_jump (label2)); emit_barrier (); emit_label (label1); expand_dec (adjusted_op0, const1_rtx); @@ -4753,11 +4753,11 @@ expand_divmod (int rem_flag, enum tree_code code, machine_mode mode, quotient, 0, OPTAB_LIB_WIDEN); if (tem != quotient) emit_move_insn (quotient, tem); - emit_jump_insn (gen_jump (label5)); + emit_jump_insn (targetm.gen_jump (label5)); emit_barrier (); emit_label (label1); expand_dec (adjusted_op0, const1_rtx); - emit_jump_insn (gen_jump (label4)); + emit_jump_insn (targetm.gen_jump (label4)); emit_barrier (); emit_label (label2); do_cmp_and_jump (adjusted_op0, const0_rtx, LT, @@ -4766,7 +4766,7 @@ expand_divmod (int rem_flag, enum tree_code code, machine_mode mode, quotient, 0, OPTAB_LIB_WIDEN); if (tem != quotient) emit_move_insn (quotient, tem); - emit_jump_insn (gen_jump (label5)); + emit_jump_insn (targetm.gen_jump (label5)); emit_barrier (); emit_label (label3); expand_inc (adjusted_op0, const1_rtx); |