From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-bn3nam04olkn082f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe4e::82f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4415621951CB5 for ; Tue, 2 May 2017 06:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vJh5GMunwqVPZZiunkkWfN1dlH6ZFK9HeXDBCcP32lQ=; b=Kn5kf/+dl7YahUexxS9LTs3VUn1LKBajzOFeWSLzIgwhAKF1IIj1eGMjgokBVeOXA44h/RcxIXm3JAwbD1r0OC3W63xJN1SdYTt5W2wan2aybWQBvrMaJ8y2aSfRFgYoiNAcT7TtAlvui8yRa8BE6yjFlIEdddfs07kxkZAdFCCGvdiDchOPWYHsWtWQ7Jil94boPBaZJGGrjK69FTiVRmCXu2mhu8aoRBht+BJSPus3sIef0/WIJfV/1otEZXGbV7ndOsu99/7NuLs3Z59GPler6A08uvdM8ArEMoHYAsLqkCnjOyVfstmOhryRuqssONhtej/h3VS5n7o2iplg6A== Received: from BN3NAM04FT039.eop-NAM04.prod.protection.outlook.com (10.152.92.55) by BN3NAM04HT215.eop-NAM04.prod.protection.outlook.com (10.152.93.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9; Tue, 2 May 2017 13:57:02 +0000 Received: from MWHPR11MB1822.namprd11.prod.outlook.com (10.152.92.52) by BN3NAM04FT039.mail.protection.outlook.com (10.152.93.3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.9 via Frontend Transport; Tue, 2 May 2017 13:57:01 +0000 Received: from MWHPR11MB1822.namprd11.prod.outlook.com ([10.175.53.137]) by MWHPR11MB1822.namprd11.prod.outlook.com ([10.175.53.137]) with mapi id 15.01.1075.010; Tue, 2 May 2017 13:57:02 +0000 From: Amit kumar To: "edk2-devel@lists.01.org" Thread-Topic: [edk2] Accessing AVX/AVX2 instruction in UEFI. Thread-Index: AQHSw0qX9MUsqxRWIUKTkXopggIH/A== Date: Tue, 2 May 2017 13:57:01 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:BA16D4CF160222034F5FAEC630C306BECDE5E457D70E10E7288A45491D9B11E8; UpperCasedChecksum:3829198AF53C20667E63B07311C589A624004435D6ECA956A631007E2CDD7754; SizeAsReceived:8048; Count:43 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [LOzZpX7o96GXm7Ea0ogOw9q0Q2KnOpxh] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN3NAM04HT215; 5:HwoUtYtQWGKW+aHVHV8L4S9fkAvWWuyDNrwY0bCJkK+NfgZPtXSKbyHFvwzgeAuxL3TLI25Uhy1UG0JZw4pzr8gTsuyatgr7ZstLyyxMsB80/hNliO31shbxIRDzqm4wg3cebapYIEjVZP+op4SrdeBN4MWcK+xI61EEeWpn1Ic=; 24:qz8hvT4xuyCktVz2rYzJeMl6NB4j7+1lrL9EGeZI8jubPjAVyGWbkQDkHHc30COiRqTBp9CQF+jbhkTj6C+bz4QFzR+5fojntknmm9v33I8=; 7:filXCyX1XpHrqWdNpz4crEd3tUwG5jlrCCRY9Wlv8lANhXTCiA3ZQKW2aZrdo+1jl3/H/GYUzuhgsaJOoCldyQbZ41iosx+PTQm76iRt+3aLdUAH1AlWEZO7abrDikiS25uqPQXJi1SXKEpNG6lOvL3/KgNAMFKskv9ap9+tJt+nYGdh7nizP7khTf61cVrC9TKoNZ9xu/gSGiuJm+awV0Mac629jW/flVal8qO4XVnKWbK6e42YQTf3Vb8NmAlp/6hNx612YS9DpwCe5cDJzsg3ib8dSyI5nFYk9inPps7W0RmOJ4HIf4pTNoff4t7a x-incomingheadercount: 43 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:BN3NAM04HT215; H:MWHPR11MB1822.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: c703dc52-dae3-4975-9c0d-08d491631bcf x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045); SRVR:BN3NAM04HT215; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:BN3NAM04HT215; BCL:0; PCL:0; RULEID:; SRVR:BN3NAM04HT215; x-forefront-prvs: 02951C14DC spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 May 2017 13:57:01.8361 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM04HT215 Subject: Accessing AVX/AVX2 instruction in UEFI. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2017 13:57:04 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Am trying to optimize an application using AVX/AVX2, but my code hangs whil= e trying to access YMM registers. The instruction where my code hangs is : =A0vmovups ymm0, YMMWORD PTR [rax]=A0 I have verified the cpuid in OS and it supports AVX and AVX2 instruction.= =A0Processor i7 6th gen. Can somebody help me out here ? Is there a way to enable YMM registers ? Thanks And Regards Amit Kumar=A0