This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][GCC][AArch64] optimize float immediate moves (3 /4) - testsuite.
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: Tamar Christina <Tamar dot Christina at arm dot com>
- Cc: James Greenhalgh <James dot Greenhalgh at arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Tue, 1 Aug 2017 10:48:10 +0100
- Subject: Re: [PATCH][GCC][AArch64] optimize float immediate moves (3 /4) - testsuite.
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0801MB2031A5C9C4C10CDB923419B6FFC80@VI1PR0801MB2031.eurprd08.prod.outlook.com> <20170614091119.GA16061@arm.com> <VI1PR0801MB2031A417A9F60B12103E0144FFDF0@VI1PR0801MB2031.eurprd08.prod.outlook.com>
On Mon, Jun 26, 2017 at 11:49 AM, Tamar Christina
<Tamar.Christina@arm.com> wrote:
> Hi,
>
> With the changes in the patches the testsuite had a minor update in the assembler scan.
> I've posted the patch but will assume it's OK based on the previous OK for trunk and
> the fact that this can fall in the obvious rule.
Hi,
With below commit:
commit b78acb5046f8b0e517f39edf17751b275d026b6c
Author: tnfchris <tnfchris@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri Jul 28 15:14:25 2017 +0000
2017-07-28 Tamar Christina <tamar.christina@arm.com>
Bilyan Borisov <bilyan.borisov@arm.com>
* gcc.target/aarch64/dbl_mov_immediate_1.c: New.
* gcc.target/aarch64/flt_mov_immediate_1.c: New.
* gcc.target/aarch64/f16_mov_immediate_1.c: New.
* gcc.target/aarch64/f16_mov_immediate_2.c: New.
* gcc.target/aarch64/pr63304_1.c: Changed to double.
I saw test failure on aarch64_be.
FAIL: gcc.target/aarch64/dbl_mov_immediate_1.c scan-assembler-times
mov\tx[0-9]+, 25838523252736 1
FAIL: gcc.target/aarch64/dbl_mov_immediate_1.c scan-assembler-times
movk\tx[0-9]+, 0x40fe, lsl 48 1
FAIL: gcc.target/aarch64/dbl_mov_immediate_1.c scan-assembler-times
mov\tx[0-9]+, -9223372036854775808 1
Thanks,
bin
>
> Thanks,
> Tamar
> ________________________________________
> From: James Greenhalgh <james.greenhalgh@arm.com>
> Sent: Wednesday, June 14, 2017 10:11:19 AM
> To: Tamar Christina
> Cc: GCC Patches; nd; Richard Earnshaw; Marcus Shawcroft
> Subject: Re: [PATCH][GCC][AArch64] optimize float immediate moves (3 /4) - testsuite.
>
> On Wed, Jun 07, 2017 at 12:38:41PM +0100, Tamar Christina wrote:
>> Hi All,
>>
>>
>> This patch adds new tests to cover the newly generated code from this patch series.
>>
>>
>> Regression tested on aarch64-none-linux-gnu and no regressions.
>>
>> OK for trunk?
>
> OK.
>
> Thanks,
> James
>
>>
>> gcc/testsuite/
>> 2017-06-07 Tamar Christina <tamar.christina@arm.com>
>> Bilyan Borisov <bilyan.borisov@arm.com>
>>
>> * gcc.target/aarch64/dbl_mov_immediate_1.c: New.
>> * gcc.target/aarch64/flt_mov_immediate_1.c: New.
>> * gcc.target/aarch64/f16_mov_immediate_1.c: New.
>> * gcc.target/aarch64/f16_mov_immediate_2.c: New.
>
>