Date: Fri, 10 Nov 2006 23:17:15 +0100 From: Niclas Zeising <lothrandil@n00b.apagnu.se> To: "Jason C. Wells" <jcw@highperformance.net> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: Compiler Options Message-ID: <4554FA6B.3050406@n00b.apagnu.se> In-Reply-To: <4554D43E.5010700@highperformance.net> References: <4554D43E.5010700@highperformance.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 options do > I set and where do I set them to get a kernel properly tuned for pentium3? > > Thanks, > Jason C. Wells If i recall correctly, instructions taking advantage of sse, mmx etc. are purposefully disabled in the kernel via the mentioned options. I can not at the moment recall why though. Ordinary userland applications and ports are usually compiled to take advantage of those instructions if the CPU supports them. Regards! //Niclas --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4554FA6B.3050406>