diff mbox series

[committed] hppa: Fix typos in 32-bit SFmode peephole2 patterns

Message ID Zzd0AkN-A-WIyD14@mx3210.local
State New
Headers show
Series [committed] hppa: Fix typos in 32-bit SFmode peephole2 patterns | expand

Commit Message

John David Anglin Nov. 15, 2024, 4:17 p.m. UTC
With this change, we can finally build ardour-8.10.0+ds.

Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11.  Committed
to gcc-13, gcc-14 and trunk.

Dave
---

hppa: Fix typos in 32-bit SFmode peephole2 patterns

2024-11-15  John David Anglin  <danglin@gcc.gnu.org>

gcc/ChangeLog:

	PR target/117564
	* config/pa/pa.md: Fix typos in 32-bit SFmode peephole2 patterns.
diff mbox series

Patch

diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index bf59b7f601e..921c0dc0a43 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -4596,7 +4596,7 @@ 
    && REGNO (operands[0]) != REGNO (operands[3])
    && REGNO (operands[1]) != REGNO (operands[3])
    && base14_operand (operands[2], E_SImode)"
-  [(set (match_dup 3) (mem:SF (plus:DI (match_dup 1) (match_dup 2))))
+  [(set (match_dup 3) (mem:SF (plus:SI (match_dup 1) (match_dup 2))))
    (set (match_dup 0) (plus:SI (match_dup 1) (match_dup 2)))]
   "")
 
@@ -4612,7 +4612,7 @@ 
    && GENERAL_REGNO_P (REGNO (operands[3]))
    && REGNO (operands[0]) == REGNO (operands[3])
    && base14_operand (operands[2], E_SImode)"
-  [(set (match_dup 3) (mem:SF (plus:DI (match_dup 1) (match_dup 2))))]
+  [(set (match_dup 3) (mem:SF (plus:SI (match_dup 1) (match_dup 2))))]
   "")
 
 (define_peephole2