View Single Post
  #6   (View Single Post)  
Old 1st October 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

Quote:
Originally Posted by chill View Post
ok so if i add something like you have to my make.conf file
Code:
WITH_SSE= yes
WITH_3DNOW= yes
WITH_MMX= yes
this is going to build all my apps like this? isn't this kind of aggressive?
You should use CPUTYPE and specify your processor. That way GCC will take advantage of your specific processor's capabilities where applicable. If you have Pentium 4, you can add to /etc/make.conf:
Code:
CPUTYPE?=pentium4
See /usr/share/examples/etc/make.conf for more processor types.

Quote:
Originally Posted by chill View Post
I was looking through mplayer documentation and saw this:
Quote:
If your CPU has SSE, recompile your kernel with "options CPU_ENABLE_SSE" (FreeBSD-STABLE or kernel patches required).
I have no idea how old some of the mplayer documentation is or if this is even relevant anymore.
This option is very old. SSE is enabled by default now. There is an option to disable it, however. For mplayer, you can disable dynamic cpu checking in the options and it will compile for your processor only.
Reply With Quote