https://gcc.gnu.org/g:b2ef177e6e70f8be416ca3d67eaecd2381e443e5

commit b2ef177e6e70f8be416ca3d67eaecd2381e443e5
Author: Michael Meissner <[email protected]>
Date:   Mon Oct 27 22:03:35 2025 -0400

    Use TARGET_FLOAT16_HW as a condition instead of TARGET_P9_VECTOR.
    
    2025-10-27  Michael Meissner  <[email protected]>
    
    gcc/
    
            * config/rs6000/float16.md (xvcvsphp_v8hf): Use TARGET_FLOAT16_HW 
as a
            condition instead of TARGET_P9_VECTOR.

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 170e8a503d71..2cc5dd400086 100644
--- a/gcc/config/rs6000/float16.md
+++ b/gcc/config/rs6000/float16.md
@@ -1171,7 +1171,7 @@
   [(set (match_operand:V8HF 0 "vsx_register_operand" "=wa")
        (unspec:V8HF [(match_operand:V4SF 1 "vsx_register_operand" "wa")]
                     UNSPEC_XVCVSPHP_V8HF))]
-  "TARGET_P9_VECTOR"
+  "TARGET_FLOAT16_HW"
   "xvcvsphp %x0,%x1"
 [(set_attr "type" "vecfloat")])

Reply via email to