From 86973faa319a56d489d7ff0927682b5c232b6114 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Mon, 30 Nov 2009 06:28:42 +0000 Subject: [PATCH] Update x64 version of InitializeFpu.asm to use raw op-codes instead of 'finit' so that some early version of MS assemblers can support. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9496 6f19259b-4bc3-4df7-8a09-765794883524 --- UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm b/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm index 34c6de6f53..5098124a9c 100644 --- a/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm +++ b/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm @@ -41,7 +41,10 @@ InitializeFloatingPointUnits PROC PUBLIC ; ; Initialize floating point units ; - finit + ; The following opcodes stand for instruction 'finit' + ; to be supported by some 64-bit assemblers + ; + DB 9Bh, 0DBh, 0E3h fldcw mFpuControlWord ;