Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] profiles/arch/amd64: add "-mfpmath=sse" to CFLAGS_x86
Date: Tue, 18 Oct 2022 15:12:17
Message-Id: CAJ0EP41kxdPSs8j56zNcsQbFkBWCOMkYNOaX2bwvsmMN224KeQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH] profiles/arch/amd64: add "-mfpmath=sse" to CFLAGS_x86 by David Seifert
1 On Tue, Oct 18, 2022 at 9:37 AM David Seifert <soap@g.o> wrote:
2 >
3 > On Tue, 2022-10-18 at 13:40 +0200, Ulrich Mueller wrote:
4 > > > > > > > On Tue, 18 Oct 2022, David Seifert wrote:
5 > >
6 > > > > > -CFLAGS_x86="-m32"
7 > > > > > +CFLAGS_x86="-m32 -mfpmath=sse"
8 > >
9 > > > -mfpmath=sse is already the default on amd64.
10 > >
11 > > I see. This change makes sense then.
12 > >
13 > > What about profiles/arch/x86 though? IIUC we'll end up with an
14 > > inconsistency between x86 and multilib amd64.
15 > >
16 > > Ulrich
17 >
18 > What if I want to build Gentoo on an old AMD Thunderbird which has
19 > neither SSE1 nor the more important SSE2?
20
21 Right. On amd64 CPU always supports SSE2, so -mfpmath=sse will always
22 work there.
23
24 On x86, we need to consider a more diverse set of supported instructions.