[cfe-dev] Unexpected x86/AVX cmpXY builtin codegen
Syoyo Fujita
syoyofujita at gmail.com
Sun Mar 27 01:05:24 PDT 2011
Hello Chris,
>> 1) Rewrite cmpXY inline function as macro
>>
>> This is the easiest solution for clang, but might lose a compatibility
>> with avxintrin.h provided by other parties(e.g. gcc).
>
> This is the right answer. it is somewhat annoying, but much simpler and better than the alternatives. _mm_alignr_epi8 and other functions are already implemented this way.
Okay, I'll provide a patch with this style within few days.
More information about the cfe-dev
mailing list