CryptoPkg: add implemention of _ftol2_sse() to avoid build error

Signed-off-by: Yi Li <yi1.li@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Brian J. Johnson <brian.johnson@hpe.com>
Tested-by: Kenneth Lautner <klautner@microsoft.com>
This commit is contained in:
Yi Li 2023-08-03 12:37:42 +08:00 committed by mergify[bot]
parent b2ff8e45db
commit 2bead79cfc
1 changed files with 12 additions and 0 deletions

View File

@ -23,3 +23,15 @@ _ftol2 (
ret
}
}
__declspec(naked) void
_ftol2_sse (
void
)
{
_asm {
fistp dword ptr [esp-4]
mov eax,[esp-4]
ret
}
}