aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authormacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-18 16:46:52 +0000
committermacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-18 16:46:52 +0000
commitbd6ecb591764b64a21f2132b0747cdd1da618fb4 (patch)
treeb5a851d25be9903bba682925ae00e8b7aac296d8 /gcc/config/mips
parent3e53d708451dc48336940b2c4c6c1c5ab4179d81 (diff)
* gcc/config/mips/mips.md (*jump_absolute): Use a branch when in
range, a jump otherwise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217727 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index 647bf853c22..6781a008806 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -5955,14 +5955,12 @@
(label_ref (match_operand 0)))]
"!TARGET_MIPS16 && TARGET_ABSOLUTE_JUMPS"
{
- /* Use a branch for microMIPS. The assembler will choose
- a 16-bit branch, a 32-bit branch, or a 32-bit jump. */
- if (TARGET_MICROMIPS && !TARGET_ABICALLS_PIC2)
+ if (get_attr_length (insn) <= 8)
return "%*b\t%l0%/";
else
return MIPS_ABSOLUTE_JUMP ("%*j\t%l0%/");
}
- [(set_attr "type" "jump")])
+ [(set_attr "type" "branch")])
(define_insn "*jump_pic"
[(set (pc)