This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]