aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorAlexander Ivchenko <alexander.ivchenko@intel.com>2014-10-16 05:41:51 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-10-16 05:41:51 +0000
commit2fa9ee8fe709332458ce086676c885d83c6ea7d2 (patch)
tree5bb82bbc5d524030f82a4d205ed00d43671606ab /gcc/config
parent5b8300ea26b41124950fabf8f7c69624d9657334 (diff)
downloadgcc-2fa9ee8fe709332458ce086676c885d83c6ea7d2.zip
gcc-2fa9ee8fe709332458ce086676c885d83c6ea7d2.tar.gz
gcc-2fa9ee8fe709332458ce086676c885d83c6ea7d2.tar.bz2
AVX-512. 76/n. Extend int 2 float conversions.
gcc/ * config/i386/sse.md (define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to support AVX-512VL instructions. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> From-SVN: r216297
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/sse.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index a6cf363..dcb53df 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -4014,6 +4014,14 @@
if (<MODE>mode == V16SFmode)
emit_insn (gen_ufloatv16siv16sf2 (operands[0], operands[1]));
else
+ if (TARGET_AVX512VL)
+ {
+ if (<MODE>mode == V4SFmode)
+ emit_insn (gen_ufloatv4siv4sf2 (operands[0], operands[1]));
+ else
+ emit_insn (gen_ufloatv8siv8sf2 (operands[0], operands[1]));
+ }
+ else
ix86_expand_vector_convert_uns_vsivsf (operands[0], operands[1]);
DONE;