This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: more than 10 operands in `asm'
- To: Samuel Tardieu <sam at inf dot enst dot fr>
- Subject: Re: more than 10 operands in `asm'
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 05 Nov 1998 09:24:23 -0700
- cc: Robert Harley <Robert dot Harley at inria dot fr>, egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19981105123252.Q8158@inf.enst.fr>you write:
> On 4/11, 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.
> |
>
> Why? We can still use %0 .. %9, and then %{10}, %{11}, etc. (provided %{
> has no meaning, if it has one we can choose another symbol). %10 would
> still mean %1 followed by zero, and won't break existing code.
We certainly have to either create a new syntax for arguments past %9. It
maybe the case that nobody uses stuff like %10 in which case we can avoid
the grossness of %{10}. To do so we need to look more closely at the
various backends.
I'm not saying we can't do this, it's just not something that'll be done
with a 10 minute patch :-) I do think we want to support >10 args to asms,
but let's do it right instead of kludging something in.
jeff