This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39911] The 'z' suffix doesn't work with 16bit integer insn
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Apr 2009 19:03:14 -0000
- Subject: [Bug target/39911] The 'z' suffix doesn't work with 16bit integer insn
- References: <bug-39911-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from hjl dot tools at gmail dot com 2009-04-26 19:03 -------
(In reply to comment #3)
> (In reply to comment #1)
> > Created an attachment (id=17716)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17716&action=view) [edit]
> > A patch
> >
> > Since "%z' never really worked on integer instructions, this
> > patch makes "%Z" for integer instructions only while providing
> > backward compatibility for existing asm statements.
>
> But this issue arises because users want %z on integer insn!
>
> My proposal is, to enhance %Z to handle all x87 operands/instructions and leave
> %z for integer instructions. I hope there is no users of %z with x87 insns.
>
It may break existing working asm statements with "%z" on x87
instructions. Since "%z" never really worked on asm statements
with "%z" on integer insns, there is little risk to break
existing working asm statements with "%z" for my proposal.
With older gcc, asm statements with "%z" on integer insns
don't work. With fixed gcc, they can use "%Z".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39911