[PATCH] R600/SI: Add intrinsic for class instructions

Matt Arsenault arsenm2 at gmail.com
Sun Dec 21 16:42:37 PST 2014


Hi,

These add an intrinsic and basic combines for instructions for FP classify functions, and also match the simplest patterns to it. A generic intrinsic would be better, since some of the others that are not handled are pretty complicated to match and that could also be emitted from the corresponding __builtins.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-Add-class-intrinsic.patch
Type: application/octet-stream
Size: 24990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141221/d07fca24/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-SI-Add-basic-DAG-combines-for-fp_class.patch
Type: application/octet-stream
Size: 10297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141221/d07fca24/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-Pattern-match-isinf-to-v_cmp_class-instructi.patch
Type: application/octet-stream
Size: 4719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141221/d07fca24/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-isInfinity-helper-to-ConstantFPSDNode.patch
Type: application/octet-stream
Size: 1036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141221/d07fca24/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Add-isNegative-helper-to-ConstantFPSDNode.patch
Type: application/octet-stream
Size: 1054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141221/d07fca24/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-R600-SI-Add-combine-for-isinfinite-pattern.patch
Type: application/octet-stream
Size: 7329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141221/d07fca24/attachment-0005.obj>


More information about the llvm-commits mailing list