From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0067.outbound.protection.outlook.com [157.56.111.67]) by dpdk.org (Postfix) with ESMTP id ECAD291B0 for ; Fri, 6 Nov 2015 10:41:42 +0100 (CET) Received: from BLUPR0701MB1969.namprd07.prod.outlook.com (10.163.121.20) by BLUPR0701MB1890.namprd07.prod.outlook.com (10.162.88.151) with Microsoft SMTP Server (TLS) id 15.1.312.18; Fri, 6 Nov 2015 09:41:41 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from jerin.caveonetworks.com (111.93.218.67) by BLUPR0701MB1969.namprd07.prod.outlook.com (10.163.121.20) with Microsoft SMTP Server (TLS) id 15.1.318.15; Fri, 6 Nov 2015 09:41:38 +0000 From: Jerin Jacob To: Date: Fri, 6 Nov 2015 15:10:26 +0530 Message-ID: <1446802833-22265-8-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1446802833-22265-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1446802833-22265-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MA1PR01CA0066.INDPRD01.PROD.OUTLOOK.COM (25.164.116.166) To BLUPR0701MB1969.namprd07.prod.outlook.com (25.163.121.20) X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1969; 2:hHXwu3+xrDZp15ZqPHeI2Looz4ihImH+zHqlyWaJH9P6s4VGpNu+dPF98rCjP7oGtnfoqL8kPAwjepIXtr/KCfgzC9tEITVK9njuUhNx7FBKePl5FkBh4uiI0I3g/GNx/Xo87gEg/ScaJNSbAK7JsxaFDWHL3i0oYixDgETO/BE=; 3:PefhtDk9ZhpD1WAMeMmOzdZKMKpV1jPcmX6uBc81ZN0Ov5a6DjJ9ZAI64vQN1FxD1drPTpTx83oO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microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:BLUPR0701MB1969; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1969; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1969; 4:bfHpV507SgSMwBli09JgmvPcTJRIiMTVKyncXCFomM31o+Y/VcGO0TKmXn7HWbwVZ/JkW3VNX1yo9GcKBbW7vl0YWJEe0HAbdA5g76gM3yA9Bhi37tcXfVA67eGjWoxalqPx+FdtnJ0BMFNcsxdb2Bu0+52CsG0i/rvuxc/aECKYHJ/OmGE+cQntDKhjM+MsXbmnnDOfuQC50YYQRgjJOcddYexKjQbb2JDy+hyipe4rty97zIOMmZuUFBYcVeqOlO1GBTHBzQvaafG7mY125FWaWqtm6vPWkoHZJ/N8rsu/v4gvugk1m3VSc7mrXAajbHmumXTM0n5sOYI8Ul07jiZOtXZ/oMBUGKkrSvac35rIaN+QaVtbH1Ct4om39tW3 X-Forefront-PRVS: 07521929C1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(50226001)(122386002)(48376002)(50986999)(50466002)(106356001)(229853001)(110136002)(19580405001)(40100003)(76176999)(87976001)(105586002)(5004730100002)(77096005)(19580395003)(2351001)(5003940100001)(92566002)(107886002)(189998001)(5007970100001)(33646002)(5001960100002)(66066001)(5009440100003)(42186005)(2950100001)(4001430100002)(97736004)(575784001)(101416001)(69596002)(47776003)(36756003)(5008740100001)(53416004)(81156007)(86362001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1969; H:jerin.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1969; 23:8oZzYi4Fscw6/CbeixLkKrUkk1Mstg2nZyPeX37?= =?us-ascii?Q?tRBDnZBI8vL53rT6T0XjsJW/C6E6VHBDJTUYEvw82fhSlNRe810JtalivZde?= =?us-ascii?Q?vSvIHFcSgpRyc0qKLjWi76d4AMvQ9m+CPJg66c4QAlVquHaJi9hBbFafGfRN?= =?us-ascii?Q?A6wwzJG3EALDK+6cM7/+EHOQ0FULrHhX27tE5PhwTkc7lX50Tj3Xyiy2MWdv?= =?us-ascii?Q?N1m9uTEzWsDUEYR2NMV/z99nIYAx7A2hWEjbLN+XRl2Gij0esSSy8VWjzem4?= =?us-ascii?Q?XksWB2fQefkuibczcn2TXc1vgPSV+fJYhiRPfPgTApdzm2COt+yMwfyW5GTz?= =?us-ascii?Q?A0PMSKU9fUO3fCslynhJ5bMquMBijdXLm6gziw1upBYqtXLq6IiSKuUVacjS?= =?us-ascii?Q?xvt5cqCm66sDLuVFoGDNoGMc3o2iZzB2+P25biQZhKXxHBT4ZczcDuMEAtO7?= =?us-ascii?Q?zst07jY80T7SCvOSwN4UhyPbJKglg7WoxwK3EaLCFLpNz6KrO5+8a9wydVg7?= =?us-ascii?Q?cqZReVtX5ZWrlOsHQouDS55yw3lQe/1mYJy9jt+3W1taM+fFF0prQHFGii83?= =?us-ascii?Q?XN/r3WqSirMV/52vz960ZWzsaP91gZ88OhKGa8TmlpK/+9zxFckFibuM1Q0J?= =?us-ascii?Q?tZdXemJDbh0ZKY7XBFfgbbepLQ2C8KzvJQqrEO5oJH7VYHIr8kyjccXOixcS?= =?us-ascii?Q?JlsJJ18mmGyrL0bOK6GVitf81b7J9dzEWb8JJdtbYDVSOoW2sRb4U7oirEtd?= =?us-ascii?Q?XsWPNohKyOQJz3zFHK0c719J9IQWxg2FzNHtDtFuZfuPI5GUpAmcmSF4JbVJ?= =?us-ascii?Q?j609xVYFb6Z91zPhJoF94c76lcuQgfDS3f2Jo3GWWt/sra1zCF68wVk0Xbn9?= =?us-ascii?Q?UJuTOo7WAq3VvCepGC9CO8spex3Vf6DA/hNiyPzTtywbp2MceJTjFWHwKxtk?= =?us-ascii?Q?qDXMdfCiYlVQ5MPIYQo/M4r9qgDkkGnme+ihwQWIX/wjepwsvr4ru4kvm3rS?= =?us-ascii?Q?FbMDQ2A9oXzn/C0GF0ONSeUP3qrNP5rYPElcPAe/nPL2QRdSUwSMtLYluNfR?= =?us-ascii?Q?5UfeU5++6WwElm2YJw9fuPOHtRjwa8oYng8/DY4bVXyh1nLzJzQpg27MS1so?= =?us-ascii?Q?gLoaOEhSY2KML/EWvWYrQ3usU2xROA+hbdOTlqILku1Y/zoTzgR/VGQ=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1969; 5:pJPARtD7TbqSroDwDt8nPwOagNTc6FIwx7KZNGa9KsWgNpT2MElWcRyJoCVPaGKakEOQ9YEXkqQeTSfZQ5/OGV/5NrKiCu3F5RPi+tyQLd7BbhZTWXm43+YozHfDXh9qq4vbX/uDNdmuUE/hoFoiRw==; 24:fzA7Qaxq9fJODM3o+fTqGXvzi9F/5yhCF3vfq3UMjLOMZALnioYrLPE1SBS9zwYwoxyhEb7ra8l+XyyIA9wM7Nf1TkAfIDVqOWlLh16QD4c=; 20:E5+1x3z6mShuxbYYQYRAnMHR8+Xh+3cGLoy+m1RP0ou17RJ7V1+9RoNbbURq4SmjSZuh7Fl85aX1aA09ziXfBA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2015 09:41:38.5071 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1969 X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1890; 2:qTTkOz/CFEhnfyiEQLDfygFn7l07svSzJuycc1iOlSpmBuITO4Fgrmm1v5IVzuHrpEY2AMB26pOD0kHX8A5Zijoa0VeB6+soZRc0L4OtwvoCSK7d3674qoWBrwfTvpYJzp3OaH1PFrjaHDoeBoTB5ZQH1pdJ7yBacKJh+Bhcw3s=; 23:NEtz9x1wp2wdT6sFWECxVDq1TA22Qd9ISL9BuAMpFbpKwj2EaQ07p3+fgegmTqQjX+lKLS4z6gaSGUfwzVR7t5Qvote9Tmraaxev08Yg6n726XdJZypcnfkMKJ4ewmbQmFBdfPzX6OynpW9rD6e8VWry/tZ7KVCBzJm7++lbB145/oSGd/7Ucn1PrHw7Rq3+ X-OriginatorOrg: caviumnetworks.com Subject: [dpdk-dev] [PATCH v3 07/14] app: test_cpuflags: test the new cpu flags added for arm64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 09:41:43 -0000 Signed-off-by: Jerin Jacob --- app/test/test_cpuflags.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index 557458f..e8d0ce7 100644 --- a/app/test/test_cpuflags.c +++ b/app/test/test_cpuflags.c @@ -120,6 +120,32 @@ test_cpuflags(void) CHECK_FOR_FLAG(RTE_CPUFLAG_NEON); #endif +#if defined(RTE_ARCH_ARM64) + printf("Check for FP:\t\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_FP); + + printf("Check for ASIMD:\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_NEON); + + printf("Check for EVTSTRM:\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_EVTSTRM); + + printf("Check for AES:\t\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_AES); + + printf("Check for PMULL:\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_PMULL); + + printf("Check for SHA1:\t\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_SHA1); + + printf("Check for SHA2:\t\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_SHA2); + + printf("Check for CRC32:\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_CRC32); +#endif + #if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) printf("Check for SSE:\t\t"); CHECK_FOR_FLAG(RTE_CPUFLAG_SSE); -- 1.9.3