From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30739 invoked by alias); 30 Mar 2005 22:19:04 -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 30716 invoked from network); 30 Mar 2005 22:18:56 -0000 Received: from unknown (HELO pau.newtral.org) (62.57.106.17) by sourceware.org with SMTP; 30 Mar 2005 22:18:56 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by pau.newtral.org (Postfix) with ESMTP id C7CD03C24D; Thu, 31 Mar 2005 00:18:55 +0200 (CEST) Date: Thu, 31 Mar 2005 13:27:00 -0000 From: Pau Aliagas X-X-Sender: pau@pau.intranet.ct To: Andi Kleen , linux kernel Cc: binutils@sources.redhat.com Subject: Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access) In-Reply-To: <20050330210801.GA15384@lucon.org> Message-ID: 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; format=flowed X-SW-Source: 2005-03/txt/msg00912.txt.bz2 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? -- Pau