[Bug inline-asm/39590] inline asm %z on amd64 says "ll" instead of "q"
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 31 01:28:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list