diff mbox

[i386,COMMITTED] Fix PR69118.

Message ID 20160203135236.GA10761@msticlxl57.ims.intel.com
State New
Headers show

Commit Message

Kirill Yukhin Feb. 3, 2016, 1:52 p.m. UTC
Hello,
As proposed in PR69118 - fixed condition of compare pattern.

Bootstrapped, regtested & comitted to main trunk & gcc-5-branch.

gcc/
	PR target/69118
	* config/i386/sse.md (define_insn "avx512f_maskcmp<mode>3"):
	Fix target.

--
Thanks, K

commit 7fa978b9b80a6d50a81065755be81acc2923b0e2
Author: Kirill Yukhin <kirill.yukhin@intel.com>
Date:   Wed Feb 3 12:37:13 2016 +0300

    AVX512. Fix PR69118 - wrong target for compare pattern.
diff mbox

Patch

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 7f89679..045a85f 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -2788,7 +2788,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")