mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:19:24 +02:00
Fix shift128Right in rtl/inc/softfpu.pp
The old code would always return 0 if the shiftamount was more than 63. git-svn-id: trunk@25291 -
This commit is contained in:
parent
e4f84b0f5d
commit
dad4079e0c
@ -762,7 +762,7 @@ begin
|
||||
end
|
||||
else
|
||||
begin
|
||||
if ( count < 64 ) then
|
||||
if ( count < 128 ) then
|
||||
z1 := a0 shr ( count and 63 )
|
||||
else
|
||||
z1 := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user