diff options
author | Alexander Ivchenko <alexander.ivchenko@intel.com> | 2014-10-16 05:41:51 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2014-10-16 05:41:51 +0000 |
commit | 2fa9ee8fe709332458ce086676c885d83c6ea7d2 (patch) | |
tree | 5bb82bbc5d524030f82a4d205ed00d43671606ab /gcc | |
parent | 5b8300ea26b41124950fabf8f7c69624d9657334 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/config/i386/sse.md | 8 |
2 files changed, 21 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a936c01..349b303 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2014-10-16 Alexander Ivchenko <alexander.ivchenko@intel.com> + Maxim Kuznetsov <maxim.kuznetsov@intel.com> + Anna Tikhonova <anna.tikhonova@intel.com> + Ilya Tocar <ilya.tocar@intel.com> + Andrey Turetskiy <andrey.turetskiy@intel.com> + Ilya Verbin <ilya.verbin@intel.com> + Kirill Yukhin <kirill.yukhin@intel.com> + Michael Zolotukhin <michael.v.zolotukhin@intel.com> + + * config/i386/sse.md + (define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to + support AVX-512VL instructions. + 2014-10-16 DJ Delorie <dj@redhat.com> * tree-core.h: Fix comment to not assume pointers are multiples of 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; |