I'm afraid there is some misunderstanding here...
16 -> 32-bit code migration started before the bin86->GAS migration.
You can see it in 2.3.19 as well as in 2.3.21.
I don't see any advantages of using the 32-bit code in bootsect.S.
So it was the reason of my first question:
are there *any* advantages of using it there ?
> What are the advantages of the following code:
> movw $128, %cx
> subw %si, %si
> subw %di, %di
> cld
> rep
> movsl <------- 32 bit
> instead of
> movw $256, %cx
> subw %si, %si
> subw %di, %di
> cld
> rep
> movsw <------- 16 bit
> (which is shorter), etc.
> I hope, nobody will joke saying it is faster ...
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/