Skip to content

Commit

Permalink
fix Issue 21182 - asm code is missing int ptr and so defaults to byte op
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Aug 21, 2020
1 parent f06c92f commit b01c263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/internal/math/biguintx86.d
Expand Up @@ -1169,7 +1169,7 @@ outer_loop:
mov EBX, [ESP + LASTPARAM + 4*0]; // src.length
mov EBP, 0;
mov ECX, 0; // ECX = input carry.
dec [ESP + LASTPARAM + 4*0]; // Next time, the length will be shorter by 1.
dec int ptr [ESP + LASTPARAM + 4*0]; // Next time, the length will be shorter by 1.
neg EBX; // count UP to zero.

mov EAX, [ESI + 4*EBX - 4*1]; // get new M
Expand Down

0 comments on commit b01c263

Please sign in to comment.