]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: Also check _SOFT_FLOAT in <x86gprintrin.h>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 13 Mar 2022 15:57:51 +0000 (08:57 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 16 Mar 2022 13:30:53 +0000 (06:30 -0700)
commit3117ffce4c1598a35e724138735b099262353358
treecd3121aeafc0396a7982cbd6612e01976fc0d879
parent2a5fabeb2faffa671e9b0984ce3a6f76153d23d4
x86: Also check _SOFT_FLOAT in <x86gprintrin.h>

Push target("general-regs-only") in <x86gprintrin.h> if x87 is enabled.

gcc/

PR target/104890
* config/i386/x86gprintrin.h: Also check _SOFT_FLOAT before
pushing target("general-regs-only").

gcc/testsuite/

PR target/104890
* gcc.target/i386/pr104890.c: New test.
gcc/config/i386/x86gprintrin.h
gcc/testsuite/gcc.target/i386/pr104890.c [new file with mode: 0644]