This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2008 07:52:50 -0000
- Subject: [Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers
- References: <bug-37018-16559@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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