Linux-kernel mailing list archive 1999-41,: Re: PATCH - assembler glitches

# Re: PATCH - assembler glitches

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Andrea Arcangeli: "Re: 2.2.x corruption solved (Was Re: Statically linked 'tar')"
- Previous message: Andrea Arcangeli: "Re: 2.2.x corruption solved (Was Re: Statically linked 'tar')"
- Maybe in reply to: Martin Dalecki: "PATCH - assembler glitches"
- Next in thread: Martin Dalecki: "Re: PATCH - assembler glitches"

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/

- Next message: Andrea Arcangeli: "Re: 2.2.x corruption solved (Was Re: Statically linked 'tar')"
- Previous message: Andrea Arcangeli: "Re: 2.2.x corruption solved (Was Re: Statically linked 'tar')"
- Maybe in reply to: Martin Dalecki: "PATCH - assembler glitches"
- Next in thread: Martin Dalecki: "Re: PATCH - assembler glitches"