[PATCH] New SSE intrinsic tests

Cameron McInally cameron.mcinally at nyu.edu
Wed Oct 23 21:10:40 PDT 2013


Hey guys,

Please find six patches attached for testing out the SSE intrinsics.
Each patch covers one of SSE, SSE2, SSE3, SSSE3, SSE41, and SSE42.

There is very little new art here. These tests were copied from
llvm/test/CodeGen/X86/avx-intrinsics-x86.ll. The only changes were to
the -mattr and -mcpu options, and removing the "v" prefix from the
instructions in the CHECK statements. Also, the AES intrinsics from
avx-intrinsics-x86.ll are not relevant to SSE tests, so those are not
included in the new tests.

Special note should be taken for the RUN statements. I have selected
"-march=x86 -mattr=-avx,+sseXXX" for the corresponding files. I
believe that this should be sufficient for testing purposes, but I am
not positive it is enough to ensure these tests will not run on an
incompatible machine.

Also, I do not have commit access to the repo.

Thanks,
Cameron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sse-intrinsics.patch
Type: application/octet-stream
Size: 10816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/852db1f3/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sse2-intrinsics.patch
Type: application/octet-stream
Size: 26320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/852db1f3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sse3-intrinsics.patch
Type: application/octet-stream
Size: 2604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/852db1f3/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sse41-intrinsics.patch
Type: application/octet-stream
Size: 12663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/852db1f3/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sse42-intrinsics.patch
Type: application/octet-stream
Size: 6702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/852db1f3/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssse3-intrinsics.patch
Type: application/octet-stream
Size: 5038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/852db1f3/attachment-0005.obj>


More information about the llvm-commits mailing list