[PATCH] [AArch64] Add add/sub/cmp/cmn aliases to MC AsmParser

Jim Grosbach grosbach at apple.com
Mon Jul 14 12:35:48 PDT 2014


> On Jul 14, 2014, at 12:29 PM, Renato Golin <renato.golin at linaro.org> wrote:
> 
> On 14 July 2014 20:18, Jim Grosbach <grosbach at apple.com> wrote:
>> I’m fine with using the “armasm” documentation of the aliases as a placeholder for that in the meantime so long as we commit to working to get that into a more generalized location.
> 
> Hi Jim,
> 
> Historically, any public facing documentation from ARM has been used
> as source for changes in other ARM-supporting tools, like GCC. While
> we mostly think about the ARM ARM and the ABI documents as kosher, the
> tools docs are also used as base for features on other compilers.

I can see that, but don’t think it’s a very good situation. If we can help improve it, we should.

> I may be wrong, but I think that it would be very hard to see ARM
> changing where sections go across documents or even duplicating
> information just for our sake, since other tools use them, too. I
> don't mean that whatever is in whatever ARM doc has to be implemented,
> but the other docs could be seen as a valid source per se, sort of
> "it's ok to do it that way, since ARM does it”.

As an intermediate step, sure. I really want a definitive reference if at all possible, though. Doesn’t hurt to ask. :)

> I'll let the ARM guys to comment about how possible it would be to
> create an assembly alias document to the bundle, but I wouldn't want
> to wait until that happens to implement some obvious aliases.

Agreed. Cleaning up the docs shouldn’t block these. My original concern was that they were documented in a reasonable place and not just random undocumented gas extensions or something. The ARM compiler docs are plenty sufficient for that.

-Jim



More information about the llvm-commits mailing list