+2016-11-16 Maciej W. Rozycki <macro@imgtec.com>
+
+ * config/mips/mips.md (casesi_internal_mips16_<mode>): Add
+ missing <d> instruction prefixes throughout. Correct
+ formatting.
+
2016-11-16 Maciej W. Rozycki <macro@imgtec.com>
* config/mips/mips.c (mips_output_jump): Output R_MICROMIPS_JALR
{
case HImode:
output_asm_insn ("sll\t%5, %0, 1", operands);
- output_asm_insn ("la\t%4, %2", operands);
+ output_asm_insn ("<d>la\t%4, %2", operands);
output_asm_insn ("<d>addu\t%5, %4, %5", operands);
output_asm_insn ("lh\t%5, 0(%5)", operands);
break;
-
+
case SImode:
output_asm_insn ("sll\t%5, %0, 2", operands);
- output_asm_insn ("la\t%4, %2", operands);
+ output_asm_insn ("<d>la\t%4, %2", operands);
output_asm_insn ("<d>addu\t%5, %4, %5", operands);
output_asm_insn ("lw\t%5, 0(%5)", operands);
break;
default:
gcc_unreachable ();
}
-
- output_asm_insn ("addu\t%4, %4, %5", operands);
-
+
+ output_asm_insn ("<d>addu\t%4, %4, %5", operands);
+
return "j\t%4";
}
[(set_attr "insn_count" "16")])
+2016-11-16 Maciej W. Rozycki <macro@imgtec.com>
+
+ * gcc.target/mips/code-readable-4.c (dg-final): Expect `dla'
+ rather than `la'.
+
2016-11-16 Maciej W. Rozycki <macro@imgtec.com>
* gcc.target/mips/call-1.c (dg-options): Add `-mno-micromips'.
return k;
}
-/* { dg-final { scan-assembler "\tla\t" } } */
+/* { dg-final { scan-assembler "\tdla\t" } } */
/* { dg-final { scan-assembler "\t\\.half\t" } } */
/* { dg-final { scan-assembler-not "%hi\\(\[^)\]*L" } } */
/* { dg-final { scan-assembler-not "%lo\\(\[^)\]*L" } } */