Re: PATCH - assembler glitches

Brian Gerst (bgerst@quark.vpplus.com)
Tue, 12 Oct 1999 17:29:42 -0400


Martin Dalecki wrote:
>
> The attached patch is sweepping out obvious errors in IA32 assembler
> code.
> Just apply it.

Using movw with the segment registers, while logically correct, causes
gas to produce size prefix opcodes. Since the segment registers are
always 16-bit, these prefixes are redundant. Using movl tricks gas into
not producing them.

--

Brian Gerst

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