mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:29:24 +02:00
* fix bootstrapping wtih 3.2.2 and -Cpcoreavx2
This commit is contained in:
parent
9f60628e5b
commit
64c21bb88b
@ -149,7 +149,11 @@ end;
|
||||
function TORDINALHELPER.SetBitsCount: byte;
|
||||
begin
|
||||
{$ifdef TORDINALTYPESIZE1}
|
||||
{$ifdef VER3_2_2}
|
||||
Result := PopCnt(Word(byte(Self)));
|
||||
{$else VER3_2_2}
|
||||
Result := PopCnt(byte(Self));
|
||||
{$endif VER3_2_2}
|
||||
{$else}
|
||||
{$ifdef TORDINALTYPESIZE2}
|
||||
Result := PopCnt(word(Self));
|
||||
|
Loading…
Reference in New Issue
Block a user