From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60336 invoked by alias); 9 Feb 2018 16:54:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 60242 invoked by uid 89); 9 Feb 2018 16:54:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-ClientProxiedBy:802 X-HELO: EUR01-DB5-obe.outbound.protection.outlook.com Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; Cc: nd@arm.com Subject: Re: [PATCH][AArch64] Use builtins for fpcr/fpsr To: Wilco Dijkstra , "libc-alpha@sourceware.org" References: <5A60A7BF.6090000@arm.com> From: Szabolcs Nagy Message-ID: <4e242f56-2c42-ee67-a6f2-78825ea76173@arm.com> Date: Fri, 09 Feb 2018 17:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: VI1PR0902CA0027.eurprd09.prod.outlook.com (2603:10a6:802:1::16) To HE1PR0802MB2492.eurprd08.prod.outlook.com (2603:10a6:3:df::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d38047f2-cfee-44f4-4ab0-08d56fddcb03 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:HE1PR0802MB2492; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0802MB2492;3:57RLV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pcDEugyWePO+u4g=;4:fbIj7zZlAbIO59GTc/zwm9u3feRGJqXgPjnD/XlxEkKma4tCMbvQFdVJWDA8E7y7G70Tes/HiL5MgQK+qBH5vKl6/39peF6C5A7b8X5bhb85gtT2GXMp3UaovmmdnIEnmn3YWIaqeQT9MD4Ar0GCPkBc4BflBMBoFEmxWaPPd4Xg4d+B3pg12A00O6n8SdMrTN0X98uJVEg0OdBlIVdEk3mQN1a5zWxTjd7x0UF2fc7to3W2SjO0uLOaQ4QRkB7/ofgoQ78GR7/QjVTJuSa7pRkQFak3EWRfiCDwsdCro9Of3MTTbVTavKVz1bCPR3Me X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(3231101)(2400082)(944501161)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:HE1PR0802MB2492;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0802MB2492; X-Forefront-PRVS: 057859F9C5 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(376002)(346002)(39860400002)(39380400002)(396003)(366004)(199004)(189003)(54534003)(377424004)(65826007)(7736002)(31696002)(97736004)(77096007)(26005)(64126003)(229853002)(6246003)(5660300001)(31686004)(6486002)(110136005)(58126008)(305945005)(16576012)(4326008)(316002)(106356001)(68736007)(67846002)(478600001)(76176011)(83506002)(72206003)(25786009)(81166006)(81156014)(8676002)(8936002)(23676004)(52146003)(52116002)(2486003)(3846002)(6116002)(50466002)(2870700001)(86362001)(16526019)(2906002)(53546011)(66066001)(2950100002)(65956001)(6666003)(65806001)(36756003)(386003)(93886005)(47776003)(53936002)(2501003)(105586002);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0802MB2492;H:[10.2.206.230];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDJNQjI0OTI7MjM6RkFmSzYvS3hpYjk0KzNUWStUYmQxeWZZ?= =?utf-8?B?aXN2Qkdjc3l6ckxpdkNJUXprcHJuV0F6ek9VK3QvV0FXblQ2dml0OFYzb0Zy?= =?utf-8?B?dzRSUFlWWjczNlFPamdPeU4yUVdCRzJpS3hhQXVIMTBpSTlFMUxaRDRKWUhp?= =?utf-8?B?OXdBbkdLdCsra21hTFVMalVHalVVSzBkdnlTalV0S3loOXVLTTh4YW9NSmc4?= =?utf-8?B?TlVReWNVSWc5c1BWRnBLUHZqZ1BZQ2hWUUhBajEzUU9xOG5nR2R4M3FuaXBm?= =?utf-8?B?TlZvZWZWa2hHUnJ6V1ljQ2N2R21WcFozSVhyUGFxaXBHa1B0SjFjb1MwTDh5?= =?utf-8?B?WURXRmh5WExxUmdTanJLQVl1VnRMak9RVDFYV25jbm85L0xPaDlvYUhsalJU?= =?utf-8?B?azczR1BYSGtTdm85dXA2Qm40UjA0QzJyV2RFVm15OEw0dTlaVTBLOGNEN0Ra?= =?utf-8?B?NnJlQ3ZTano4ZHB4SWtzV3ZVUi9ZWHZzdi9Ud0tNVHpiSjR4dENjVWdMSThl?= =?utf-8?B?MmVxYVF3TkwxTDA5WXJYaHRQMmEyZGVQYkxxUXBNdnJGRkZ1WVVCaVIxZGlu?= =?utf-8?B?d0ZmeXBMZnhQdFVDRXZBQlZQNFN5Mzd2K1ArYnNIZ3FsTTE0ZW1xbCs3Uzdr?= =?utf-8?B?dEl2T0l0NnlTQ243VytNanhLc0crbjFBRVc0b2xzZVpjNU9NY1dmWi9KU3hl?= =?utf-8?B?M2JHSHp6OGpmVDJFY21EeGRCWWRWbGs1MHhjZ0UrSU5BcVgzd0RXeW9LVFlK?= =?utf-8?B?ZWxVWHd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fUISv+863VMhhRbhhTkLk+vYlCET12vEfong=;7:6N0La/lZbWm1g7OEj/KTIHcsBcxGmu5U31U6FExaAkXTiJHS2mHUN0+AXxXyFg01pMM4ag/aS09CxXtTpCexScGsqZNTBZtcGkjQYu4m4QfSdYHhDva4vx6uIIXl6yvpoXyiP3kzRXpw2O1FiXOPQpZ0itWO+Y/lfVpJHPf3AoD7XemnTY9lLkYJvfnScJPAQ23G7YbjmmSKvTWhnz/RIG+8mR/7ciCYTBsQD2dp0R/sY3fUn8QOmk2E+6Ddqnft SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2018 16:54:32.3020 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d38047f2-cfee-44f4-4ab0-08d56fddcb03 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2492 X-SW-Source: 2018-02/txt/msg00340.txt.bz2 On 09/02/18 15:03, Wilco Dijkstra wrote: > Since GCC has support for accessing FPSR/FPCR, use them when possible > so that the asm instructions can be removed eventually.  Although GCC 5 > supports the builtins, it has an optimization bug, so use them from GCC 6 > onwards. > > GLIBC build and test OK. > > ChangeLog: > 2018-01-19  Wilco Dijkstra  > >         * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing FPCR/FPSR. > ok to commit.