Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Mar 2010 00:03:36 +0800
From:      Aaron Lewis <aaron.lewis1989@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   [SOLVED] Compiler Flags problem with core2 CPU
Message-ID:  <4B8D36D8.8070303@gmail.com>
In-Reply-To: <997836.8570.qm@web65512.mail.ac4.yahoo.com>
References:  <997836.8570.qm@web65512.mail.ac4.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
James Phillips wrote:
> I laughed at your question because I remember reading somewhere that using aggressive optimization options is a good way to find compiler bugs. I think that extends of optimizations for "new" CPU architectures as well. 
> I also heard kernel code avoids MMX instructions for some reason: it may have to do with interrupt handling (fewer registers=faster?). x86 (and AMD64) processors are backwards compatible, so you don't strictly need the latest instructions.
>
> Regards,
>
> James Phillips
Ah , i've just read it may not be safe to use MMX and SSE instructions 
in kernel code.
So my CFLAGS is much too agressive , i'll notice this.

Thank you all.

-- 

Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B8D36D8.8070303>