From patchwork Wed Apr 6 10:10:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 65156 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp956899lbc; Wed, 6 Apr 2016 03:11:11 -0700 (PDT) X-Received: by 10.66.190.229 with SMTP id gt5mr69944319pac.118.1459937471478; Wed, 06 Apr 2016 03:11:11 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id be6si3711065pad.31.2016.04.06.03.11.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Apr 2016 03:11:11 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-424443-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-424443-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-424443-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=eKbDZfcQ7fmjX8Qn BnJDolOnIZsMMqNIDk+1eYi79DlIihjxkCrtaBgv709FzBj7ECv5mGifAhEirC5B bE3A2FJJWKSswsMtNRlEyVxDx3oX54hJHTvvgzQxhY+dK9foSg49Z5CFzRmudz27 uHY47SObE7XuwJu7dG7niVVZXPQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=default; bh=Y3Nsdhfp22mhhAwQDiL2+F xCtdI=; b=ET2GDuWw2W4HD/iMxK7zlRYEL+BgPJXNrnvQjRM+LwFwlRGS9sbVVL EIJCwmTJ1gPzh4eYnmviXBMx0d2GyPYJIJAVIsu5P8JT/7PtUu0iVHXKso811OFh 0YKdNObnTTSHoT+v/vmsux5Sn06d2UFRHSp6morFLAR/360N+thwo= Received: (qmail 81170 invoked by alias); 6 Apr 2016 10:10:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 81023 invoked by uid 89); 6 Apr 2016 10:10:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL, BAYES_50, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=HAuthentication-Results:gcc.gnu.org, HAuthentication-Results:pass, crc, james.greenhalgh@arm.com X-HELO: emea01-am1-obe.outbound.protection.outlook.com Received: from mail-am1on0072.outbound.protection.outlook.com (HELO emea01-am1-obe.outbound.protection.outlook.com) (157.56.112.72) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Wed, 06 Apr 2016 10:10:30 +0000 Received: from DB4PR07CA009.eurprd07.prod.outlook.com (10.242.229.19) by AM4PR07MB1569.eurprd07.prod.outlook.com (10.165.249.13) with Microsoft SMTP Server (TLS) id 15.1.453.11; Wed, 6 Apr 2016 10:10:26 +0000 Received: from DB3FFO11FD032.protection.gbl (2a01:111:f400:7e04::131) by DB4PR07CA009.outlook.office365.com (2a01:111:e400:9828::19) with Microsoft SMTP Server (TLS) id 15.1.466.12 via Frontend Transport; Wed, 6 Apr 2016 10:10:26 +0000 Authentication-Results: spf=pass (sender IP is 217.140.96.140) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=none (message not signed) header.d=none; gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 217.140.96.140 as permitted sender) receiver=protection.outlook.com; client-ip=217.140.96.140; helo=nebula.arm.com; Received: from nebula.arm.com (217.140.96.140) by DB3FFO11FD032.mail.protection.outlook.com (10.47.217.63) with Microsoft SMTP Server (TLS) id 15.1.453.6 via Frontend Transport; Wed, 6 Apr 2016 10:10:26 +0000 Received: from e107456-lin.cambridge.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.279.2; Wed, 6 Apr 2016 11:10:24 +0100 From: James Greenhalgh To: CC: , , Subject: [Patch AArch64 1/3] Enable CRC by default for armv8.1-a Date: Wed, 6 Apr 2016 11:10:01 +0100 Message-ID: <1459937403-22657-2-git-send-email-james.greenhalgh@arm.com> In-Reply-To: <1459937403-22657-1-git-send-email-james.greenhalgh@arm.com> References: <1459937403-22657-1-git-send-email-james.greenhalgh@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131044110266246751; (7f4fb8e1-17aa-4746-8602-08d27e8c8cd0); () X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:NLI; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(2980300002)(438002)(377424004)(189002)(199003)(5003600100002)(19580395003)(586003)(106466001)(19580405001)(564344004)(5000100001)(104016004)(6806005)(5008740100001)(189998001)(2351001)(50986999)(76176999)(229853001)(1096002)(2476003)(1220700001)(84326002)(11100500001)(5890100001)(110136002)(36756003)(77096005)(87936001)(50226001)(92566002)(33646002)(2906002)(568964002)(450100001)(4326007)(512874002)(4610100001)(164054004)(86362001)(2950100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR07MB1569; H:nebula.arm.com; FPR:; SPF:Pass; MLV:ovrnspm; MX:1; A:1; PTR:fw-tnat.cambridge.arm.com; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD032; 1:15A+hj9VmAPXTDf9qwy87Vi0LrOJ+XLAdVj8Rl6+HJJ+Jg8enAt832gdz2X6yI0axnrQBc7E2PL03DbPthCwEFLHvaeUi4VQ6G5r6R/cCFyS6FZ5YbLDCdZyaW6CneoIxXwV+cA2WJXJipRQIc3dVk/ZV1n/QEiDDW0oGyp8pQQyeChEf7+K4aaHP0zKOT3jKyMxvuG/WOnKRKSsQUsxMluHkISSO1TADVPzI0PaZP1NxOMD+DFOybvdDN2BsBeMSbuJgRvaoo3JoJ9zRPIZdl5xKg7UKTutPYqbELPagKwt2K6jHURwlxmOnHwLycgJlc7KOSJ2VBtDSZqXPhyf0fHvaZnONsJSywCyBzze1Nw7aQZe3tsX9R3ynsRWDUVrYOO9s9lz2V4gKqQLmVrMqE6QW2g+ANRd2y8hYhM9r7ri2YBoaBt6/1c25mWIvpp17PlJsBJlKMHBpnjIupA98sUvICDWdOmviT4sKIPbMh1FbGOLokdSM5IbYwp8EIf2IryNWuONqjBxJL1V8lW1ZkCPDy4ODWlaa59vuApyod8= X-MS-Office365-Filtering-Correlation-Id: d7440488-5191-41aa-a65f-08d35e03acca X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1569; 2:h30zlQIpKggyA8/Jx5658gVr0PyUOst30hNAMpwslycAk+SA8+QilwRN8/Qc0LY+8PGdPTv9zYgen9iXJzL8GH4tKL+6UM7DrOHqP8BPrj+G+XGpfu8jw/cBykbwycacED47pXQmCgIEH9BeDxnJrAfo2Umm55uBBvniTPuYkE3MQ5nF6yIpwjguwdodWSgn; 3:F9yjGGICGMalqosK/h//jd+ukAE4TyLiv+XVYtFITzYjitzD54Q2ZFjwRmjMrqLwk9v0lbEoll13fJBdDRY5En12iZSHlr1uMj/Uc1LauzXQYiCyVMgraK7EHNR5h3d1mjl1uv5pgJzBCXk5JsM4u/amItsppia/Ica0hZ0lOY1KyYm7umO3NjUrYRnCYE2X6WgDtaf0o0EaMsqYvKFWk91+1EQ8NdJ86et4fCylAI8uWxNEgmqfTIh1Z4FQI7Xt1SV1ViLOOKXCW0Q66kSPOA== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:AM4PR07MB1569; X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1569; 25:8TONF6HEx76HRrtzeRa+RPOuLplxYEAu4nJQLt40dMp3W4P7smSA+ev0tdBlynYRyWcx/pcihfJDV0b3s6lGDBbSofqIZpyrpJUZ8O6SwdDWYk2VT5x/48yu/sgYp5ID4tpuLbpLsSwkdpbVYsaOXdeU9q7U1McTL0blIWebGbReYofvkZ/zXSc8KS0OTPpUVykg2PsDZgGLcV54hzjdHGHYpmyisRa1tRnGvXmEwhqJHp0RXjJelpDUx+jxb+qen/1pTTCbEYSBKKnc8LT1C5bk5Itp1OjdBjpVC3z6IxlM4khwY624eQaSW8O8ODx19mMWRXng+laweQlz6OYnzi8gYnfua+c2XL30ddtvH8umKBNtdOTzzo/KD9AunEI2lrnrRuj0ozUQZa/fNximPVALWqNLNI7RDLs5O2mX03ITYK8RE6GUwoze3oEcdait45E1iOUOWqx+ErBO07KNTIV9mEH2ObB/ORfOFCPWRKC9xzpI7U18fymg1r3nwIL1TqaxM/YmnOb/OrVIUwEf28uhBR0a1o4SMvESt5Q7C3zW983P0uUzhj9dGhwaeM+GFVbonfDakE0VKpK0nJfKkptF0/3uIVrFaEX1tOiG80345FGPo+TIral7O+/Ncp4SEsN+fWuh9a02MndhKKzWUoWxRWSjqnoZn0KE6xJRww3PSfLNIwGydSGO0d5t3Chl X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415293)(102615271)(601004)(2401047)(13023025)(13016025)(13024025)(8121501046)(5005006)(13018025)(10201501046)(3002001)(6055026); SRVR:AM4PR07MB1569; BCL:0; PCL:0; RULEID:(400006); SRVR:A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FmLl4jm6g=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1569; 5:4qpmanriG3Be0NStvDc6Pa5nZXqNuy9cYfxn5TzVtkHmorA82dyBT0w6/ByTMMx/UMKIY0wi/xXHFZ/E/gYieyaRaIMrTPdspxZMspA8iObdyQ4pAi4EJ0tBxRK61AO8L+PgmTKmqHNjYng4R+kDzWCqF75/HxClGw6gLvm5tsY=; 24:nPsYvurMUedXiHYRTE2NNwT3XCY7BIkqg5YUnXifMRTZKDDIC2ojSoOIFS4u/+C0l01kQmEFI4A/rJgyK7EexOiWW3nZRSdEng7czkKRUV0= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2016 10:10:26.3750 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB1569 X-IsSubscribed: yes Hi, This change reflects binutils support for CRC, where it is always enabled for armv8.1-a. OK? Thanks, James --- 2016-04-06 James Greenhalgh * config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH8_1): Also add AARCH64_FL_CRC. diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 7750d1c..15d7e40 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -145,7 +145,7 @@ extern unsigned aarch64_architecture_version; /* Architecture flags that effect instruction selection. */ #define AARCH64_FL_FOR_ARCH8 (AARCH64_FL_FPSIMD) #define AARCH64_FL_FOR_ARCH8_1 \ - (AARCH64_FL_FOR_ARCH8 | AARCH64_FL_LSE | AARCH64_FL_V8_1) + (AARCH64_FL_FOR_ARCH8 | AARCH64_FL_LSE | AARCH64_FL_CRC | AARCH64_FL_V8_1) /* Macros to test ISA flags. */