From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6FE7CA04DB; Wed, 14 Oct 2020 19:51:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C28E81DA8D; Wed, 14 Oct 2020 19:51:19 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 3CD861DA88 for ; Wed, 14 Oct 2020 19:51:18 +0200 (CEST) IronPort-SDR: PZiwdxVMHKRzswlkeZBSEQJqwuj8u+HoK1eZowzXnY6ft2yMNQB+2GJnKgXIbPvYU1Vrc0ldS3 REfPVDdVRtkg== X-IronPort-AV: E=McAfee;i="6000,8403,9774"; a="250856195" X-IronPort-AV: E=Sophos;i="5.77,375,1596524400"; d="scan'208";a="250856195" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 10:51:16 -0700 IronPort-SDR: MERjVAiMuQurQbYbaTCKLYDAxg7yxrplGNnMMAoybNqae1qa5VFhwAeWPBrMQbnNUJDARwj5bn U6PtVDOneDtg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,375,1596524400"; d="scan'208";a="345750411" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga004.fm.intel.com with ESMTP; 14 Oct 2020 10:51:16 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 14 Oct 2020 10:51:15 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 14 Oct 2020 10:51:15 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 14 Oct 2020 10:51:15 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.57) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 14 Oct 2020 10:51:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CFs1KZdRBvvqwgUu6N+nNEmSI99rBXw7nAq1giXYsvTjuUrqRDDSc+knNlVgvpA38x6VOArHy4nlngf5VS5PNnlrvyPQe3/FClnZjanZWWrf//btTJ8ews63B7GgbQlWaFlPo0FU01LZEQqSX9Zmd8yNzxJBGq0cAFH2d/SaoLs68U8tTllxeznTNpZSPKDukwv8TBG9EdCbdeuXayAVa306NDK5Bf8uLyAzx08ELHpZ/IpWqLbfEICtkydsdS/rvJZIcjaS85/p2r70Isg3i4qphNzXxEAZdX56WLgaETcr1/IQYMNLv1Q0EQliMfbsM17pJ+iA+sZue42gaXocGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PQImwP2RLaXurdGP8DV0jaEkTEjMqVfpWuyEwHNbwLE=; b=dMnRSjIbllu124X8k5vuFjlrtEJ2aMeY/XSNZ3pqaPnwwn3Po/RSY/ImXThXKcX6heVnPAFRtiTY2G8dg/U0LJoHq2DZ1S1u6pKJmY5EBjnqsv+geLfbCZ7gTr/pSZzLlaowvMYhUNpOZPu25vb1yHp+h8strmvqUs0CRBY+T+CgFv/TK8YScSDVCXvgWZF9j6szkDZ30FIgnUnR8POLVwhioogfuY0Hjadf5XHODXbQKeQ7BtFjY0Eix4zl9DlVNh3vG2YENfNF5jZuH3M5XhRAMimxci/G0nYN72n/+Qy5o1uWVHf6O5gwbcL0zUgujRzYuUe55+tFMqjrIhgbyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PQImwP2RLaXurdGP8DV0jaEkTEjMqVfpWuyEwHNbwLE=; b=IO99n2iP+q1llzEVaZCKj1FIVNBXSN+OtXSt1c8LZ+QCDBYXuqfA4Er62He8uyoQhy4LcGArccdF0je11ktqel286LjrE6g53dlym++n8+0GBkeqCS6wuYishz5eAfnCgP/JcIk8ezaetkYy4GjynW2ceW9h+H2dkdliLyHNtTA= Received: from SN6PR11MB3310.namprd11.prod.outlook.com (2603:10b6:805:b9::13) by SA2PR11MB5001.namprd11.prod.outlook.com (2603:10b6:806:118::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Wed, 14 Oct 2020 17:51:04 +0000 Received: from SN6PR11MB3310.namprd11.prod.outlook.com ([fe80::ed1d:ff6d:e1e2:6d07]) by SN6PR11MB3310.namprd11.prod.outlook.com ([fe80::ed1d:ff6d:e1e2:6d07%2]) with mapi id 15.20.3455.030; Wed, 14 Oct 2020 17:51:04 +0000 From: "Ananyev, Konstantin" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: Jan Viktorin , Ruifeng Wang , David Christensen , "Ray Kinsella" , Neil Horman , "Richardson, Bruce" , "Hunt, David" , "Ma, Liang J" , "jerinjacobk@gmail.com" , "thomas@monjalon.net" , "McDaniel, Timothy" , "Eads, Gage" , "Macnamara, Chris" Thread-Topic: [PATCH v6 03/10] eal: add intrinsics support check infrastructure Thread-Index: AQHWoi5AaUhzNSzO20Syl8F8F3YK86mXYJFA Date: Wed, 14 Oct 2020 17:51:04 +0000 Message-ID: References: <532f45c5d79b4c30a919553d322bb66e91534466.1602258833.git.anatoly.burakov@intel.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [46.7.39.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eaa56122-4cf8-405d-e928-08d87069b88b x-ms-traffictypediagnostic: SA2PR11MB5001: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1IHnlkAMrjpa3fZZEuwD9aw0yqtQm0ZTYqaAFBAAKui1hjys1cM7GFgakFebuFlykTy6IZqBBLUIXgIQj2N65Wn4X/JiD4seF4ZPes2zByKYMPW/YM5JaVSmyGrrq4m1Y7kVvI6G4i7DIIOIKgmFzWGF22pZaAUrIBioMGixZB+Y0ZDTMI/63quGL7Hz0gSLvmZFYJouDPNtq87fZqbpbrhxNetijd7vp2F58pPxYv9KIW+H9gBGH+veLdSbpoP3O2Wjf2IRu/MbeDQxkVhuq4/3yHrE6aeg8I9cnPXG6G4zUXPkWDiGn2deslB5Skap x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3310.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(136003)(396003)(366004)(376002)(71200400001)(110136005)(26005)(66556008)(64756008)(54906003)(66446008)(316002)(55016002)(66946007)(66476007)(9686003)(8676002)(478600001)(186003)(8936002)(33656002)(4744005)(107886003)(5660300002)(7696005)(76116006)(6506007)(4326008)(2906002)(86362001)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: wULJhQerDdoz6koPr4Lw4/A7OrVaDX+q5AzpvHjTPoFO0q/bXbI4lHpY5HVkVxTd5rLPA42qBj+YnGKvufDA0LvXWlIdremm2RchNhXBsNJWKiGgoINTdjv0wbsie92WCcC84nHHxx5KdWCtDQjzldDSXIfopMOfrQ9xbhUF1CoPMVqsfxGJdS95/SzDcLBTyiR44uke/UFpp7vVAfOWPPS/w9Yfw8+x1o34bRvq97OWOqVGQnWeUEbeLgXe5i5X6dE8SMKlYFZ4QMrb1E3YvaWhrxjq0IFsuSOzPdaal3I/H1+xF0rNpXXkrTDP0AuyZW9mccoDwbKVDug69x7t1s/31SJkspOZkdhTYS4B7D2T++Hg2VetcKVoCBKxOq7Yu5LEjPiWo+ruks0jmHr/BXAvjv9iBiwY9R5eaDqkMOpcY7oUGlKZE4YQcLnFlayHbwR/nJ5BZN5xRgK2fqU1hBi6McfvgXeppZaS5er9Y8APoSaatjNGWjptoXFQIzAIgT29So1Rjp2TVkjZVcbGcPdFo83RpPKIorqpzejaNxx8n7L8IJQqrDagfrrnmxF/CJ2rPIVu5QYQp2ZxjomCDGIaZ43gxrf0vasXIEQhd6Rk/JLM+E+jQh50qhURz2Oc0NMJFN/QhQoS92e8uXSlvQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3310.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eaa56122-4cf8-405d-e928-08d87069b88b X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2020 17:51:04.1519 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: U3omQEGz9LIZf9dfVsOxs63XXMA8B/rpIuszXTMT3p+pjQAymyLRPe9UdwnkQTtTO2rrZrS/WoW5QxL9E0W9Y5tn2Ci++k7TV2Vw/TOujes= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5001 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 03/10] eal: add intrinsics support check infrastructure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > Currently, it is not possible to check support for intrinsics that > are platform-specific, cannot be abstracted in a generic way, or do not > have support on all architectures. The CPUID flags can be used to some > extent, but they are only defined for their platform, while intrinsics > will be available to all code as they are in generic headers. >=20 > This patch introduces infrastructure to check support for certain > platform-specific intrinsics, and adds support for checking support for > IA power management-related intrinsics for UMWAIT/UMONITOR and TPAUSE. >=20 > Signed-off-by: Anatoly Burakov > Acked-by: David Christensen > --- Acked-by: Konstantin Ananyev > -- > 2.17.1