This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH AARCH64]XFAIL gcc.target/aarch64/ldp_vec_64_1.c
- From: "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>
- To: Bin Cheng <Bin dot Cheng at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: nd <nd at arm dot com>
- Date: Wed, 25 Jan 2017 17:49:53 +0000
- Subject: Re: [PATCH AARCH64]XFAIL gcc.target/aarch64/ldp_vec_64_1.c
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB2176C240183BAEFF4A69BBA9E7740@VI1PR0802MB2176.eurprd08.prod.outlook.com>
On 25/01/17 16:49, Bin Cheng wrote:
> Hi,
> Test gcc.target/aarch64/ldp_vec_64_1.c because we don't choose [base+offset] addressing mode in IVOPT
> on AArch64. Given auto-increment addressing mode is disabled in IVOPT on AArch64, we can't really test
> the addressing mode. I may try to enable it only for small loops in GCC8, so this patch xfail the case at the
> moment. Also I filed PR79213 for tracking.
>
> Test result checked. Is it OK?
>
> Thanks,
> bin
>
> gcc/testsuite/ChangeLog
> 2017-01-23 Bin Cheng <bin.cheng@arm.com>
>
> * gcc.target/aarch64/ldp_vec_64_1.c: Xfail.
>
>
> xfail-1.txt
>
>
> diff --git a/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c b/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c
> index 62213f3..59cf914 100644
> --- a/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c
> +++ b/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c
> @@ -13,4 +13,6 @@ foo (int32x2_t *foo, int32x2_t *bar)
> foo[i] = bar[i] + bar[i + 1];
> }
>
> -/* { dg-final { scan-assembler "ldp\td\[0-9\]+, d\[0-9\]" } } */
> +/* Xfail for now since IVOPT doesn't choose [base+offset] addressing mode.
> + See PR79213. */
> +/* { dg-final { scan-assembler "ldp\td\[0-9\]+, d\[0-9\]" { xfail *-*-* } } } */
>
OK.