arm: Fix testcase selection for Low Overhead Loop tests [PR96375]
authorAndrea Corallo <andrea.corallo@arm.com>
Thu, 1 Oct 2020 15:16:00 +0000 (17:16 +0200)
committerAndrea Corallo <andrea.corallo@arm.com>
Thu, 1 Oct 2020 15:27:55 +0000 (17:27 +0200)
commit968ec08efefeea6fbc0cdc379e98ce3e28904083
tree1d887eb14af60260f111ec703db2bb9c5fa4da4b
parent63a32847b0e8d14ae1eafe047ea43441f6e3a11c
arm: Fix testcase selection for Low Overhead Loop tests [PR96375]

gcc/testsuite/

PR target/96375
* gcc.target/arm/lob1.c: Fix missing flag.
* gcc.target/arm/lob2.c: Likewise.
* gcc.target/arm/lob3.c: Likewise.
* gcc.target/arm/lob4.c: Likewise.
* gcc.target/arm/lob5.c: Likewise.
* gcc.target/arm/lob6.c: Likewise.
* lib/target-supports.exp
(check_effective_target_arm_v8_1_lob_ok): Return 1 only for
cortex-m targets, add '-mthumb' flag.
gcc/testsuite/gcc.target/arm/lob1.c
gcc/testsuite/gcc.target/arm/lob2.c
gcc/testsuite/gcc.target/arm/lob3.c
gcc/testsuite/gcc.target/arm/lob4.c
gcc/testsuite/gcc.target/arm/lob5.c
gcc/testsuite/gcc.target/arm/lob6.c
gcc/testsuite/lib/target-supports.exp