[patch] Move the popcnt intrinsics to a separate file

Richard Henderson rth@redhat.com
Mon Nov 30 22:08:00 GMT 2009


On 11/30/2009 09:44 AM, Sebastian Pop wrote:
>> But GCC has fallback implementations in libgcc.
>>
>
> Could you point me to which file implements these fallbacks?  I cannot
> find it with grep.

gcc/libgcc2.c, of course.

> An alternative to this patch would be to define the _mm_popcnt_u32 and
> _mm_popcnt_u64 intrinsics in abmintrin.h.  Would that be acceptable?

Yes.


r~



More information about the Gcc-patches mailing list