This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add -mcrc32
On Wed, Jun 10, 2009 at 7:55 AM, Uros Bizjak<ubizjak@gmail.com> wrote:
> On 06/10/2009 01:18 PM, H.J. Lu wrote:
>
>> Linux kernel is compiled with -mno-sse. It wants crc32 integer
>> instructions
>> without enabling SSE4. ?OK for trunk?
>>
>
> Hm, don't they use asm directly? IIRC, kernel people hate __builtin_X stuff.
>
Gcc generates better codes with built-in functions than asm. See:
__builtin_unreachable:
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00317.html
is another example.
--
H.J.