Console problem with ALT-F# keys

Chuck Swiger cswiger at
Fri Aug 26 06:41:58 UTC 2011


On Aug 25, 2011, at 5:56 PM, Pegasus Mc Cleaft wrote:
> I am running FreeBSD 9.0-BETA1 r225125 compiled with LLVM on a Xeon
> processor (CPUTYPE=core2 and CFLAGS= -mmmx -msse -msse2 -msse3 -O2
> -fno-strict-aliasing -pipe)

The FreeBSD kernel doesn't use MMX or SSE by explicit design choice.  See sys/conf/

# [ ... ]  Explicitly prohibit the use of SSE and other SIMD
# operations inside the kernel itself.  These operations are exclusively
# reserved for user applications.
.if ${MACHINE_ARCH} == "i386" && ${CC} != "icc"
CFLAGS+=        -mno-align-long-strings -mpreferred-stack-boundary=2 \
               -mno-mmx -mno-3dnow -mno-sse -mno-sse2

Trying to override the default compiler flags to force it to use MMX/SSE is simply not going to work.


More information about the freebsd-current mailing list