[arm] gcc.target/arm/cs*: Use dg-add-options arm_arch_v8_1m_main
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 21 Sep 2020 15:51:48 +0000 (15:51 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 21 Sep 2020 16:19:00 +0000 (16:19 +0000)
commitb0c990f2661a2979c68c840781847efe27a0779b
tree88124b72560264eb796c609e1a8bb976fc0deb0b
parente6f58fb6196ba16ce070e3722451f040a13f963b
[arm] gcc.target/arm/cs*: Use dg-add-options arm_arch_v8_1m_main

These testcases need thumb mode, which may not be the default.

Using dg-add-options arm_arch_v8_1m_main ensures that -mthumb is used
and makes the test pass in more configurations.

2020-09-21  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc.target/arm/csinc-1.c: Use dg-add-options
arm_arch_v8_1m_main.
* gcc.target/arm/csinv-1.c: Likewise.
* gcc.target/arm/csneg.c: Likewise.
gcc/testsuite/gcc.target/arm/csinc-1.c
gcc/testsuite/gcc.target/arm/csinv-1.c
gcc/testsuite/gcc.target/arm/csneg.c