This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Insns with similar mnemonics


Hi -

> [...]
> move x:(r0+symbol1),x0
> move x:symbol2,x0
> [...]

We have had several cgen ports, some of them public, where
parentheses were part of the assembly operand syntax.  They
work fine.  You may need to add this line in gas/config/tc-TARGET.h
to help out:

/* [...] uses '(' and ')' as punctuation in addressing mode syntax.  */
#define RELAX_PAREN_GROUPING

Dave is right about there being some order-sensitive effects
in cgen inputs, but I prefer to avoid relying on them.


- FChE

Attachment: pgp00000.pgp
Description: PGP signature


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