[cfe-commits] [PATCH] Change cmp_XY x86/AVX builtin definition from static inline to macro in avxintrin.h

Syoyo Fujita syoyofujita at gmail.com
Mon Mar 28 01:15:52 PDT 2011


Current implementation uses static inline definition for cmp_XY AVX
instruction.
With this clang cannot emit immediate value for 3rd argument where
immediate value is requested.

This patch fixes the problem so that clang's codegen correctly emit
immediate value for 3rd argument.

More details are described here.

http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/014269.html

--
Syoyo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-cmp_XY-x86-AVX-builtin-definition-in-avxintri.patch
Type: application/octet-stream
Size: 4508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110328/a25ecb45/attachment.obj>


More information about the cfe-commits mailing list