diff options
author | Sunil K Pandey <skpgkp2@gmail.com> | 2020-09-10 23:17:59 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-09-11 09:52:21 -0700 |
commit | 40e99ed5f4e59c6d0a8e81cd6544c9b4e7ec2fe7 (patch) | |
tree | 1246369dcdf22426aed14d161e26108374604035 /gcc/coverage.c | |
parent | f36a8168f04dfbde9d4c64421c1058975b28ff9a (diff) | |
download | gcc-40e99ed5f4e59c6d0a8e81cd6544c9b4e7ec2fe7.zip gcc-40e99ed5f4e59c6d0a8e81cd6544c9b4e7ec2fe7.tar.gz gcc-40e99ed5f4e59c6d0a8e81cd6544c9b4e7ec2fe7.tar.bz2 |
Fix fma test case [PR97018]
These tests are written for 256 bit vector. For -march=cascadelake,
vector size changed to 512 bit. It doubles the number of fma
instruction and test fail. Fix is to explicitly disable 512 bit
vector by passing additional option -mno-avx512f.
Tested on x86-64.
gcc/testsuite/ChangeLog:
PR target/97018
* gcc.target/i386/l_fma_double_1.c: Add option -mno-avx512f.
* gcc.target/i386/l_fma_double_2.c: Likewise.
* gcc.target/i386/l_fma_double_3.c: Likewise.
* gcc.target/i386/l_fma_double_4.c: Likewise.
* gcc.target/i386/l_fma_double_5.c: Likewise.
* gcc.target/i386/l_fma_double_6.c: Likewise.
* gcc.target/i386/l_fma_float_1.c: Likewise.
* gcc.target/i386/l_fma_float_2.c: Likewise.
* gcc.target/i386/l_fma_float_3.c: Likewise.
* gcc.target/i386/l_fma_float_4.c: Likewise.
* gcc.target/i386/l_fma_float_5.c: Likewise.
* gcc.target/i386/l_fma_float_6.c: Likewise.
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions