mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 19:19:24 +02:00
* Fixed building on x86_64 with 2.6.4, which generates unsigned division with sign-extended left for "(-qword) mod qword". Mantis #26336.
git-svn-id: trunk@27948 -
This commit is contained in:
parent
c6496f8ec5
commit
15bf176bc0
@ -389,7 +389,7 @@ uses
|
||||
{$push}
|
||||
{$warnings off }
|
||||
mask:=aWord(not 0) shr (64-N);
|
||||
nc:=(mask-(-d) mod d);
|
||||
nc:=(mask-(-d) mod aInt(d));
|
||||
{$pop}
|
||||
p:=N-1; { initialize p }
|
||||
q1:=two_N_minus_1 div nc; { initialize q1 = 2**p/nc }
|
||||
|
Loading…
Reference in New Issue
Block a user