This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2][AArch64] Tests of AAPCS64 updates for alignment attribute
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Alan Lawrence <alan dot lawrence at arm dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, <marcus dot shawcroft at arm dot com>, <richard dot earnshaw at arm dot com>, <charlet at adacore dot com>, <ebotcazou at libertysurf dot fr>, <nd at arm dot com>
- Date: Tue, 7 Jun 2016 12:08:17 +0100
- Subject: Re: [PATCH 2/2][AArch64] Tests of AAPCS64 updates for alignment attribute
- Authentication-results: sourceware.org; auth=none
- Nodisclaimer: True
- References: <1452867463-30768-1-git-send-email-alan dot lawrence at arm dot com> <1452867463-30768-3-git-send-email-alan dot lawrence at arm dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Fri, Jan 15, 2016 at 02:17:43PM +0000, Alan Lawrence wrote:
> Here I've added both tests using the abitest.h framework(which verifies values
> are passed in the correct registers as specified by the AAPCS64), and separate
> tests which verify that called functions read arguments from the same locations
> as they are passed. Hence, each test_align-N.c corresponds to rec_align-N.c.
>
> I've tried to stay consistent with the existing naming of e.g. test_10.c,
> test_align-1.c, va_arg-10.c, but would be happy to change to another scheme
> if preferred! (e.g. func-ret-1.c ?)
>
> Cheers, Alan
These tests are OK.
I'll commit them alongside patch 1/2 from this series tomorrow.
Thanks,
James
>
> gcc/testsuite/ChangeLog:
>
> * gcc.target/aarch64/aapcs64/aapcs64.exp: Also execute rec_*.c
> * gcc.target//aarch64/aapcs64/rec_align-5.c: New.
> * gcc.target//aarch64/aapcs64/rec_align-6.c: New.
> * gcc.target//aarch64/aapcs64/rec_align-7.c: New.
> * gcc.target//aarch64/aapcs64/rec_align-8.c: New.
> * gcc.target//aarch64/aapcs64/rec_align-9.c: New.
> * gcc.target//aarch64/aapcs64/test_align-5.c: New.
> * gcc.target//aarch64/aapcs64/test_align-6.c: New.
> * gcc.target//aarch64/aapcs64/test_align-7.c: New.
> * gcc.target//aarch64/aapcs64/test_align-8.c: New.
> * gcc.target//aarch64/aapcs64/test_align-9.c: New.
> * gcc.target//aarch64/aapcs64/rec_vaarg-1.c: New.
> * gcc.target//aarch64/aapcs64/rec_vaarg-2.c: New.