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

Re: Building with -msse

"Steinar H. Gunderson" <sgunderson@bigfoot.com> writes:
> On Sun, Apr 27, 2008 at 07:17:14AM +0200, Bernd Eckenfels wrote:

>> If it probes, it is most likely loading an optimized asm module, and
>> you dont need the SSE switch at all.

> If you use gcc inline assembler and want to use SSE registers in
> constraints (or use SSE intrinsics), you'll need -msse even if you write
> all the SSE code yourself. It's not an unusual situation.

After further investigation, it looks like gnubg does runtime probing, but
if you tell it to use SSE, it also adds -msse to the build flags.  Will
building with -msse break the binaries on i386 chips without SSE all by
itself, even if gnubg doesn't run any of its SSE code unless SSE is
actually detected?

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: