On 25/08/2008, Dave Curtis <[EMAIL PROTECTED]> wrote:
> Simon Clubley wrote:
> >
> > I built the gcc compiler on the RedHat 7.3 system, and used the
> > operating system supplied gcc on the modern Linux and the FreeBSD 6.2
> > systems.
> >
>
>  So that would say the the gcc configure by default enables emitting SSE
> instructions when built on non-SSE machines.
>

Yes, but that's ok as gcc doesn't actually emit them until
specifically told it's ok to do so.

It seems that the gcc mindset is to emit code that runs on all x86
machines by default
until gcc is told that it's ok to target the features of a specific
processor class.

The issue in the BRL-CAD configure script was that it's checking for
the ability of gcc to emit those opcodes instead of checking for the
ability of the target machine to execute those opcodes, which, as
you've pointed out, was a mistake.

Simon.

-- 
Simon Clubley
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to