aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-01-09 10:07:09 -0700
committerJeff Law <jlaw@ventanamicro.com>2024-01-09 10:07:09 -0700
commit9aaed2c1d7e54cee6966c632ced80e643525fe89 (patch)
tree11c190a634cb9418ab9139e8100b9f8490438804
parent27194610d269d28f1800592e9c1fd39c2b51b809 (diff)
downloadgcc-9aaed2c1d7e54cee6966c632ced80e643525fe89.zip
gcc-9aaed2c1d7e54cee6966c632ced80e643525fe89.tar.gz
gcc-9aaed2c1d7e54cee6966c632ced80e643525fe89.tar.bz2
[committed] Fix minor bug on mn103 port
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.
-rw-r--r--gcc/config/mn10300/mn10300.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md
index 939f20d..80b07cc 100644
--- a/gcc/config/mn10300/mn10300.md
+++ b/gcc/config/mn10300/mn10300.md
@@ -957,7 +957,9 @@
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")