From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2240 invoked by alias); 31 Mar 2005 00:34:53 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 2211 invoked from network); 31 Mar 2005 00:34:48 -0000 Received: from unknown (HELO rwcrmhc14.comcast.net) (216.148.227.89) by sourceware.org with SMTP; 31 Mar 2005 00:34:48 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (rwcrmhc14) with ESMTP id <2005033100343701400alidve>; Thu, 31 Mar 2005 00:34:47 +0000 Received: by lucon.org (Postfix, from userid 1000) id 2E93B97E5A; Wed, 30 Mar 2005 16:34:37 -0800 (PST) Date: Thu, 31 Mar 2005 15:05:00 -0000 From: "H. J. Lu" To: Pau Aliagas Cc: Andi Kleen , linux kernel , binutils@sources.redhat.com Subject: Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access) Message-ID: <20050331003437.GB19573@lucon.org> References: <20050326020506.GA8068@lucon.org> <20050327222406.GA6435@lucon.org> <20050330015312.GA27309@lucon.org> <20050330040017.GA29523@lucon.org> <20050330210801.GA15384@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2005-03/txt/msg00915.txt.bz2 On Thu, Mar 31, 2005 at 12:18:55AM +0200, Pau Aliagas wrote: > On Wed, 30 Mar 2005, H. J. Lu wrote: > > >On Wed, Mar 30, 2005 at 07:57:28AM -0800, Linus Torvalds wrote: > > >>>There is no such an instruction of "movl %ds,(%eax)". The old assembler > >>>accepts it and turns it into "movw %ds,(%eax)". > >> > >>I disagree. Violently. As does the old assembler, which does not turn > >>"mov" into "movw" as you say. AT ALL. > > > >I should have made myself clear. By "movw %ds,(%eax)", I meant: > > > > 8c 18 movw %ds,(%eax) > > > >That is what the assembler generates, and should have generated, for > >"movw %ds,(%eax)" since Nov. 4, 2004. > > Could this be the reason for the reported slowdown in the last six months? > Can you elaborate? H.J.