i386: Reject -m96bit-long-double for 64bit targets [PR100041]
authorUros Bizjak <ubizjak@gmail.com>
Fri, 23 Apr 2021 16:45:14 +0000 (18:45 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Fri, 23 Apr 2021 16:46:00 +0000 (18:46 +0200)
commit716bb02b40ecef5564abb5ba45a594323123a104
treeed436d0a8dad6056b0df742281b9e422848b0586
parentd54693f806a53666eae7411581fc3bd6709807c6
i386: Reject -m96bit-long-double for 64bit targets [PR100041]

64bit targets default to 128bit long double, so -m96bit-long-double should
not be used.  Together with -m128bit-long-double, this option was intended
to be an optimization for 32bit targets only.

Error out when -m96bit-long-double is used with 64bit targets.

2021-04-23  Uroš Bizjak  <ubizjak@gmail.com>

gcc/
PR target/100041
* config/i386/i386-options.c (ix86_option_override_internal):
Error out when -m96bit-long-double is used with 64bit targets.
* config/i386/i386.md (*pushxf_rounded): Remove pattern.

gcc/testsuite/

PR target/100041
* gcc.target/i386/pr79514.c (dg-error):
Expect error for 64bit targets.
gcc/config/i386/i386-options.c
gcc/config/i386/i386.md
gcc/testsuite/gcc.target/i386/pr79514.c