From bfdc651abd28f3c76a4ef150dd87d5edc19902d7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 22 Mar 2019 13:58:09 +0100 Subject: [PATCH] * config/i386/sse.md (_fmadd__mask3, _fmsub__mask3, _fnmadd__mask3, _fnmsub__mask3, avx512f_vmfmadd__mask3, avx512f_vmfmsub__mask3, *avx512f_vmfnmadd__mask3): Use instead of register_operand and %v instead of v for match_operand 1. (avx512f_vmfnmsub__mask3): Rename to ... (*avx512f_vmfnmsub__mask3): ... this. Use instead of register_operand and %v instead of v for match_operand 1. From-SVN: r269870 --- gcc/ChangeLog | 17 +++++++++++++++-- gcc/config/i386/sse.md | 18 +++++++++--------- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e4fde8..9fa4bb9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,18 @@ 2019-03-22 Jakub Jelinek + * config/i386/sse.md (_fmadd__mask3, + _fmsub__mask3, + _fnmadd__mask3, + _fnmsub__mask3, + avx512f_vmfmadd__mask3, + avx512f_vmfmsub__mask3, + *avx512f_vmfnmadd__mask3): Use + instead of register_operand and %v instead of v for match_operand 1. + (avx512f_vmfnmsub__mask3): Rename to ... + (*avx512f_vmfnmsub__mask3): ... this. Use + instead of register_operand and %v instead of v + for match_operand 1. + * config/i386/sse.md (_fmadd__mask, _fmadd__mask3, _fmsub__mask, @@ -39,8 +52,8 @@ *avx512f_vmfnmadd__mask3, *avx512f_vmfnmadd__maskz_1, *avx512f_vmfnmsub__mask, - *avx512f_vmfnmsub__mask3, - *avx512f_vmfnmasub__maskz_1): New define_insns. + avx512f_vmfnmsub__mask3, + *avx512f_vmfnmsub__maskz_1): New define_insns. (avx512f_vmfmadd__maskz): New define_expand. * config/i386/avx512fintrin.h (_mm_mask_fmadd_sd, _mm_mask_fmadd_ss, _mm_mask3_fmadd_sd, _mm_mask3_fmadd_ss, _mm_maskz_fmadd_sd, diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index e74521a..6b8298d 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -3973,7 +3973,7 @@ [(set (match_operand:VF_AVX512VL 0 "register_operand" "=v") (vec_merge:VF_AVX512VL (fma:VF_AVX512VL - (match_operand:VF_AVX512VL 1 "register_operand" "v") + (match_operand:VF_AVX512VL 1 "" "%v") (match_operand:VF_AVX512VL 2 "" "") (match_operand:VF_AVX512VL 3 "register_operand" "0")) (match_dup 3) @@ -4094,7 +4094,7 @@ [(set (match_operand:VF_AVX512VL 0 "register_operand" "=v") (vec_merge:VF_AVX512VL (fma:VF_AVX512VL - (match_operand:VF_AVX512VL 1 "register_operand" "v") + (match_operand:VF_AVX512VL 1 "" "%v") (match_operand:VF_AVX512VL 2 "" "") (neg:VF_AVX512VL (match_operand:VF_AVX512VL 3 "register_operand" "0"))) @@ -4217,7 +4217,7 @@ (vec_merge:VF_AVX512VL (fma:VF_AVX512VL (neg:VF_AVX512VL - (match_operand:VF_AVX512VL 1 "register_operand" "v")) + (match_operand:VF_AVX512VL 1 "" "%v")) (match_operand:VF_AVX512VL 2 "" "") (match_operand:VF_AVX512VL 3 "register_operand" "0")) (match_dup 3) @@ -4345,7 +4345,7 @@ (vec_merge:VF_AVX512VL (fma:VF_AVX512VL (neg:VF_AVX512VL - (match_operand:VF_AVX512VL 1 "register_operand" "v")) + (match_operand:VF_AVX512VL 1 "" "%v")) (match_operand:VF_AVX512VL 2 "" "") (neg:VF_AVX512VL (match_operand:VF_AVX512VL 3 "register_operand" "0"))) @@ -4667,7 +4667,7 @@ (vec_merge:VF_128 (vec_merge:VF_128 (fma:VF_128 - (match_operand:VF_128 1 "register_operand" "v") + (match_operand:VF_128 1 "" "%v") (match_operand:VF_128 2 "" "") (match_operand:VF_128 3 "register_operand" "0")) (match_dup 3) @@ -4737,7 +4737,7 @@ (vec_merge:VF_128 (vec_merge:VF_128 (fma:VF_128 - (match_operand:VF_128 1 "register_operand" "v") + (match_operand:VF_128 1 "" "%v") (match_operand:VF_128 2 "" "") (neg:VF_128 (match_operand:VF_128 3 "register_operand" "0"))) @@ -4797,7 +4797,7 @@ (fma:VF_128 (neg:VF_128 (match_operand:VF_128 2 "" "")) - (match_operand:VF_128 1 "register_operand" "v") + (match_operand:VF_128 1 "" "%v") (match_operand:VF_128 3 "register_operand" "0")) (match_dup 3) (match_operand:QI 4 "register_operand" "Yk")) @@ -4849,14 +4849,14 @@ [(set_attr "type" "ssemuladd") (set_attr "mode" "")]) -(define_insn "avx512f_vmfnmsub__mask3" +(define_insn "*avx512f_vmfnmsub__mask3" [(set (match_operand:VF_128 0 "register_operand" "=v") (vec_merge:VF_128 (vec_merge:VF_128 (fma:VF_128 (neg:VF_128 (match_operand:VF_128 2 "" "")) - (match_operand:VF_128 1 "register_operand" "v") + (match_operand:VF_128 1 "" "%v") (neg:VF_128 (match_operand:VF_128 3 "register_operand" "0"))) (match_dup 3) -- 2.7.4