]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[committed] Fix minor bug on mn103 port
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 9 Jan 2024 17:07:09 +0000 (10:07 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 9 Jan 2024 17:07:09 +0000 (10:07 -0700)
Richard Sandiford debugged a failure on the mn103 port with his late-combine
patches down to the subdi3 pattern not specifying the isa on alternatives which
required newer variants of the chip family.

This patch adds the missing isa attribute and the port now works with his
late-combine patch.  I'm pushing this to the trunk on his behalf.

gcc/
* config/mn10300/mn10300.md (subdi3_degenerate): Add isa attribute.

gcc/config/mn10300/mn10300.md

index 939f20d5a58322ab22ca19c894d12d2435878e09..80b07cc4b3608281238e5be1cd09e7628a67c34c 100644 (file)
   if (scratch)
     emit_move_insn (operands[0], scratch);
   DONE;
-})
+}
+  [(set_attr "isa" "*,am33")])
+
 
 (define_insn_and_split "negsi2"
   [(set (match_operand:SI         0 "register_operand"  "=D,&r")