Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2011 22:41:45 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Pegasus Mc Cleaft <ken@mthelicon.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Console problem with ALT-F# keys
Message-ID:  <BA5FF924-1811-49A0-9FA7-7C2523427A8C@mac.com>
In-Reply-To: <003d01cc638a$ef75c050$ce6140f0$@com>
References:  <003d01cc638a$ef75c050$ce6140f0$@com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA5FF924-1811-49A0-9FA7-7C2523427A8C>