From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16413 invoked by alias); 31 Mar 2009 01:28:29 -0000 Received: (qmail 16359 invoked by uid 48); 31 Mar 2009 01:28:18 -0000 Date: Tue, 31 Mar 2009 01:28:00 -0000 Message-ID: <20090331012818.16358.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug inline-asm/39590] inline asm %z on amd64 says "ll" instead of "q" In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg02382.txt.bz2 ------- Comment #7 from hjl dot tools at gmail dot com 2009-03-31 01:28 ------- (In reply to comment #6) > > 'z' is for x87 insns. > > Uh, what?! Let me quote the relevant "documentation" > (gcc/config/i386/i386.md): > > ;; The special asm out single letter directives following a '%' are: > ;; 'z' mov%z1 would be movl, movw, or movb depending on the mode of > ;; operands[1]. > This was written before x86-64 and movq is mentioned here. 64bit is for fildll/fildq. I don't know if all x86-64 assemblers support fildq. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39590