diff mbox

[i386,AVX512,67/n] Update constraints in vec_dup insn pattern.

Message ID 20141009103442.GC25028@msticlxl57.ims.intel.com
State New
Headers show

Commit Message

Kirill Yukhin Oct. 9, 2014, 10:34 a.m. UTC
Hello,
This tiny patch updates constraints in vec_dup insn
pattern.

Bootstrapped.
AVX-512* tests on top of patch-set all pass
under simulator.

Is it ok for trunk?

gcc/
	* config/i386/sse.md
	(define_insn "vec_dup<mode>"): Update constraints.

--
Thanks, K

Comments

Uros Bizjak Oct. 9, 2014, 3:27 p.m. UTC | #1
On Thu, Oct 9, 2014 at 12:34 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> This tiny patch updates constraints in vec_dup insn
> pattern.
>
> Bootstrapped.
> AVX-512* tests on top of patch-set all pass
> under simulator.
>
> Is it ok for trunk?
>
> gcc/
>         * config/i386/sse.md
>         (define_insn "vec_dup<mode>"): Update constraints.

OK.

Thanks,
Uros.
diff mbox

Patch

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 79b6012..f88d3d0 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -16448,9 +16448,9 @@ 
   [V8SI V8SF V4DI V4DF])
 
 (define_insn "vec_dup<mode>"
-  [(set (match_operand:AVX_VEC_DUP_MODE 0 "register_operand" "=x,x,x")
+  [(set (match_operand:AVX_VEC_DUP_MODE 0 "register_operand" "=x,v,x")
 	(vec_duplicate:AVX_VEC_DUP_MODE
-	  (match_operand:<ssescalarmode> 1 "nonimmediate_operand" "m,x,?x")))]
+	  (match_operand:<ssescalarmode> 1 "nonimmediate_operand" "m,v,?x")))]
   "TARGET_AVX"
   "@
    vbroadcast<ssescalarmodesuffix>\t{%1, %0|%0, %1}