aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongtao Liu <hongtao.liu@intel.com>2019-11-28 05:20:37 +0000
committerHongtao Liu <liuhongt@gcc.gnu.org>2019-11-28 05:20:37 +0000
commit9c9cb582fc11b0106be24a3d9f428558aeb7cf45 (patch)
tree48c9ebcde4bbd5b86db6463e10d074b263ba4238
parent349cf87f1066d2d5deb19ae6982a16c2838f315e (diff)
downloadgcc-9c9cb582fc11b0106be24a3d9f428558aeb7cf45.zip
gcc-9c9cb582fc11b0106be24a3d9f428558aeb7cf45.tar.gz
gcc-9c9cb582fc11b0106be24a3d9f428558aeb7cf45.tar.bz2
sse.md (avx512f_maskcmp<mode>3): Refine VF to VF_AVX512VL.
* gcc/config/i386/sse.md (avx512f_maskcmp<mode>3): Refine VF to VF_AVX512VL. From-SVN: r278799
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/sse.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 857c069..3061b9e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-28 Hongtao Liu <hongtao.liu@inte.com>
+
+ * gcc/config/i386/sse.md (avx512f_maskcmp<mode>3):
+ Refine VF to VF_AVX512VL.
+
2019-11-27 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/rs6000.md (movsi_internal): Reformat.
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 62c6805..fb43caf 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -3129,8 +3129,8 @@
(define_insn "avx512f_maskcmp<mode>3"
[(set (match_operand:<avx512fmaskmode> 0 "register_operand" "=k")
(match_operator:<avx512fmaskmode> 3 "sse_comparison_operator"
- [(match_operand:VF 1 "register_operand" "v")
- (match_operand:VF 2 "nonimmediate_operand" "vm")]))]
+ [(match_operand:VF_AVX512VL 1 "register_operand" "v")
+ (match_operand:VF_AVX512VL 2 "nonimmediate_operand" "vm")]))]
"TARGET_AVX512F"
"vcmp%D3<ssemodesuffix>\t{%2, %1, %0|%0, %1, %2}"
[(set_attr "type" "ssecmp")