* popcnt has a separate cpuid flag so we should separate it from sse

git-svn-id: trunk@26789 -
This commit is contained in:
florian 2014-02-16 08:27:24 +00:00
parent 711c533573
commit 84f7f5f934

View File

@ -234,7 +234,7 @@ implementation
function tx86inlinenode.first_popcnt: tnode;
begin
Result:=nil;
if (current_settings.fputype<fpu_sse42)
if not(CPUX86_HAS_POPCNT in cpu_capabilities[current_settings.cputype])
{$ifdef i386}
or is_64bit(left.resultdef)
{$endif i386}