gcc-bugs@gcc.gnu.org
[Top] [All Lists]

[Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64

Subject: [Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers
From: "ubizjak at gmail dot com"
Date: 4 Aug 2008 07:52:50 -0000

------- Comment #5 from ubizjak at gmail dot com  2008-08-04 07:52 -------
In fact, it is not the duplicate of 23242. 23242 suggests "Q" constraint to
access high part of 16bit regs (i.e. ah, dh ...), but here we should use "q"
constraint instead of "r" to access lower 8bit part of the register. On 64bit,
we can also use i.e. r10b in addition to sil and dil here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37018

<Prev in Thread] Current Thread [Next in Thread>