]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hppa: Fix typos in 32-bit SFmode peephole2 patterns
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 15 Nov 2024 16:05:58 +0000 (11:05 -0500)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 15 Nov 2024 16:05:58 +0000 (11:05 -0500)
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.

gcc/config/pa/pa.md

index f3c6262230d8c9abefe5e9863135dfb357d675aa..dd1267e04a5a0da0c171193411543fb548026f6b 100644 (file)
    && 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)))]
   "")
 
    && 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