aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-05-12 10:34:38 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-05-12 10:34:38 +0200
commit0247b635c78d12fbc335f7df19bf383ef50c7ba5 (patch)
tree766197e69dd441728b60416023e0ebe903fb18e8 /gcc
parentc05d08f6fadfa78b0aad8f8ffa5a8504b44a9467 (diff)
downloadgcc-0247b635c78d12fbc335f7df19bf383ef50c7ba5.zip
gcc-0247b635c78d12fbc335f7df19bf383ef50c7ba5.tar.gz
gcc-0247b635c78d12fbc335f7df19bf383ef50c7ba5.tar.bz2
sse.md (sse2_loadld): Use v instead of x constraint in alternatives 0,1,4.
* config/i386/sse.md (sse2_loadld): Use v instead of x constraint in alternatives 0,1,4. From-SVN: r236166
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/i386/sse.md8
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4dbae25..b22d3cf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2016-05-12 Jakub Jelinek <jakub@redhat.com>
+ * config/i386/sse.md (sse2_loadld): Use v instead of x
+ constraint in alternatives 0,1,4.
+
* config/i386/sse.md (pinsr_evex_isa): New mode attr.
(<sse2p4_1>_pinsr<ssemodesuffix>): Add 2 alternatives with
v constraints instead of x and <pinsr_evex_isa> isa attribute.
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 82562ba..11df955 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -13013,11 +13013,11 @@
"operands[2] = CONST0_RTX (V4SImode);")
(define_insn "sse2_loadld"
- [(set (match_operand:V4SI 0 "register_operand" "=x,Yi,x,x,x")
+ [(set (match_operand:V4SI 0 "register_operand" "=v,Yi,x,x,v")
(vec_merge:V4SI
(vec_duplicate:V4SI
- (match_operand:SI 2 "nonimmediate_operand" "m ,r ,m,x,x"))
- (match_operand:V4SI 1 "reg_or_0_operand" "C ,C ,C,0,x")
+ (match_operand:SI 2 "nonimmediate_operand" "m ,r ,m,x,v"))
+ (match_operand:V4SI 1 "reg_or_0_operand" "C ,C ,C,0,v")
(const_int 1)))]
"TARGET_SSE"
"@
@@ -13028,7 +13028,7 @@
vmovss\t{%2, %1, %0|%0, %1, %2}"
[(set_attr "isa" "sse2,sse2,noavx,noavx,avx")
(set_attr "type" "ssemov")
- (set_attr "prefix" "maybe_vex,maybe_vex,orig,orig,vex")
+ (set_attr "prefix" "maybe_vex,maybe_vex,orig,orig,maybe_evex")
(set_attr "mode" "TI,TI,V4SF,SF,SF")])
;; QI and HI modes handled by pextr patterns.