* [PATCH] loongarch: testsuite: skip builtin-apply2.c
@ 2022-04-08 21:46 Xi Ruoyao
2022-04-09 6:06 ` 程璐璐
0 siblings, 1 reply; 2+ messages in thread
From: Xi Ruoyao @ 2022-04-08 21:46 UTC (permalink / raw)
To: gcc-patches; +Cc: Chenghua Xu, Lulu Cheng
A simple testcase change, tested on loongarch64-linux-gnuabif64. Ok for trunk?
---
On LoongArch, variadic functions use different arugment passing
conventions so this test is not valid (see the section named "Variadic
argument" in the [ELF ABI][1]) and should be skipped.
[1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
gcc/testsuite/
* gcc.dg/builtin-apply2.c (dg-skip-if): Add loongarch*-*-*.
---
gcc/testsuite/gcc.dg/builtin-apply2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/builtin-apply2.c b/gcc/testsuite/gcc.dg/builtin-apply2.c
index 9049af5821f..0f350f4ac16 100644
--- a/gcc/testsuite/gcc.dg/builtin-apply2.c
+++ b/gcc/testsuite/gcc.dg/builtin-apply2.c
@@ -1,7 +1,7 @@
/* { dg-do run } */
/* { dg-require-effective-target untyped_assembly } */
/* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { "avr-*-* nds32*-*-* amdgcn-*-*" } } */
-/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "csky*-*-* riscv*-*-* or1k*-*-* msp430-*-* pru-*-*" } } */
+/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "csky*-*-* riscv*-*-* or1k*-*-* msp430-*-* pru-*-* loongarch*-*-*" } } */
/* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { arm*-*-* && arm_hf_eabi } } */
/* PR target/12503 */
--
2.35.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] loongarch: testsuite: skip builtin-apply2.c
2022-04-08 21:46 [PATCH] loongarch: testsuite: skip builtin-apply2.c Xi Ruoyao
@ 2022-04-09 6:06 ` 程璐璐
0 siblings, 0 replies; 2+ messages in thread
From: 程璐璐 @ 2022-04-09 6:06 UTC (permalink / raw)
To: Xi Ruoyao, gcc-patches; +Cc: Chenghua Xu
在 2022/4/9 上午5:46, Xi Ruoyao 写道:
> A simple testcase change, tested on loongarch64-linux-gnuabif64. Ok for trunk?
>
> ---
>
> On LoongArch, variadic functions use different arugment passing
> conventions so this test is not valid (see the section named "Variadic
> argument" in the [ELF ABI][1]) and should be skipped.
>
> [1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
>
> gcc/testsuite/
>
> * gcc.dg/builtin-apply2.c (dg-skip-if): Add loongarch*-*-*.
> ---
> gcc/testsuite/gcc.dg/builtin-apply2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.dg/builtin-apply2.c b/gcc/testsuite/gcc.dg/builtin-apply2.c
> index 9049af5821f..0f350f4ac16 100644
> --- a/gcc/testsuite/gcc.dg/builtin-apply2.c
> +++ b/gcc/testsuite/gcc.dg/builtin-apply2.c
> @@ -1,7 +1,7 @@
> /* { dg-do run } */
> /* { dg-require-effective-target untyped_assembly } */
> /* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { "avr-*-* nds32*-*-* amdgcn-*-*" } } */
> -/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "csky*-*-* riscv*-*-* or1k*-*-* msp430-*-* pru-*-*" } } */
> +/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "csky*-*-* riscv*-*-* or1k*-*-* msp430-*-* pru-*-* loongarch*-*-*" } } */
> /* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { arm*-*-* && arm_hf_eabi } } */
>
> /* PR target/12503 */
OK.
Thanks!
LuluCheng
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-09 6:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08 21:46 [PATCH] loongarch: testsuite: skip builtin-apply2.c Xi Ruoyao
2022-04-09 6:06 ` 程璐璐
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).