Commit 73af680e by Maciej W. Rozycki Committed by Maciej W. Rozycki

mips.md (*jump_absolute): Use a branch when in range, a jump otherwise.

	* gcc/config/mips/mips.md (*jump_absolute): Use a branch when in
	range, a jump otherwise.

From-SVN: r217727
parent 699aa7d0
2014-11-18 Maciej W. Rozycki <macro@codesourcery.com>
* gcc/config/mips/mips.md (*jump_absolute): Use a branch when in
range, a jump otherwise.
2014-11-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/cortex-a15-neon.md (cortex_a15_vfp_to_from_gp):
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment