From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0097.outbound.protection.outlook.com [65.55.169.97]) by dpdk.org (Postfix) with ESMTP id 23B469221 for ; Tue, 3 Nov 2015 14:10:28 +0100 (CET) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.caveonetworks.com (111.93.218.67) by BY2PR0701MB1974.namprd07.prod.outlook.com (10.163.155.20) with Microsoft SMTP Server (TLS) id 15.1.312.18; Tue, 3 Nov 2015 13:10:25 +0000 From: Jerin Jacob To: Date: Tue, 3 Nov 2015 18:39:08 +0530 Message-ID: <1446556153-18845-8-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1446556153-18845-7-git-send-email-jerin.jacob@caviumnetworks.com> References: <1446556153-18845-1-git-send-email-jerin.jacob@caviumnetworks.com> <1446556153-18845-2-git-send-email-jerin.jacob@caviumnetworks.com> <1446556153-18845-3-git-send-email-jerin.jacob@caviumnetworks.com> <1446556153-18845-4-git-send-email-jerin.jacob@caviumnetworks.com> <1446556153-18845-5-git-send-email-jerin.jacob@caviumnetworks.com> <1446556153-18845-6-git-send-email-jerin.jacob@caviumnetworks.com> <1446556153-18845-7-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MAXPR01CA0048.INDPRD01.PROD.OUTLOOK.COM (25.164.146.148) To BY2PR0701MB1974.namprd07.prod.outlook.com (25.163.155.20) X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB1974; 2:GWKkNpiMiBbbAa1lTDqXSBxMNniGsUyP0zKw9iOAikCWLTO1/db3k4JObn2uHfBLsuv1lKu4h66McLSi0gKYGxNBTEYN+s87oJkzAcbMtPX/pSIyqs7aQ4Nq5QvaHr3brBM3jvL7wYiJUCdV7nn9Ah6HssGViUkQIxDGBMG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3oWd82qROHChdYVl3WDMB/Prf3ECzM3kDWRET3AJFdwHqyd3PLHvD2JHT9xnfM7GpH8eMx+XMup+AqPH68GOxF2G14heMQu64g= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001); SRVR:BY2PR0701MB1974; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0701MB1974; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB1974; 4:Co/zfIcDf0SGUpWFWVHOxbSNBY1pKdOyovWEqqYo0Y2r+AlnhCokfRUfCKbydWNLunnjEwhhdU1Alm5sq3dxIT6QUBaTMcmQaRLOb183GyG5f1sWgCbMf2s97rhdfSCW2x5G3AV4B+BeFTI48WqkFWWCZLcRxTaM0QHUB3YngEjySSav5ll8VJw9jQBY8iHCPzUF7Xn4Jxh6qn/9HpxZsoryBLW9lMsbEW0mQsOMsicxYWTUwUR6qy1jQl6ZnE/wa/qh/FuMJEkjihKlnYZBOmtaCYnMDh2Jw8321xmhbEk37YoTHcCaUIK549IDZ84ZyjK9IOI92c6VLum7THxMGd5DwXLcrFiykXx5Mdsl9iFYPunrRjgUxcW8WbtGr9Tj X-Forefront-PRVS: 0749DC2CE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(189002)(199003)(81156007)(5001960100002)(50226001)(50986999)(5004730100002)(2950100001)(110136002)(77096005)(107886002)(66066001)(47776003)(189998001)(5007970100001)(42186005)(19580395003)(86362001)(76506005)(87976001)(69596002)(97736004)(50466002)(101416001)(53416004)(48376002)(106356001)(105586002)(19580405001)(36756003)(5008740100001)(76176999)(40100003)(92566002)(4001430100002)(575784001)(5009440100003)(93886004)(33646002)(122386002)(5003940100001)(229853001)(2351001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0701MB1974; H:localhost.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; BY2PR0701MB1974; 23:o5Kp/q5x/wTPRfsgf4YeZBeJZd5CUSBz3T4U6FB?= =?us-ascii?Q?o1mLq0LBuE7RuE2Z9xduJgisNFY4w+psg5FDX22PKpYcMgy/QhGKk2bkz5X3?= =?us-ascii?Q?IL1nQcyorjcZ+DkMmOAF0i3H8JybK8RYz5mzBbfgiuFvQ1i8n8qZE4282J6T?= =?us-ascii?Q?zPgUt1nSyHxDC6/RhC5C162XIXm2dGTguV4R9lP9p8G0tEvtoPeQoViO1Rzl?= =?us-ascii?Q?bCzvkHSTf5CwTs/q+9w2dg/KAIBiebUJUGBKkWTwYOVKf8CSETi1mZ2yT8Db?= =?us-ascii?Q?6NWNwc7X0wRrOHvZiDX/iqAwBf9Ny/gnIdWmqLZ9QXNYHbYT8dcm4C2TVF+D?= =?us-ascii?Q?QGG8hiqvcYiFMzGrlTlu7a3vDtT7Vw1grYiiMbjtc6t52wb2QIBz3L9EOsve?= =?us-ascii?Q?Nq4w8XgVlPiEOa1hQBXHl9+kQ0jDXwgN2IwJnrOFUGcXQnt9vr6cwtyGW5W0?= =?us-ascii?Q?GygjlH3ZGM0rrZGO7Vd9mlbZ+HhTfz4PnPQOzDdvd1d7hkVyMANchgEMNkgq?= =?us-ascii?Q?rpD21iUM69+LZAJR0dSxha615r0H/XGdDj8MwXKbiUt12AMBh30LQsigFoUf?= =?us-ascii?Q?BmekNRR0dZXJ09a94GLzEzHlJuizbKhnY+uC1ZlKKEQR6l+dpIizhx8HRAwk?= =?us-ascii?Q?mlVYicPmBWXbk/PhgtO0vozunR0q0nwnOzbT5emIO5W/3U5laXdluLPeUd0v?= =?us-ascii?Q?4oZX3ft3v59/4Gz2mT0vuyZzksx43K7xWesEaGdtJ4dBE2y1xuu1xkpTFf1g?= =?us-ascii?Q?1gFsd1PgNA5T+FcOQtHAx6r4zvxDnZAhl4+uhep/beROQ4e32N0wG3pSUHMU?= =?us-ascii?Q?/u18bDXte+pq5sOYzn4h3Bhf57gBR7kuVz3KC4GdaPu4Hers2CKnMaIJuO0w?= =?us-ascii?Q?rySjd898dU9muqpNQ+yopY6SqEex1EmDiQZl0q4c1E6wZ/iSJ/TVN3ScHk7N?= =?us-ascii?Q?ukP3ko1Bl+Wb9M8Yf/zBoUthR1CDZ5xpC5zZMOUklO3sZIG5BdsDL4kXwfQG?= =?us-ascii?Q?yeYSq1Yv/CPr4ie6MWRhffzOgg3vfCJLmGrC/0Hn04x7bNGYmODD42zG9lUd?= =?us-ascii?Q?5OTPOxYXUgJkcPYdWtJnndjqySYcHyBxVY55CYWZrOEKeH1XHJNBpJBEDjCa?= =?us-ascii?Q?rSsCQNbFk67okw0cdY2qCn28CLDErfGmQeXNv6zgaIMPsmkACqZab+cDDid0?= =?us-ascii?Q?3KvZfnccuSL6h+kzwBWTMsmiCqbunyvCfnwqOXF45moXyLH684Qiv56GKiw?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB1974; 5:x2FPth9zaLQW9w3+X3WRKaffmAju/X+QkHSES2NIuamLzAO09VA2wwnP3C6BLFF84jFiunoah2fdRy3ufVnL5pLkL6wICLhPbLtlahvfX5bx+I06yAczft3DdaEO7BfsgNSlNP0PQCsA2kHjs7KZdw==; 24:nya8Q+ciMjg3a0uvqiKVxjrHE1kmw6MQn6UGE+UIiODdUL0fVAy7zEax/HZ2GyVFJLWa4ypmuFTac2a9OBYjkIl8zWGCthvChijQDlv4SCU=; 20:2Jx5F4d6R6+r/enYwh7MKq2AS1mUzS5aMLLOOzqFr5mFVfIXSKVv+hFXCuo6q/9GTDnwg2p7M8BCUddO3Rh/XA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2015 13:10:25.0650 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0701MB1974 Subject: [dpdk-dev] [PATCH 07/12] app: test: added the new cpu flags of arm64 in test_cpuflags test case 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: Tue, 03 Nov 2015 13:10:28 -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); -- 2.1.0