This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Move the popcnt intrinsics to a separate file


On Fri, Dec 04, 2009 at 11:47:33AM -0600, Sebastian Pop wrote:
> In my opinion the _mm_popcnt_u* intrinsics should be removed from the
> smmintrin.h, as they do not deal with XMM registers, and they should
> be put separately in a popcount.h file, as I originally proposed, and
> then include that file in abmintrin.h and somewhere else than smmintrin.h
> for Intel processors.

If it isn't overkill for 2 small inlines to create popcount.h, then it works
for me.  Just it is probably too late not to include it from within
smmintrin.h, that header has been around for a while and people might be
expecting to see _mm_popcnt* there.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]