i386: Use no-mmx,no-sse for LIBGCC2_UNWIND_ATTRIBUTE [PR104890]
authorJakub Jelinek <jakub@redhat.com>
Tue, 15 Mar 2022 09:24:22 +0000 (10:24 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 15 Mar 2022 09:24:22 +0000 (10:24 +0100)
commitda24fce323eaf088239e0f900dd23f6b05d552c1
tree78bf9a35b7b819168f1bfa11f3b2d9935dda0a95
parent49fb0af9bf8f16907980d383c2bbc85e185ec2e0
i386: Use no-mmx,no-sse for LIBGCC2_UNWIND_ATTRIBUTE [PR104890]

Regardless of the outcome of the general-regs-only stuff in x86gprintrin.h,
apparently general-regs-only is much bigger hammer than no-sse, and e.g.
using 387 instructions in the unwinder isn't a big deal, it never needs
to realign the stack because of it.

So, the following patch uses no-sse (and adds no-mmx to it, even when not
strictly needed).

2022-03-15  Jakub Jelinek  <jakub@redhat.com>

PR target/104890
* config/i386/i386.h (LIBGCC2_UNWIND_ATTRIBUTE): Use no-mmx,no-sse
instead of general-regs-only.
gcc/config/i386/i386.h