This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[ARM HARD-VFP] skip a couple of failing tests
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 04 Aug 2009 15:58:38 +0100
- Subject: [ARM HARD-VFP] skip a couple of failing tests
This patch disables two tests that cannot work with the hard-vfp calling
convention. The first is a wireless-mmx (xscale) specific test, the
second is for builtin-apply when calling between functions with
different calling conventions -- variadic routines use the Base Standard
of the AAPCS, while non-variadic routines are permitted to use VFP
registers.
2009-08-04 Richard Earnshaw <rearnsha@arm.com>
* gcc.target/arm/mmx-1.c: Skip if using -mfloat-abi=hard.
* gcc.dg/builtin-apply2.c: Skip for ARM if using -mfloat-abi=hard.
Index: testsuite/gcc.target/arm/mmx-1.c
===================================================================
--- testsuite/gcc.target/arm/mmx-1.c (revision 150331)
+++ testsuite/gcc.target/arm/mmx-1.c (working copy)
@@ -4,6 +4,7 @@
/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mcpu=*" } { "-mcpu=iwmmxt" } } */
/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mabi=*" } { "-mabi=iwmmxt" } } */
/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mfloat-abi=softfp" } { "" } } */
+/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mfloat-abi=hard" } { "" } } */
/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-march=*" } { "-march=iwmmxt" } } */
/* { dg-options "-O -mno-apcs-frame -mcpu=iwmmxt -mabi=iwmmxt" } */
/* { dg-require-effective-target arm32 } */
Index: testsuite/gcc.dg/builtin-apply2.c
===================================================================
--- testsuite/gcc.dg/builtin-apply2.c (revision 150331)
+++ testsuite/gcc.dg/builtin-apply2.c (working copy)
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { "avr-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { "arm*-*-*" } { "-mfloat-abi=hard" } { "" } } */
/* PR target/12503 */
/* Origin: <pierre.nguyen-tuong@asim.lip6.fr> */