gcc/
* config/mips/mips.c (mips_emit_save_slot_move): Fix typo.
gcc/testsuite/
* gcc.target/mips/interrupt_handler-5.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225820
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-07-15 Robert Suchanek <robert.suchanek@imgtec.com>
+
+ * config/mips/mips.c (mips_emit_save_slot_move): Fix typo.
+
2015-07-15 Matthew Fortune <matthew.fortune@imgtec.com>
Robert Suchanek <robert.suchanek@imgtec.com>
{
mips_emit_move (temp, src);
if (TARGET_64BIT)
- emit_insn (gen_mthisi_di (gen_rtx_REG (TImode, MD_REG_FIRST),
+ emit_insn (gen_mthidi_ti (gen_rtx_REG (TImode, MD_REG_FIRST),
temp, gen_rtx_REG (DImode, LO_REGNUM)));
else
emit_insn (gen_mthisi_di (gen_rtx_REG (DImode, MD_REG_FIRST),
+2015-07-15 Robert Suchanek <robert.suchanek@imgtec.com>
+
+ * gcc.target/mips/interrupt_handler-5.c: New test.
+
2015-07-15 Matthew Fortune <matthew.fortune@imgtec.com>
Robert Suchanek <robert.suchanek@imgtec.com>
--- /dev/null
+/* Test the interrupt handler with an accumulator. */
+/* { dg-do assemble } */
+/* { dg-options "-mips64r2" } */
+_Accum a;
+__attribute__((interrupt))
+void foo () {
+ a = a*a;
+}