From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 414C37803D2 for ; Fri, 28 Jul 2023 06:42:07 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=BOkVYRmmmFC8A1tO3+l4pKNmHO4J+6r53mYHXQPbOhw=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-IronPort-AV:X-IronPort-AV:X-Received:X-ExtLoop1:X-IronPort-AV:X-IronPort-AV:X-Received:From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:X-Gm-Message-State:Content-Transfer-Encoding; s=20140610; t=1690526526; v=1; b=t9W+dE4qY12Y8EJDxPj6cdLvsmtPQkoxAWT3otKxsQYzvEI8nBG6QOYFSfV+8Bu6JZ3e2XSw MpdzO1lRKWDgpVxdyiFEo+yYR1pUtb0HDxF9aQqTR38QfqygtjqaULVkbovLrvXNQyj/E778/Zr Zg4ikm2ti1vUISuTU5yP5qIw= X-Received: by 127.0.0.2 with SMTP id pXBXYY7687511x0oCQEng060; Thu, 27 Jul 2023 23:42:06 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.27235.1690526518589081278 for ; Thu, 27 Jul 2023 23:41:58 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="434804386" X-IronPort-AV: E=Sophos;i="6.01,236,1684825200"; d="scan'208";a="434804386" X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 23:41:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="762496267" X-IronPort-AV: E=Sophos;i="6.01,236,1684825200"; d="scan'208";a="762496267" X-Received: from liyi4-desktop.ccr.corp.intel.com ([10.239.153.10]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 23:41:35 -0700 From: "Li, Yi" To: devel@edk2.groups.io Cc: Yi Li , Jiewen Yao , Xiaoyu Lu , Guomin Jiang Subject: [edk2-devel] [PATCH 24/29] CryptoPkg: add implemention of _ftol2_sse() to avoid build error Date: Fri, 28 Jul 2023 14:40:10 +0800 Message-Id: <6ec5591465961317a9b11283300c01d7b18f8310.1690444292.git.yi1.li@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,yi1.li@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: sMZOtCQYc6LcD83S0m1KLh4Gx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=t9W+dE4q; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Signed-off-by: Yi Li Cc: Jiewen Yao Cc: Xiaoyu Lu Cc: Guomin Jiang --- CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c b/CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c index 09000c6bec..adfe249b1d 100644 --- a/CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c +++ b/CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c @@ -23,3 +23,15 @@ _ftol2 ( ret } } + +__declspec(naked) void +_ftol2_sse ( + void + ) +{ + _asm { + fistp dword ptr [esp-4] + mov eax,[esp-4] + ret + } +} -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107364): https://edk2.groups.io/g/devel/message/107364 Mute This Topic: https://groups.io/mt/100406071/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-