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]

Re: more than 10 operands in `asm'


>>>>> Kamil Iskra writes:

Kamil> On Wed, 4 Nov 1998, Jeffrey A Law wrote:
>> > Why have an arbitrary limitation that really blocks people and could
>> > trivially be removed?
>> Because stuff like %10 would have a different meaning after the change.

Kamil> How about %10 having the old meaning and at the same time allowing more
Kamil> than 10 operands in asm? The ABI of m68k-amigaos forces us to use more
Kamil> than 10 operands, but we don't use %op_number at all, as we allocate
Kamil> registers in C (register ... __asm__("d1")) and just mark them as input
Kamil> in the asm.

	Would it be possible to go with a modifier to mean matching
operands?  like %00 - %09, %0A - %0Z, %0a - %0z.  Another letter or
special character would be better, but one port or another probably uses
it already.

David



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