This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] Fix gcc.target/aarch64/_Float16_*.c when supplied a -mcpu= option


Hi,
 The gcc.target/aarch64/_Float16_*.c tests fail if we are testing with
-mcpu= option which is not an armv8.2-a processor.  This is because
independent of the order -mcpu=/-march= options, -mcpu= overrides the
-march= option.

Committed as obvious after testing on aarch64-linux-gnu with
"--target_board=unix/\{,-mcpu=thunderx,-mcpu=thunderx2t99,-march=armv8-a,-march=armv8.1-a,-march=armv8.2-a\}".

Thanks,
Andrew Pinski

ChangeLog:
* gcc.target/aarch64/_Float16_1.c: Skip if supplied a -mcpu= option.
* gcc.target/aarch64/_Float16_2.c: Likewise
* gcc.target/aarch64/_Float16_3.c: Likewise.

Attachment: fix_float16_tests.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]