This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/39911: The 'z' suffix doesn't work with 16bit integer insn
H.J. Lu wrote:
I checked the history on i386.c. %z works on x87 insns as far as back
to the initial version on gcc.gnu.org in 1992 and %z never worked on
memory operand with integer insns. I don't believe we should break
%z now. We should use %Z to support integer insns.
The problem is, that users want "%z" due to the comment in i386.md.
Whether gcc uses "%Z" or "%z" internally does not matter at all. I
propose that we go ahead with my patch to see if/what breaks. It is just
a matter of changing the letter throughout a couple of source files to
switch the modifiers.
Uros.