From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=180.169.121.91; helo=zxshcas1.zhaoxin.com; envelope-from=tigerliu@zhaoxin.com; receiver=edk2-devel@lists.01.org Received: from ZXSHCAS1.zhaoxin.com (unknown [180.169.121.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 339AE21F0DA41 for ; Mon, 5 Feb 2018 20:51:24 -0800 (PST) Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHCAS1.zhaoxin.com (10.28.252.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Tue, 6 Feb 2018 12:57:01 +0800 Received: from zxbjmbx3.zhaoxin.com (10.29.252.165) by zxbjmbx1.zhaoxin.com (10.29.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Tue, 6 Feb 2018 12:57:00 +0800 Received: from zxbjmbx3.zhaoxin.com ([fe80::57b:6f00:3193:d8a6]) by zxbjmbx3.zhaoxin.com ([fe80::57b:6f00:3193:d8a6%8]) with mapi id 15.01.1261.035; Tue, 6 Feb 2018 12:57:00 +0800 From: "Tiger Liu(BJ-RD)" To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [EDK2] How to use compiler intrinsic function, such as :mmintrin.h Thread-Index: AdOfBq93JoQz160TT06WOOrpdqj7OA== Date: Tue, 6 Feb 2018 04:57:00 +0000 Message-ID: <66939e06329e4309baa513094d9268f8@zhaoxin.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.29.8.4] 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:51:25 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SGksIExpbWluZzoNClRoYW5rcyBmb3IgeW91ciByZXBseS4NCkkgdHJpZWQgdG8gY29tcGlsZSBh IFVFRkkgc2hlbGwgYXBwbGljYXRpb24uDQpBbmQgdGhpcyBhcHAgd291bGQgY2FsbCBmdW5jdGlv bnMgcHJvdmlkZWQgaW4gbW1pbnRyaW4uaA0KDQpTbywgSSBtZXQgdGhpcyB0cm91YmxlLg0KDQpU aGFua3MNCg0KQmVzdCB3aXNoZXMsDQotLS0tLdPKvP7Urbz+LS0tLS0NCreivP7IyzogR2FvLCBM aW1pbmcgW21haWx0bzpsaW1pbmcuZ2FvQGludGVsLmNvbV0NCreiy83KsbzkOiAyMDE4xOoy1MI2 yNUgMTI6MzkNCsrVvP7IyzogVGlnZXIgTGl1KEJKLVJEKSA8VGlnZXJMaXVAemhhb3hpbi5jb20+ OyBlZGsyLWRldmVsQGxpc3RzLjAxLm9yZw0K1vfM4jogUkU6IFtlZGsyXSBbRURLMl0gSG93IHRv IHVzZSBjb21waWxlciBpbnRyaW5zaWMgZnVuY3Rpb24sIHN1Y2ggYXMgOm1taW50cmluLmgNCg0K VGlnZXI6DQogIFllcy4gRURLMiBkb2Vzbid0IHN1cHBvcnQgdGhlIGludHJpbnNpYyBmdW5jdGlv bi4gQmVjYXVzZSBlZGsyIGNvbXBpbGVkIEVGSSBpbWFnZSBydW4gaW4gdGFyZ2V0IG1hY2hpbmUg aW5zdGVhZCBvZiBPUywgdGhleSBjYW4ndCBsaW5rIFZTIHN5c3RlbSBsaWJyYXJpZXMuDQoNCiAg QW5kLCBFREsyIGRvZXNuJ3Qgc3VwcG9ydCB0byBzcGVjaWZ5IHRoZSBpbmNsdWRlIHBhdGggaW4g QnVpbGRPcHRpb25z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