Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 18:47:34 -0400 (EDT)
From:      Kenneth W Cochran <kwc@world.std.com>
To:        Mike Smith <msmith@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: New kernel option CPU_ENABLE_SSE
Message-ID:  <200108182247.SAA09198@world.std.com>

next in thread | raw e-mail | index | archive | help
>To: Kris Kennaway <kris@obsecurity.org>
>cc: Kenneth W Cochran <kwc@world.std.com>, freebsd-stable@FreeBSD.ORG
>Subject: Re: New kernel option CPU_ENABLE_SSE
>
>> --R+My9LyyhiUvIEro
>> Content-Type: text/plain; charset=us-ascii
>> Content-Disposition: inline
>>
>> On Thu, Aug 16, 2001 at 04:20:35PM -0400, Kenneth W Cochran wrote:
>>
>> > Assuming CPU_ENABLE_SSE is a Good Thing, why not make it
>> > "default" with the "cpu I686_CPU" kernel config directive
>> > (similar to F00F_HACK auto-include with I586_CPU)?
>>
>> Because not all i686'es support SSE.
>
>So detect it automatically based on the CPU feature bits.
>
>Needing a kernel compile option for this is unforgivably lame.  If you
>want to be able to disable it, use a tunable.

Perhaps; the "gist" I get is that the compile option is for
some "field-testing."  Maybe similarly appropriate would be
something similar to "NO_F00F_HACK"; for example,
"CPU_DISABLE_SSE" or "CPU_NO_ENABLE_SSE" (?).

Just thinking out loud; the current method is ok with me.  :)

-kc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108182247.SAA09198>