[gcc(refs/users/meissner/heads/work231-float)] Correct loading up BFmode constants into GPRs.
Michael Meissner
meissner@gcc.gnu.org
Fri Dec 12 17:22:34 GMT 2025
https://gcc.gnu.org/g:58d81383b4ad8026ac4e1c416bd90420213d9f35
commit 58d81383b4ad8026ac4e1c416bd90420213d9f35
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Fri Dec 12 12:22:14 2025 -0500
Correct loading up BFmode constants into GPRs.
2025-12-12 Michael Meissner <meissner@linux.ibm.com>
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")])
More information about the Gcc-cvs
mailing list