https://gcc.gnu.org/g:6a347d0be07d965058aca34332b699eaabcbbe15
commit 6a347d0be07d965058aca34332b699eaabcbbe15 Author: Michael Meissner <[email protected]> Date: Tue Oct 7 20:58:11 2025 -0400 Allow -mfloat16 and -mbfloat16 on power8 2025-10-07 Michael Meissner <[email protected]> gcc/ * config/rs6000/float16.md (mov<mode>_internal): Require -mcpu=power9 to generate lxsihzx, stxsihx, and xxspltib. Diff: --- gcc/config/rs6000/float16.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/config/rs6000/float16.md b/gcc/config/rs6000/float16.md index 43ee9e701d88..7e06df76b05e 100644 --- a/gcc/config/rs6000/float16.md +++ b/gcc/config/rs6000/float16.md @@ -127,7 +127,9 @@ xxspltib %x0,0 li %0,0" [(set_attr "type" "vecsimple, fpload, fpstore, *, load, - store, mtvsr, mfvsr, vecsimple, *")]) + store, mtvsr, mfvsr, vecsimple, *") + (set_attr "isa" "*, p9v, p9v, *, *, + *, p8v, p8v, p9v, *")]) ;; Convert IEEE 16-bit floating point to/from other floating point modes.
