mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
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
|
; Initialize floating point units
|
||||||
;
|
;
|
||||||
; The following opcodes stand for instruction 'finit'
|
finit
|
||||||
; to be supported by some 64-bit assemblers
|
|
||||||
;
|
|
||||||
DB 0x9B, 0xDB, 0xE3
|
|
||||||
fldcw [mFpuControlWord]
|
fldcw [mFpuControlWord]
|
||||||
|
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user