public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix minor bug on mn103 port
@ 2024-01-09 17:10 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2024-01-09 17:10 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]


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.

Jeff



[-- Attachment #2: P --]
[-- Type: text/plain, Size: 1111 bytes --]

commit 9aaed2c1d7e54cee6966c632ced80e643525fe89
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Tue Jan 9 10:07:09 2024 -0700

    [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.

diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md
index 939f20d5a58..80b07cc4b36 100644
--- a/gcc/config/mn10300/mn10300.md
+++ b/gcc/config/mn10300/mn10300.md
@@ -957,7 +957,9 @@ (define_insn_and_split "*subdi3_degenerate"
   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")

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-09 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-09 17:10 [committed] Fix minor bug on mn103 port Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).