diff options
author | Di Zhao <dizhao@os.amperecomputing.com> | 2023-12-26 16:36:02 +0800 |
---|---|---|
committer | Di Zhao <dizhao@os.amperecomputing.com> | 2023-12-26 16:38:21 +0800 |
commit | 6cec7b06b3c8187b36fc05cfd4dd38b42313d727 (patch) | |
tree | 5d4874a7f693841b2d84acd7f099b58c093db95b /libiberty | |
parent | 7c6615692e052e6bd08f46d9ed060fdbcd711c5c (diff) | |
download | gcc-6cec7b06b3c8187b36fc05cfd4dd38b42313d727.zip gcc-6cec7b06b3c8187b36fc05cfd4dd38b42313d727.tar.gz gcc-6cec7b06b3c8187b36fc05cfd4dd38b42313d727.tar.bz2 |
Fix compile options of pr110279-1.c and pr110279-2.c
The two testcases are for targets that support FMA. And
pr110279-2.c assumes reassoc_width of FMUL to be 4.
This patch adds missing options, to fix regression test failures
on nvptx/GCN (default reassoc_width of FMUL is 1) and x86_64
(need "-mfma").
gcc/testsuite/ChangeLog:
* gcc.dg/pr110279-1.c: Add "-mcpu=generic" for aarch64; add
"-mfma" for x86_64.
* gcc.dg/pr110279-2.c: Replace "-march=armv8.2-a" with
"-mcpu=generic"; limit the check to be on aarch64.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions