https://gcc.gnu.org/g:2998c0eab60ce78d698d17287c0812a6513a6ae2

commit 2998c0eab60ce78d698d17287c0812a6513a6ae2
Author: Michael Meissner <[email protected]>
Date:   Fri Oct 24 17:13:55 2025 -0400

    Add early clobber.
    
    2025-10-24  Michael Meissner  <[email protected]>
    
    gcc/
    
            * config/rs6000/float16.md (extendbf<mode>): Add early clobber.
            (trunc<mode>bf2): Likewise.

Diff:
---
 gcc/config/rs6000/float16.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/config/rs6000/float16.md b/gcc/config/rs6000/float16.md
index b96a90a6b500..083700954040 100644
--- a/gcc/config/rs6000/float16.md
+++ b/gcc/config/rs6000/float16.md
@@ -302,8 +302,8 @@
   [(set (match_operand:SFDF 0 "vsx_register_operand" "=wa")
        (float_extend:SFDF
         (match_operand:BF 1 "vsx_register_operand" "v")))
-   (clobber (match_scratch:DI 2 "=v"))
-   (clobber (match_scratch:DI 3 "=v"))]
+   (clobber (match_scratch:DI 2 "=&v"))
+   (clobber (match_scratch:DI 3 "=&v"))]
   "TARGET_BFLOAT16_HW"
   "#"
   "&& 1"
@@ -368,8 +368,8 @@
   [(set (match_operand:BF 0 "vsx_register_operand" "=wa")
        (float_truncate:BF
         (match_operand:SFDF 1 "vsx_register_operand" "wa")))
-   (clobber (match_scratch:DI 2 "=v"))
-   (clobber (match_scratch:DI 3 "=v"))]
+   (clobber (match_scratch:DI 2 "=&v"))
+   (clobber (match_scratch:DI 3 "=&v"))]
   "TARGET_BFLOAT16_HW"
   "#"
   "&& 1"

Reply via email to