https://gcc.gnu.org/g:6e15e3420194c83968e9e14a2191c44aafe3b2df

commit r16-7858-g6e15e3420194c83968e9e14a2191c44aafe3b2df
Author: Jakub Jelinek <[email protected]>
Date:   Tue Mar 3 09:49:33 2026 +0100

    i386: Rename avx512fp16_mov<mode> to *avx512fp16_mov<mode>
    
    On Mon, Mar 02, 2026 at 08:04:53PM +0800, Hongtao Liu wrote:
    > You are correct. There is no place that calls
    > gen_avx512fp16_mov{v8hf,v8bf,v8hi}. The original patternā€˜s name is
    > avx512fp16_vmovsh which is added in r12-3407-g9e2a82e1f9d2c4, there's
    > also another pattern named *avx512fp16_movsh . At that time, the * was
    > added to distinguish between these two patterns.
    > And yes, we can add* to the pattern name.
    
    Here it is.
    
    2026-03-03  Jakub Jelinek  <[email protected]>
    
            * config/i386/sse.md (avx512fp16_mov<mode>): Rename pattern to...
            (*avx512fp16_mov<mode>): ... this.

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

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index abaeb1f2d346..1b55495e263f 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -12435,7 +12435,7 @@
   DONE;
 })
 
-(define_insn "avx512fp16_mov<mode>"
+(define_insn "*avx512fp16_mov<mode>"
   [(set (match_operand:V8_128 0 "register_operand" "=v,v")
        (vec_merge:V8_128
          (match_operand:V8_128 2 "register_operand" "v,v")

Reply via email to