[patch] asms with more than 10 operands
Richard Henderson
rth@cygnus.com
Mon Apr 6 17:35:00 GMT 1998
On Sun, Apr 05, 1998 at 05:26:35PM -0600, Jeffrey A Law wrote:
> I wouldn't mind defining it to mean all the digits are part of the
> operand number, specifying a number larger than MAX_OPERANDS is an
> error.
I would prefer to dispense with MAX_OPERANDS entirely. I can think
of no good reason to have one. Aside from new machines with more and
more registers, there have been occasions where I would have liked to
put a couple dozen struct offsets into the assembly with "i" constraints.
> To output a numeric literal after an operand would require
> either an escape or something similar.
You can split the string and use concatination ("%1""2"), just as
is required with the ISO \x sequence.
r~
More information about the Gcc
mailing list