Linux-kernel mailing list archive 1998-50,: Re: [PATCH] i386 entry.S alignment tweak

# Re: [PATCH] i386 entry.S alignment tweak

Riley Williams (rhw@bigfoot.com)
Mon, 14 Dec 1998 11:29:43 +0000 (GMT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Arjan van de Ven: "Patch for Makefile to improve linkability of the kernel"
- Previous message: ralf@uni-koblenz.de: "Re: Good news for SPARC/Linux"

Hi Jamie.

> BTW, they're not nop instructions these days: they're the largest
> filler instructions gas can put in, so an alignment of a few bytes
> needn't take any longer to execute than a single byte alignment.

I remember seeing some assembly that had the following sequence in the
middle thereof (not for gcc but you can probably decode it):

LOCK
SEG ES
MOV DI,DI

The first time I read through that, I wondered what on earth it was
supposed to do, and only later did I realise it was effectively a
rather verbose NOP instruction...

Best wishes from Riley.

-
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/

- Next message: Arjan van de Ven: "Patch for Makefile to improve linkability of the kernel"
- Previous message: ralf@uni-koblenz.de: "Re: Good news for SPARC/Linux"