mirror of https://github.com/acidanthera/audk.git
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:
parent
b2ff8e45db
commit
2bead79cfc
|
@ -23,3 +23,15 @@ _ftol2 (
|
|||
ret
|
||||
}
|
||||
}
|
||||
|
||||
__declspec(naked) void
|
||||
_ftol2_sse (
|
||||
void
|
||||
)
|
||||
{
|
||||
_asm {
|
||||
fistp dword ptr [esp-4]
|
||||
mov eax,[esp-4]
|
||||
ret
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue