From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67379 invoked by alias); 26 Feb 2016 12:37:42 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 67366 invoked by uid 89); 26 Feb 2016 12:37:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:Fri, 0h, marcus, Hx-languages-length:846 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 26 Feb 2016 12:37:40 +0000 Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1lrp0017.outbound.protection.outlook.com [213.199.154.17]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-23-39A4CRIXSyizodV9QChiLw-1; Fri, 26 Feb 2016 12:37:35 +0000 Received: from AM3PR08MB0088.eurprd08.prod.outlook.com (2a01:111:e400:8847::18) by AM3PR08MB0594.eurprd08.prod.outlook.com (2a01:111:e400:c408::16) with Microsoft SMTP Server (TLS) id 15.1.415.20; Fri, 26 Feb 2016 12:37:33 +0000 Received: from AM3PR08MB0088.eurprd08.prod.outlook.com ([fe80::5c9e:21ac:62e:8faa]) by AM3PR08MB0088.eurprd08.prod.outlook.com ([fe80::5c9e:21ac:62e:8faa%17]) with mapi id 15.01.0415.022; Fri, 26 Feb 2016 12:37:33 +0000 From: Wilco Dijkstra To: Evandro Menezes CC: "gcc-patches@gcc.gnu.org" , nd , Marcus Shawcroft , Kyrylo Tkachov , James Greenhalgh Subject: Re: [PATCH][AArch64] Replace insn to zero up DF register Date: Fri, 26 Feb 2016 12:37:00 -0000 Message-ID: References: ,<56A94F35.8000000@samsung.com> In-Reply-To: <56A94F35.8000000@samsung.com> x-microsoft-exchange-diagnostics: 1;AM3PR08MB0594;5:tAwe+CRcukLvcfXbktadooqhMIKGFPtut6hNQD79NCARoeZljnBC9waZ5loxuOVUp2R9nHQW6QIXQc3b166/PTffVF8q2xVXwElheI+I43PmNx09uX9HIIiCgar0gqXQCWHWEwiWA6lie9D+VE3Lxg==;24:MNtNVc4th9cNSsE67ODyYPbaQ/9L5jEJCXPA7sNWibXc08o2zbnNaniiAI6ktVJm5fg7OViUrbZjv7jt6ukiLDR08rEnlQnffSk+5+ld1TY=;20:o78F8hgmlF3hs4+Fp+ASykphXDfdS3/1ear7WTgfZ1GI8yx6gpujuCBgrdQc+LVG6ZKxgmJjKWkJumVcgQKWQac0nw8WK/flDtbTsdEuQha3veOAx24dC4P7f4Z8euz5y2E6x5h1W2AlPJ0Vf2/YQrW8zPX4pQFWBg3lTIZB8oA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR08MB0594; x-ms-office365-filtering-correlation-id: 11cc0d40-a54f-41fd-7473-08d33ea999bd nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001);SRVR:AM3PR08MB0594;BCL:0;PCL:0;RULEID:;SRVR:AM3PR08MB0594; x-forefront-prvs: 0864A36BBF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(24454002)(40100003)(2900100001)(2950100001)(5003600100002)(92566002)(86362001)(54356999)(76176999)(19580405001)(66066001)(74316001)(33656002)(106116001)(5008740100001)(5004730100002)(87936001)(11100500001)(3846002)(102836003)(6116002)(3660700001)(3280700002)(19580395003)(2906002)(50986999)(586003)(76576001)(5250100002)(5001960100002)(1096002)(189998001)(110136002)(1220700001)(4326007);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR08MB0594;H:AM3PR08MB0088.eurprd08.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2016 12:37:33.7690 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR08MB0594 X-MC-Unique: 39A4CRIXSyizodV9QChiLw-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2016-02/txt/msg01787.txt.bz2 Evandro Menezes wrote: > > I have a question though: is it necessary to add the "fp" and "simd" > attributes to both movsf_aarch64 and movdf_aarch64 as well? You need at least the "simd" attribute, but providing "fp" as well is clear= er (in principle the TARGET_FLOAT check in the pattern condition is=20 redundant as a result, but the movhf and movtf patterns already do both). Also you want to use the smallest possible SIMD size as these are scalar operations and some microarchitectures execute 64-bit operations more efficiently than 128-bit ones, so: mov\\t%0.h[0], %w1 + movi\\t%0.4h, #0 umov\\t%w0, %1.h[0] fmov\\t%s0, %w1 + movi\\t%0.2s, #0 fmov\\t%w0, %s1 With those changes it should be ready for commit once you get the OK from J= ames/Marcus. Wilco