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'


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.

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

/ Kamil Iskra    AmigaOS  Linux/i386  Linux/m68k               \
| GeekGadgets m68k-amigaos GCC maintainer                      |
| iskra@student.uci.agh.edu.pl  kiskra@ernie.icslab.agh.edu.pl |
\ kamil@dwd.interkom.pl   http://student.uci.agh.edu.pl/~iskra /



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