Console problem with ALT-F# keys

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


Hi--

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/kern.mk:

# [ ... ]  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
INLINE_LIMIT?=  8000
.endif

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

Regards,
-- 
-Chuck



More information about the freebsd-current mailing list