summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-26 08:45:49 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-26 08:45:49 +0000
commit7199c05ca88fc59e8b8b266f1f2f2d9dc741b6e6 (patch)
treec3fe3819c397ae1d28ec2b9d142ab1adb54edfc9 /gcc/config/i386
parent76c786ac9aee314c1f31d29be4662a418f16ea5a (diff)
downloadgcc-7199c05ca88fc59e8b8b266f1f2f2d9dc741b6e6.tar.gz
* config/i386/sse.md (*vcvtps2ph_store<mask_name>): Use v constraint
instead of x constraint. (vcvtps2ph256<mask_name>): Likewise. * gcc.target/i386/avx512vl-vcvtps2ph-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236765 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/sse.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 93b65712aee..0d3dab62447 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -18335,7 +18335,7 @@
(define_insn "*vcvtps2ph_store<mask_name>"
[(set (match_operand:V4HI 0 "memory_operand" "=m")
- (unspec:V4HI [(match_operand:V4SF 1 "register_operand" "x")
+ (unspec:V4HI [(match_operand:V4SF 1 "register_operand" "v")
(match_operand:SI 2 "const_0_to_255_operand" "N")]
UNSPEC_VCVTPS2PH))]
"TARGET_F16C || TARGET_AVX512VL"
@@ -18345,8 +18345,8 @@
(set_attr "mode" "V4SF")])
(define_insn "vcvtps2ph256<mask_name>"
- [(set (match_operand:V8HI 0 "nonimmediate_operand" "=xm")
- (unspec:V8HI [(match_operand:V8SF 1 "register_operand" "x")
+ [(set (match_operand:V8HI 0 "nonimmediate_operand" "=vm")
+ (unspec:V8HI [(match_operand:V8SF 1 "register_operand" "v")
(match_operand:SI 2 "const_0_to_255_operand" "N")]
UNSPEC_VCVTPS2PH))]
"TARGET_F16C || TARGET_AVX512VL"