Update SoftFallback.cs
This commit is contained in:
parent
b825844a65
commit
00e4d868b7
1 changed files with 3 additions and 3 deletions
|
@ -207,13 +207,13 @@ namespace ChocolArm64.Instructions
|
|||
return 0UL;
|
||||
}
|
||||
|
||||
long roundConst = 1L << (shift - 1);
|
||||
ulong roundConst = 1UL << (shift - 1);
|
||||
|
||||
ulong add = value + (ulong)roundConst;
|
||||
ulong add = value + roundConst;
|
||||
|
||||
if (eSize == 64)
|
||||
{
|
||||
if ((add < value) && (add < (ulong)roundConst))
|
||||
if ((add < value) && (add < roundConst))
|
||||
{
|
||||
if (shift == 64)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue