[PATCH 1/6] gas/arc: Modify structure used to hold opcodes

Claudiu Zissulescu Claudiu.Zissulescu@synopsys.com
Thu Apr 7 13:08:00 GMT 2016
> Now I'm _adding_ extension instructions.  If one of my extensions
> instructions happened to be an addition instruction that took 4
> registers, such that DST = SRC1 + SRC2 + SRC3, then this is clearly
> _not_ part of the core ARC700 architecture, but could live quite
> happily as an extension to ARC700.

My apologizes, I thought you would like to overwrite the current mnemonic syntax. I agree we can have extra syntax for cases which are like the one you pointed out.

> In the end I placed the comment into opcodes/arc-opc.c, at the head of
> the arc_opcodes table.  I figured that anyone interested in adding new
> instructions would go there first, and any comment there was most
> likely to be found / read.

Nice.

Please go ahead. I am waiting for your patches to be upstreamed, as I have three patches which I would like to upstream after your commit (support for .extInstruction pseudo-ops).

Thanks,
Claudiu



More information about the Binutils mailing list