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

Tracked-On: OAM-114372
Signed-off-by: Chen, Gang G <[email protected]>
  • Loading branch information
GangSecurity authored and sysopenci committed Jan 26, 2024
1 parent 74d48cb commit 7382952
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 7382952

Please sign in to comment.