diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-11-09 07:48:51 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-11-09 07:48:51 +0000 |
commit | f334ac19adfbfcbd9f12185d5b64bdf35b75f7f9 (patch) | |
tree | 54ae291b6c65932cc4aec79d94dd8b5c0c549f48 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 731bf9c5d61752bf63bf2d0eb11d7d63e9543a93 (diff) | |
download | llvm-f334ac19adfbfcbd9f12185d5b64bdf35b75f7f9.zip llvm-f334ac19adfbfcbd9f12185d5b64bdf35b75f7f9.tar.gz llvm-f334ac19adfbfcbd9f12185d5b64bdf35b75f7f9.tar.bz2 |
[AVX-512] Add lowering to cvttpd2udq/cvttps2udq for fptoui v2f64/2f32 to 2i32
This patch adds support for fptoui to 2i32 from both 2f64 and 2f32, building on Simon's change for the signed version in r284459 and using AVX-512 instructions.
If we don't have VLX support we need to use a 512-bit operation for v2f64->v2i32 and extract the result.
It also recognises that cvttpd2udq zeroes the upper 64-bits of the xmm result.
Differential Revision: https://reviews.llvm.org/D26331
llvm-svn: 286345
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions