diff options
author | Alexandre Oliva <oliva@adacore.com> | 2021-02-11 02:08:06 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2021-02-11 02:08:06 -0300 |
commit | a5c4f5562a086b256f031f0a995d2700762e465f (patch) | |
tree | b29e82d1857655cacbc133bc0e40d6116a5b76e9 /gcc/fortran/match.c | |
parent | 19c023241020e3b6f5c38f47447bc0fcbe9fef5f (diff) | |
download | gcc-a5c4f5562a086b256f031f0a995d2700762e465f.zip gcc-a5c4f5562a086b256f031f0a995d2700762e465f.tar.gz gcc-a5c4f5562a086b256f031f0a995d2700762e465f.tar.bz2 |
use -mfpu=auto for arm/simd/vmmla_1.c
On some of our arm targets, we get various -mfpu flags implicitly or
explicitly passed to the compiler during test runs. The target
options pushed in arm_neon.h that affect vmmlaq_s32 set isa_bit_neon,
but the caller doesn't have that bit set, so arm_can_inline_p rejects
the attempt to inline it, and the test fails.
An explicit -mfpu=neon would address the compile problem, but cause
the assembler to reject the generated code.
So this patch adds -mfpu=auto to the test, overriding any implicit
flags with the fpu implied by the arch.
for gcc/testsuite/ChangeLog
* gcc.target/arm/simd/vmmla_1.c: Pass -mfpu=auto.
Diffstat (limited to 'gcc/fortran/match.c')
0 files changed, 0 insertions, 0 deletions