From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33286 invoked by alias); 12 May 2015 15:32:35 -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 33250 invoked by uid 89); 12 May 2015 15:32:34 -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; Tue, 12 May 2015 15:32:34 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E8085ABF5; Tue, 12 May 2015 15:32:30 +0000 (UTC) Date: Tue, 12 May 2015 15:32: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> <5551F4E70200007800079575@mail.emea.novell.com> <55520C440200007800079718@mail.emea.novell.com> <555216370200007800079773@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/msg00096.txt.bz2 Hi, On Tue, 12 May 2015, H.J. Lu wrote: > >> I thought it did jump to "(nextip + offset) & 0xffff" on AMD. Can > >> you verify if it is true? > > > > Sorry, yes, this is true, the 16bit operand size prefix truncates RIP > > to 16 bit. Nevertheless it's a valid instruction and works as > > documented. > > It doesn't work on Intel processors. Can you show me a real usage for > this? Why should I? Obviously in linux there are no uses, but perhaps in BIOS or boot loader code, or micro-OSes and the like. Can you instead show me why you want to remove support for it? Ciao, Michael.