소스 검색

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 -
masta 12 년 전
부모
커밋
dad4079e0c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/inc/softfpu.pp

+ 1 - 1
rtl/inc/softfpu.pp

@@ -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;