OSDN Git Service

Fix _mm_popcnt* intrinsics.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Dec 2009 22:22:54 +0000 (22:22 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Dec 2009 22:22:54 +0000 (22:22 +0000)
commitc3b3ca57149d1a46e3787c28234dd6dd740c455a
tree1c3bfabf43511e55a0a81aadfbb3cc05c1584835
parentc971711af7f20362941a55688f3ef6cddfb55d51
Fix _mm_popcnt* intrinsics.

* config.gcc (i[34567]86-*-*, x86_64-*-*): Add popcntintrin.h.
* config/i386/abmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
* config/i386/i386-c.c (__POPCNT__): Defined.
* config/i386/popcntintrin.h: ...here.  New file.
* config/i386/smmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
Include popcntintrin.h.
* config/i386/x86intrin.h: Include popcntintrin.h when __POPCNT__
is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155058 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc
gcc/config/i386/abmintrin.h
gcc/config/i386/i386-c.c
gcc/config/i386/popcntintrin.h [new file with mode: 0644]
gcc/config/i386/smmintrin.h
gcc/config/i386/x86intrin.h