* config/i386/sse.md (vec_interleave_lowv4sf,
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 May 2016 13:11:17 +0000 (15:11 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 May 2016 13:11:17 +0000 (15:11 +0200)
*vec_interleave_highv2df, *vec_interleave_lowv2df): Use
v instead of x in vex or maybe_vex alternatives, use
maybe_evex instead of vex in prefix.

From-SVN: r235967

gcc/ChangeLog
gcc/config/i386/sse.md

index fc97d2534d6e74d3ee07e0fc25cf5588a3f3ab97..10f98665d064b081e80574560007f8fc251501f1 100644 (file)
@@ -1,5 +1,10 @@
 2016-05-06  Jakub Jelinek  <jakub@redhat.com>
 
+       * config/i386/sse.md (vec_interleave_lowv4sf,
+       *vec_interleave_highv2df, *vec_interleave_lowv2df): Use
+       v instead of x in vex or maybe_vex alternatives, use
+       maybe_evex instead of vex in prefix.
+
        * config/i386/sse.md (sse_movhlps, sse_movlhps): Use
        v instead of x in vex or maybe_vex alternatives, use
        maybe_evex instead of vex in prefix.
index 86ce15ed3f2519596b305207c6be276887ca0dc1..e6c6096236d81883c761e3cd1d2248a2a81efdb3 100644 (file)
 })
 
 (define_insn "vec_interleave_lowv4sf"
-  [(set (match_operand:V4SF 0 "register_operand" "=x,x")
+  [(set (match_operand:V4SF 0 "register_operand" "=x,v")
        (vec_select:V4SF
          (vec_concat:V8SF
-           (match_operand:V4SF 1 "register_operand" "0,x")
-           (match_operand:V4SF 2 "vector_operand" "xBm,xm"))
+           (match_operand:V4SF 1 "register_operand" "0,v")
+           (match_operand:V4SF 2 "vector_operand" "xBm,vm"))
          (parallel [(const_int 0) (const_int 4)
                     (const_int 1) (const_int 5)])))]
   "TARGET_SSE"
    vunpcklps\t{%2, %1, %0|%0, %1, %2}"
   [(set_attr "isa" "noavx,avx")
    (set_attr "type" "sselog")
-   (set_attr "prefix" "orig,vex")
+   (set_attr "prefix" "orig,maybe_evex")
    (set_attr "mode" "V4SF")])
 
 ;; These are modeled with the same vec_concat as the others so that we
 })
 
 (define_insn "*vec_interleave_highv2df"
-  [(set (match_operand:V2DF 0 "nonimmediate_operand"     "=x,x,x,x,x,m")
+  [(set (match_operand:V2DF 0 "nonimmediate_operand"     "=x,v,v,x,v,m")
        (vec_select:V2DF
          (vec_concat:V4DF
-           (match_operand:V2DF 1 "nonimmediate_operand" " 0,x,o,o,o,x")
-           (match_operand:V2DF 2 "nonimmediate_operand" " x,x,1,0,x,0"))
+           (match_operand:V2DF 1 "nonimmediate_operand" " 0,v,o,o,o,v")
+           (match_operand:V2DF 2 "nonimmediate_operand" " x,v,1,0,v,0"))
          (parallel [(const_int 1)
                     (const_int 3)])))]
   "TARGET_SSE2 && ix86_vec_interleave_v2df_operator_ok (operands, 1)"
   [(set_attr "isa" "noavx,avx,sse3,noavx,avx,*")
    (set_attr "type" "sselog,sselog,sselog,ssemov,ssemov,ssemov")
    (set_attr "prefix_data16" "*,*,*,1,*,1")
-   (set_attr "prefix" "orig,vex,maybe_vex,orig,vex,maybe_vex")
+   (set_attr "prefix" "orig,maybe_evex,maybe_vex,orig,maybe_evex,maybe_vex")
    (set_attr "mode" "V2DF,V2DF,DF,V1DF,V1DF,V1DF")])
 
 (define_expand "avx512f_movddup512<mask_name>"
 })
 
 (define_insn "*vec_interleave_lowv2df"
-  [(set (match_operand:V2DF 0 "nonimmediate_operand"     "=x,x,x,x,x,o")
+  [(set (match_operand:V2DF 0 "nonimmediate_operand"     "=x,v,v,x,v,o")
        (vec_select:V2DF
          (vec_concat:V4DF
-           (match_operand:V2DF 1 "nonimmediate_operand" " 0,x,m,0,x,0")
-           (match_operand:V2DF 2 "nonimmediate_operand" " x,x,1,m,m,x"))
+           (match_operand:V2DF 1 "nonimmediate_operand" " 0,v,m,0,v,0")
+           (match_operand:V2DF 2 "nonimmediate_operand" " x,v,1,m,m,v"))
          (parallel [(const_int 0)
                     (const_int 2)])))]
   "TARGET_SSE2 && ix86_vec_interleave_v2df_operator_ok (operands, 0)"
   [(set_attr "isa" "noavx,avx,sse3,noavx,avx,*")
    (set_attr "type" "sselog,sselog,sselog,ssemov,ssemov,ssemov")
    (set_attr "prefix_data16" "*,*,*,1,*,1")
-   (set_attr "prefix" "orig,vex,maybe_vex,orig,vex,maybe_vex")
+   (set_attr "prefix" "orig,maybe_evex,maybe_vex,orig,maybe_evex,maybe_vex")
    (set_attr "mode" "V2DF,V2DF,DF,V1DF,V1DF,V1DF")])
 
 (define_split