Hello,
We've [at least] 2 patterns with wrong conditions.
Bootstrapped.
AVX-512 testsuite more complicated.
Few tests are fail, and it seems that not because of
the patch. I am trying to find guilty commit.
Failing this tests: avx512f-vpmovsxbd-2.c and
other *-extension insns.
gcc/
* config/i386/sse.md (avx512f_maskcmp<mode>3): Fix condition.
(avx512f_cvtdq2pd512_2): Ditto.
Ok to install?
--
Thanks, K
---
gcc/config/i386/sse.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index dfc98ba..59e82cb 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -2234,7 +2234,7 @@
(match_operator:<avx512fmaskmode> 3 "sse_comparison_operator"
[(match_operand:VF 1 "register_operand" "v")
(match_operand:VF 2 "nonimmediate_operand" "vm")]))]
- "TARGET_SSE"
+ "TARGET_AVX512F"
"vcmp%D3<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}"
[(set_attr "type" "ssecmp")
(set_attr "length_immediate" "1")
@@ -3937,7 +3937,7 @@
(const_int 2) (const_int 3)
(const_int 4) (const_int 5)
(const_int 6) (const_int 7)]))))]
- "TARGET_AVX"
+ "TARGET_AVX512F"
"vcvtdq2pd\t{%t1, %0|%0, %t1}"
[(set_attr "type" "ssecvt")
(set_attr "prefix" "evex")