On Wed, Mar 30, 2005 at 11:23:25AM -0500, linux-os wrote: > > So if there are any "movw (mem), %ds" and > "movw %ds, (mem)" in the code. The sizeof(mem) > needs to be 32-bits and the 'w' needs to be removed. > Otherwise, we are wasting CPU cycles and/or fooling > ourselves. GAS needs to continue to generate whatever > it was fed, with appropriate diagnostics if it > is fed the wrong stuff. FYI, gas hasn't generated 0x66 on "movw (%eax),%ds" for a long time and started doing it on "movw %ds,(%eax)" since Nov. 4, 2004. H.J. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: "H. J. Lu" <[email protected]>
- Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: Andi Kleen <[email protected]>
- Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: Linus Torvalds <[email protected]>
- Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: "H. J. Lu" <[email protected]>
- Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: Linus Torvalds <[email protected]>
- Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: "H. J. Lu" <[email protected]>
- Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: Linus Torvalds <[email protected]>
- Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- From: linux-os <[email protected]>
- i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- Prev by Date: Re: smp/swsusp done right
- Next by Date: Re: NFS client latencies
- Previous by thread: Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- Next by thread: Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
- Index(es):