This is the mail archive of the gcc@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] |
However, inc/dec cannot accept a constant of zero, which is the case that fails - adding zero to a register.
I'm currently testing adding an !N constraint after the O,P ones, to catch the zero case, with an output template of ";", assuming that gcc will always choose the P constraint for non-zero cases.
We could use "#" as the output template, and define a splitter that turns it into nothing.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |