This is the mail archive of the gcc-bugs@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'




  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


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