testsuite: arm: Use effective-target for pr68620 and pr78041 tests

gcc/testsuite/ChangeLog:

	* gcc.target/arm/pr68620.c: Use effective-target arm_neon.
	* gcc.target/arm/pr78041.c: Use effective-target arm_arch_v7a.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
This commit is contained in:
Torbjörn SVENSSON 2024-10-31 19:00:36 +01:00
parent e152a73433
commit c751889148
2 changed files with 5 additions and 4 deletions

View file

@ -1,8 +1,8 @@
/* { dg-do compile } */
/* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
/* { dg-require-effective-target arm_fp_ok } */
/* { dg-options "-mfp16-format=ieee" } */
/* { dg-add-options arm_fp } */
/* { dg-require-effective-target arm_arch_v7a_ok } */
/* { dg-options "-mfp16-format=ieee -mfpu=auto -mfloat-abi=softfp" } */
/* { dg-add-options arm_arch_v7a } */
#include "arm_neon.h"

View file

@ -1,6 +1,7 @@
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-require-effective-target arm_neon_ok } */
/* { dg-options "-fno-inline -mthumb -O1 -mfpu=neon -w" } */
/* { dg-options "-fno-inline -mthumb -O1 -w" } */
/* { dg-add-options arm_neon } */
extern void abort (void);