-mno-long-calls for expected regalloc in arm/fp16-aapcs-2.c test
authorAlexandre Oliva <oliva@adacore.com>
Fri, 1 Jan 2021 00:38:22 +0000 (21:38 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 1 Jan 2021 04:38:16 +0000 (01:38 -0300)
commitfe0e54c69fc0c07144ce7e8710c29162053430b3
treece4b3e4c12e099b9bb5bd1aa287a6339e3ed3ddd
parent53be78f0715b8b34ebdf4fa507f30fcd622de0a7
-mno-long-calls for expected regalloc in arm/fp16-aapcs-2.c test

The implicit -mlong-calls used in our arm-vxworks configurations
changes the register allocation patterns in the arm/fp16-aapcs-2.c
test: r3 ends up used in the long-call sequence, and we end up using
ip as a temporary, which doesn't match the expected mov patterns.

This patch adds an explicit -mno-long-calls for the generated code to
match the expectation.

for  gcc/testsuite/ChangeLog

* gcc.target/arm/fp16-aapcs-2.c: Use -mno-long-calls.
gcc/testsuite/gcc.target/arm/fp16-aapcs-2.c