From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 555BF21F0DA4E for ; Mon, 5 Feb 2018 20:33:27 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2018 20:39:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,467,1511856000"; d="scan'208";a="171982425" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 05 Feb 2018 20:39:08 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 20:39:08 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 20:39:08 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.125]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Tue, 6 Feb 2018 12:39:06 +0800 From: "Gao, Liming" To: "Tiger Liu(BJ-RD)" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [EDK2] How to use compiler intrinsic function, such as :mmintrin.h Thread-Index: AdOeYCCSJoQz160TT06WOOrpdqj7OAAo49Mw Date: Tue, 6 Feb 2018 04:39:06 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1C7CE9@SHSMSX104.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: How to use compiler intrinsic function, such as :mmintrin.h X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 04:33:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 VGlnZXI6DQogIFllcy4gRURLMiBkb2Vzbid0IHN1cHBvcnQgdGhlIGludHJpbnNpYyBmdW5jdGlv bi4gQmVjYXVzZSBlZGsyIGNvbXBpbGVkIEVGSSBpbWFnZSBydW4gaW4gdGFyZ2V0IG1hY2hpbmUg aW5zdGVhZCBvZiBPUywgdGhleSBjYW4ndCBsaW5rIFZTIHN5c3RlbSBsaWJyYXJpZXMuIA0KDQog IEFuZCwgRURLMiBkb2Vzbid0IHN1cHBvcnQgdG8gc3BlY2lmeSB0aGUgaW5jbHVkZSBwYXRoIGlu IEJ1aWxkT3B0aW9ucy4gSWYgeW91IHdhbnQgdG8gdXNlIEVESzIgYnVpbGQgc3lzdGVtIHRvIGNv bXBpbGUgRVhFIGZpbGUgdGhhdCBydW4gaW4gT1MsIHN1Y2ggYXMgU2VjTWFpbiwgeW91IGNhbiBj b21waWxlIGl0IHdpdGggc3lzdGVtIGhlYWRlciBmaWxlIGFuZCBsaWJyYXJ5LiBUaGUgc3lzdGVt IGhlYWRlciBmaWxlIGluY2x1ZGUgcGF0aCBpcyBzZXQgaW4gRU5WIGluY2x1ZGUuIElmIHlvdSB0 eXBlIHNldCBpbmNsdWRlLCB5b3Ugd2lsbCBzZSBpdHMgdmFsdWUuIA0KDQpUaGFua3MNCkxpbWlu Zw0KPi0tLS0tT3JpZ2luYWwgTWVzc2F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