[PATCH][X86] Split VALIGN out of X86ISD::PALINGR. Add masking VALINGD/Q

Adam Nemet anemet at apple.com
Mon Aug 4 12:12:37 PDT 2014


Hi,

I marked this patch X86 rather AVX512 because while its main purpose is to enable masking with valignd/q it also changes a bit how PALIGNR is handled.  I also had to increase X86_MAX_OPERANDS from 5 to 6 which is also an X86-wide change.

The flow of the patchset is essentially to do some refactoring on the related TD part to make the rest of the patches simpler, then split the DAG nodes PALINGR and VALIGN, then add the masking support along with the intrinsics.

See the individual patch files for more detailed explanation.

Please let me know if it looks good.  The clang counterpart to add the intrinsic header piece is ready to go to the CFE list.

Adam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Wrap-long-lines.patch
Type: application/octet-stream
Size: 1793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/39e213f5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-AVX512-Pull-everything-alignr-related-into-the-multi.patch
Type: application/octet-stream
Size: 3168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/39e213f5/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-AVX512-alignr-Use-suffix-rather-than-name-argument-t.patch
Type: application/octet-stream
Size: 2339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/39e213f5/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-X86-Separate-DAG-node-for-valign-and-palignr.patch
Type: application/octet-stream
Size: 2498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/39e213f5/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-X86-Add-lowering-to-VALIGN.patch
Type: application/octet-stream
Size: 8015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/39e213f5/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-X86-Increase-X86_MAX_OPERANDS-from-5-to-6.patch
Type: application/octet-stream
Size: 1451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/39e213f5/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-AVX512-Add-masking-variant-and-intrinsics-for-valign.patch
Type: application/octet-stream
Size: 7030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140804/39e213f5/attachment-0006.obj>


More information about the llvm-commits mailing list