Re: Compiler Options

2006-11-11 Thread O. Hartmann
Daniel O'Connor wrote: On Saturday 11 November 2006 08:54, Jeremy Chadwick wrote: The kernel itself _will not_ use any SSE or MMX operations when built. This is because these optimisations are known to break the FreeBSD kernel. This applies to all i386 architectures, and probably 64-bit

Re: Compiler Options

2006-11-11 Thread Jason C. Wells
O. Hartmann wrote: Daniel O'Connor wrote: On Saturday 11 November 2006 08:54, Jeremy Chadwick wrote: The kernel itself _will not_ use any SSE or MMX operations when built. This is because these optimisations are known to break the FreeBSD kernel. This applies to all i386

Compiler Options

2006-11-10 Thread Jason C. Wells
I have set CPUTYPE=p3 in make.conf. When I compile my kernel I see -march=pentium3 as I expect. I also see -mno-mmx and -mno-sse are set which I do not expect given that -march=pentium3 is used. I presume that I want MMX and SSE since my processor supports it. What options do I set and

Re: Compiler Options

2006-11-10 Thread Michael Proto
From /usr/src/sys/conf/kern.mk: # On the i386, do not align the stack to 16-byte boundaries. Otherwise GCC # 2.95 adds code to the entry and exit point of every function to align the # stack to 16-byte boundaries -- thus wasting approximately 12 bytes of stack # per function call. While the

Re: Compiler Options

2006-11-10 Thread Niclas Zeising
Jason C. Wells wrote: I have set CPUTYPE=p3 in make.conf. When I compile my kernel I see -march=pentium3 as I expect. I also see -mno-mmx and -mno-sse are set which I do not expect given that -march=pentium3 is used. I presume that I want MMX and SSE since my processor supports it. What

Re: Compiler Options

2006-11-10 Thread Joerg Pernfuss
On Fri, 10 Nov 2006 11:34:22 -0800 Jason C. Wells [EMAIL PROTECTED] wrote: I have set CPUTYPE=p3 in make.conf. When I compile my kernel I see -march=pentium3 as I expect. I also see -mno-mmx and -mno-sse are set which I do not expect given that -march=pentium3 is used. I presume that I

Re: Compiler Options

2006-11-10 Thread Jeremy Chadwick
On Fri, Nov 10, 2006 at 11:34:22AM -0800, Jason C. Wells wrote: I have set CPUTYPE=p3 in make.conf. When I compile my kernel I see -march=pentium3 as I expect. I also see -mno-mmx and -mno-sse are set which I do not expect given that -march=pentium3 is used. I presume that I want MMX and

Re: Compiler Options

2006-11-10 Thread Daniel O'Connor
On Saturday 11 November 2006 08:54, Jeremy Chadwick wrote: The kernel itself _will not_ use any SSE or MMX operations when built. This is because these optimisations are known to break the FreeBSD kernel. This applies to all i386 architectures, and probably 64-bit architectures too (not

Re: Compiler Options

2006-11-10 Thread Joerg Pernfuss
On Sat, 11 Nov 2006 10:19:42 +1030 Daniel O'Connor [EMAIL PROTECTED] wrote: On Saturday 11 November 2006 08:54, Jeremy Chadwick wrote: The kernel itself _will not_ use any SSE or MMX operations when built. This is because these optimisations are known to break the FreeBSD kernel. This