gcc/testsuite/ChangeLog:
* gcc.target/arm/aes-fuse-1.c: Use effective-target
arm_cpu_cortex_a53.
* gcc.target/arm/aes-fuse-2.c: Likewise.
* lib/target-supports.exp: Define effective-target
arm_cpu_cortex_a53.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
/* { dg-do compile } */
/* { dg-require-effective-target arm_crypto_ok } */
+/* { dg-require-effective-target arm_cpu_cortex_a53 } */
/* { dg-add-options arm_crypto } */
-/* { dg-additional-options "-mcpu=cortex-a53 -O3 -dp" } */
+/* { dg-add-options arm_cpu_cortex_a53 } */
+/* { dg-additional-options "-O3 -dp" } */
#include <arm_neon.h>
/* { dg-do compile } */
/* { dg-require-effective-target arm_crypto_ok } */
+/* { dg-require-effective-target arm_cpu_cortex_a53 } */
/* { dg-add-options arm_crypto } */
-/* { dg-additional-options "-mcpu=cortex-a53 -O3 -dp" } */
+/* { dg-add-options arm_cpu_cortex_a53 } */
+/* { dg-additional-options "-O3 -dp" } */
#include <arm_neon.h>
# flags). See above for setting -march=.
foreach { armfunc armflag armdefs } {
xscale_arm "-mcpu=xscale -mtune=xscale -mfloat-abi=soft -marm" "__XSCALE__ && !__thumb__"
+ cortex_a53 "-mcpu=cortex-a53 -mtune=cortex-a53" __ARM_ARCH_8A__
cortex_a57 "-mcpu=cortex-a57 -mtune=cortex-a57" __ARM_ARCH_8A__
cortex_m0 "-mcpu=cortex-m0 -mtune=cortex-m0 -mfloat-abi=soft -mthumb" "__ARM_ARCH_6M__ && __thumb__"
cortex_m0_small "-mcpu=cortex-m0.small-multiply -mtune=cortex-m0.small-multiply -mfloat-abi=soft -mthumb" "__ARM_ARCH_6M__ && __thumb__"