diff options
-rw-r--r-- | Core/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Core/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm b/Core/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm index 404c199b35..d94a60f13e 100644 --- a/Core/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm +++ b/Core/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm @@ -41,10 +41,7 @@ ASM_PFX(InitializeFloatingPointUnits): ;
; Initialize floating point units
;
- ; The following opcodes stand for instruction 'finit'
- ; to be supported by some 64-bit assemblers
- ;
- DB 0x9B, 0xDB, 0xE3
+ finit
fldcw [mFpuControlWord]
;
|