[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building with -msse

Russ Allbery <rra@debian.org> writes:

> Faidon Liambotis <paravoid@debian.org> writes:
>> Russ Allbery wrote:
>>> However, a user mentioned that he thinks all chips that fall into the
>>> amd64 architecture have SSE and hence adding -msse would be safe for the
>>> amd64 build.  Is that correct?  And in general are there any guidelines
>>> about things like this?  I assume that using -msse for the i386 build is
>>> still out since we still support 486 chips.
>> AFAIK, the amd64 gcc enables those extension by default.
> Yeah, that was one of the things that was confusing me.  It looks like
> gnubg also has some custom code that's enabled based on a configure
> argument as well.

You should talk to upstream and have it default to on for amd64.

And check if there is any sse3 support. That one needs cpu suport on
amd64 too.

> Also, it looks like it probes at runtime for SSE, so I may be able to
> build with that on i386 as well.


Reply to: