[PATCH][RFC] Add PRFCHW support

Michael Liao michael.liao at intel.com
Mon Mar 25 17:24:49 PDT 2013


Hi All

AVX2 adds PREFETCHW insn (the same insn in 3DNow! as well). The attached
two patches add its support in LLVM/clang.

'0001-Add-PREFETCHW-codegen-support.patch' adds DAG pattern to help
generate PREFETCHW from LLVM prefetch intrinsic when either PRFCHW or
3DNOW is available.

'0001-Add-PRFCHW-support.patch' adds '-mprfchw' option, '__PRFCHW__'
predefined macro, and prfchwintrin.h header which is included when
either 3DNow! or PRFCHW is available.

Thanks for review
- Michael

--
[1] http://software.intel.com/sites/default/files/319433-014.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-PREFETCHW-codegen-support.patch
Type: text/x-patch
Size: 5688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130325/fc573064/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-PRFCHW-support.patch
Type: text/x-patch
Size: 7918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130325/fc573064/attachment-0001.bin>


More information about the cfe-commits mailing list