* [committed] hppa: Fix ICE caused by mismatched predicate and constraint in xmpyu patterns
@ 2024-06-30 14:10 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2024-06-30 14:10 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]
Fixes mismatched predicate and constraint in xmpyu patterns.
The xmpyu instruction doesn't support multiplying a 32-bit const_int
with a floating-point register. So, I just removed these patterns.
Tested on hppa-unknown-linux-gnu. Committed to trunk.
Dave
---
hppa: Fix ICE caused by mismatched predicate and constraint in xmpyu patterns
2024-06-30 John David Anglin <danglin@gcc.gnu.org>
gcc/ChangeLog:
PR target/115691
* config/pa/pa.md: Remove incorrect xmpyu patterns.
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index b0f29a44bae..9e410f43052 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -5503,24 +5503,6 @@
[(set_attr "type" "fpmuldbl")
(set_attr "length" "4")])
-(define_insn ""
- [(set (match_operand:DI 0 "register_operand" "=f")
- (mult:DI (zero_extend:DI (match_operand:SI 1 "register_operand" "f"))
- (match_operand:DI 2 "uint32_operand" "f")))]
- "TARGET_PA_11 && ! TARGET_SOFT_FLOAT && ! TARGET_SOFT_MULT && !TARGET_64BIT"
- "xmpyu %1,%R2,%0"
- [(set_attr "type" "fpmuldbl")
- (set_attr "length" "4")])
-
-(define_insn ""
- [(set (match_operand:DI 0 "register_operand" "=f")
- (mult:DI (zero_extend:DI (match_operand:SI 1 "register_operand" "f"))
- (match_operand:DI 2 "uint32_operand" "f")))]
- "TARGET_PA_11 && ! TARGET_SOFT_FLOAT && ! TARGET_SOFT_MULT && TARGET_64BIT"
- "xmpyu %1,%2R,%0"
- [(set_attr "type" "fpmuldbl")
- (set_attr "length" "4")])
-
(define_insn ""
[(set (reg:SI 29) (mult:SI (reg:SI 26) (reg:SI 25)))
(clobber (match_operand:SI 0 "register_operand" "=a"))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-30 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-30 14:10 [committed] hppa: Fix ICE caused by mismatched predicate and constraint in xmpyu patterns John David Anglin
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).