x86 boot code build

Konstantin Belousov kostikbel at gmail.com
Fri Oct 5 13:36:38 UTC 2012


On Fri, Oct 05, 2012 at 03:22:31PM +0200, Dag-Erling Sm??rgrav wrote:
> Konstantin Belousov <kostikbel at gmail.com> writes:
> > So what ISA additions do you expect to get advantage of by switching
> > to pentium-mmx from 486 ? As I already said, I am not aware of any.
> 
> The TSC, for one.  MMX, and the ability to use MMX registers to copy
> data.

TSC is used regardless of the compiler flags, we use it if CPU claims
that TSC is supported, even in usermode.

Compiler never generates MMX copies. More, in kernel, the manual
FPU context save/restore is needed around the FPU/MMX register file access.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20121005/8c5eaba5/attachment.pgp


More information about the freebsd-arch mailing list