mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg: Use FINIT instead of hex values
https://bugzilla.tianocore.org/show_bug.cgi?id=560 Update X64 NASM file to match IA32 NASM file and use FINIT instruction instead of hand assembled hex values for the FINIT instruction. Cc: Jeff Fan <jeff.fan@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
parent
5b78f30d81
commit
b9dbc03e5a
|
@ -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]
|
||||
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue