svn commit: r219679 - head/sys/i386/include

Roman Divacky rdivacky at FreeBSD.org
Wed Mar 16 17:45:57 UTC 2011


On Wed, Mar 16, 2011 at 12:32:56PM -0400, Jung-uk Kim wrote:
> On Tuesday 15 March 2011 08:45 pm, Maxim Dounin wrote:
> > This isn't really different as long as GENERIC kernel used, as
> > GENERIC defines I486_CPU.
> 
> Fixed in r219698, sorry.
> 
> Actually, I think we should remove i486 from GENERIC at some point.  
> It has too many limitations.  For example, I really love to implement 
> atomic 64-bit mem read/write using cmpxchg8b (no 0xf00f joke, please) 
> but I cannot do that cleanly without removing I486 support or 
> checking cpu_class at run-time. :-(

if we drop i486 I think it makes sense to require something that has
at least SSE2, thus we can have the same expectations as on amd64.

and we can use sse2 unconditionally (str*, mem* etc.)


More information about the svn-src-all mailing list