]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: arm: Tighten compile options for short-vfp-1.c [PR119556]
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 3 Apr 2025 18:45:51 +0000 (18:45 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 7 Apr 2025 10:01:09 +0000 (10:01 +0000)
commit2a155fab5a015ed4500474bab9b6ce0c4bd6c52e
tree8bc48d2ad508471a76894c3a5e50fa4361774d41
parente7c3a7ccd6209c1a906bdf59207f0fa4258b692b
testsuite: arm: Tighten compile options for short-vfp-1.c [PR119556]

The previous version of this test required arch v6+ (for sxth), and
the number of vmov depended on the float-point ABI (where softfp
needed more of them to transfer floating-point values to and from
general registers).

With this patch we require arch v7-a, vfp FPU and -mfloat-abi=hard, we
also use -O2 to clean the generated code and convert
scan-assembler-times directives into check-function-bodies.

Tested on arm-none-linux-gnueabihf and several flavours of
arm-none-eabi.

gcc/testsuite/ChangeLog:

PR target/119556
* gcc.target/arm/short-vfp-1.c: Improve dg directives.
gcc/testsuite/gcc.target/arm/short-vfp-1.c