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 target/39911] The 'z' suffix doesn't work with 16bit integer insn



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


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