This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2][AArch64] Tests of AAPCS64 updates for alignment attribute


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]