https://gcc.gnu.org/g:58d81383b4ad8026ac4e1c416bd90420213d9f35

commit 58d81383b4ad8026ac4e1c416bd90420213d9f35
Author: Michael Meissner <[email protected]>
Date:   Fri Dec 12 12:22:14 2025 -0500

    Correct loading up BFmode constants into GPRs.
    
    2025-12-12  Michael Meissner  <[email protected]>
    
    gcc/
    
            * config/rs6000/float16.md (mov<mode>_xxspltiw): Correct loading up
            BFmode constants into GPRs.

Diff:
---
 gcc/config/rs6000/float16.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/float16.md b/gcc/config/rs6000/float16.md
index c92107b5e093..afe2eb0abbff 100644
--- a/gcc/config/rs6000/float16.md
+++ b/gcc/config/rs6000/float16.md
@@ -115,7 +115,7 @@
   operands[2] = GEN_INT (real_words[0]);
   return (vsx_register_operand (operands[0], <MODE>mode)
          ? "xxspltiw %x0,%2"
-         : "pli %0,%2");
+         : "li %0,%2");
 }
   [(set_attr "type"     "veclogical, vecsimple, *,  *")
    (set_attr "prefixed" "no,         yes,       no, yes")])

Reply via email to