diff options
author | YunQiang Su <yunqiang.su@cipunited.com> | 2023-11-09 17:21:41 +0800 |
---|---|---|
committer | YunQiang Su <yunqiang.su@cipunited.com> | 2023-11-09 17:59:23 +0800 |
commit | 78bfc86bf28cb280fac4fe26726c024e6acfc71c (patch) | |
tree | d4b107fab499e864d8f55c205f800216be58cdcd /MAINTAINERS | |
parent | 3a6df3281a525ae6113f50d7b38b09fcd803801e (diff) | |
download | gcc-78bfc86bf28cb280fac4fe26726c024e6acfc71c.zip gcc-78bfc86bf28cb280fac4fe26726c024e6acfc71c.tar.gz gcc-78bfc86bf28cb280fac4fe26726c024e6acfc71c.tar.bz2 |
MIPS: Use -mnan value for -mabs if not specified
On most hardware, FCSR.ABS2008 is set the value same with FCSR.NAN2008.
Let's use this behaivor by default in GCC, aka
gcc -mnan=2008 -c fabs.c
will imply `-mabs=2008`.
And of course, `gcc -mnan=2008 -mabs=legacy` can continue workable
like previous.
gcc/ChangeLog
* config/mips/mips.cc(mips_option_override): Set mips_abs to
2008, if mips_abs is default and mips_nan is 2008.
gcc/testsuite/
* gcc.target/mips/fabs-nan2008.c: New test.
* gcc.target/mips/fabsf-nan2008.c: New test.
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions