Discussion:
[PATCH i386 AVX512] [67/n] Update constraints in vec_dup insn pattern.
Kirill Yukhin
2014-10-09 10:34:44 UTC
Permalink
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

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}
Uros Bizjak
2014-10-09 15:27:27 UTC
Permalink
Post by Kirill Yukhin
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.

Loading...