Skip to content

Commit

Permalink
Use default division method instead of ASM
Browse files Browse the repository at this point in the history
The ASM code is not working correctly, change to default method

Ori-Tracked-On: OAM-117140
Tracked-On: OAM-118547
Signed-off-by: Chen, Gang G <[email protected]>
  • Loading branch information
GangSecurity authored and sysopenci committed May 15, 2024
1 parent be624f7 commit fb05ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnu-efi-3.0/lib/ia32/math.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ DivU64x32 (
// divide 64bit by 32bit and get a 64bit result
// N.B. only works for 31bit divisors!!
{
#if 0 && defined(__GNUC__) && !defined(__MINGW32__)
#if 1 && defined(__GNUC__) && !defined(__MINGW32__)
if (Remainder)
*Remainder = Dividend % Divisor;
return Dividend / Divisor;
Expand Down

0 comments on commit fb05ed2

Please sign in to comment.