Insns with similar mnemonics

Frank Ch. Eigler fche@redhat.com
Tue Jun 10 15:14:00 GMT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/cgen/attachments/20030610/d650bf3c/attachment.sig>


More information about the Cgen mailing list