From: "H. J. Lu" <hjl@lucon.org>
To: linux-os <linux-os@analogic.com>
Cc: Linus Torvalds <torvalds@osdl.org>,
binutils@sources.redhat.com, Andi Kleen <ak@muc.de>,
linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)
Date: Wed, 30 Mar 2005 13:11:02 -0800 [thread overview]
Message-ID: <20050330211102.GB15384@lucon.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0503301120130.27995@chaos.analogic.com>
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.
next prev parent reply other threads:[~2005-03-30 21:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050326020506.GA8068@lucon.org>
2005-03-27 22:24 ` i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access) H. J. Lu
2005-03-28 15:47 ` Andi Kleen
2005-03-28 17:46 ` H. J. Lu
2005-03-28 18:22 ` H. J. Lu
2005-03-30 0:30 ` Linus Torvalds
2005-03-30 1:53 ` H. J. Lu
2005-03-30 2:44 ` Linus Torvalds
2005-03-30 4:00 ` H. J. Lu
2005-03-30 15:57 ` Linus Torvalds
2005-03-30 16:23 ` linux-os
2005-03-30 21:11 ` H. J. Lu [this message]
2005-03-30 21:08 ` H. J. Lu
2005-03-30 22:18 ` Pau Aliagas
2005-03-31 0:34 ` H. J. Lu
2005-03-31 0:57 ` Pau Aliagas
2005-03-31 1:52 ` H. J. Lu
2005-03-31 10:19 ` Andi Kleen
2005-03-30 15:25 ` Andi Kleen
2005-03-29 19:17 ` PATCH: i386/x86_64 segment register access update H. J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050330211102.GB15384@lucon.org \
--to=hjl@lucon.org \
--cc=ak@muc.de \
--cc=binutils@sources.redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.