From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37611 invoked by alias); 13 May 2015 12:34:28 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 37600 invoked by uid 89); 13 May 2015 12:34:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 13 May 2015 12:34:26 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 478F0AD14; Wed, 13 May 2015 12:34:22 +0000 (UTC) Date: Wed, 13 May 2015 12:34:00 -0000 From: Michael Matz To: "H.J. Lu" cc: Jan Beulich , Binutils Subject: Re: [committed, PATCH] Remove Disp16|Disp32 from 64-bit direct branches In-Reply-To: Message-ID: References: <20150511212331.GA1838@intel.com> <55520C440200007800079718@mail.emea.novell.com> <555216370200007800079773@mail.emea.novell.com> <5552318402000078000798A8@mail.emea.novell.com> <555233B602000078000798EF@mail.emea.novell.com> <555235930200007800079911@mail.emea.novell.com> User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00114.txt.bz2 Hi, On Tue, 12 May 2015, H.J. Lu wrote: > > Well, what do you suggest? Your change is clearly wrong as well. > > I won't call it wrong since it implies there is a right. Of course there is a right. The x86-64 specification is quite clear what happens with the prefix on jumps. Intel CPUs are simply buggy in not implementing it. And you're making binutils follow that buggy behaviour. And that is wrong. The associated bug report is invalid. > Given that > > 0x66 jmp/call rel32 > > works on Intel processors and crashes on AMD processors. > I will keep my change in unlessl someone can show a real usage of > > 066 jmp/call rel16 > > on AMD processors. Huh, what? I must say I'm not very fond of your way of maintaining the x86-64 binutils. Ciao, Michael.