[cfe-dev] ARM CPU CLI options and examples (was: Option -mtune)
David Spickett via cfe-dev
cfe-dev at lists.llvm.org
Tue Apr 21 09:34:08 PDT 2020
Is the intention to have an exhaustive list, or target common use cases?
I intend to restart work on (
proposed teaching Clang more about the options so it could list and
validate them itself. So there's scope to eventually generate a page that
has all the combinations.
(it's a long way off of being done though so don't take this as reason to
stop documentation efforts, in fact examples would be useful for me too)
On Tue, 21 Apr 2020 at 17:12, Sjoerd Meijer via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Following up on the -mtune discussion yesterday, I have prepared a draft
> patch (https://reviews.llvm.org/D78565) that shows how to target
> different ARM CPU implementations and architecture combinations, for now
> only 2 M-profile cores.
> In the -mtune thread, I mentioned that setting options is non-trivial and
> I think the Cortex-M55 as documented with examples in D78565 is a good
> example of that. I.e., it only shows 5 architecture combinations and their
> corresponding CLI options. Many more architecture combinations are
> possible, but these 5 combinations are the most likely to be implemented.
> In the V8-A architecture space, the challenge of many architecture
> combinations is similar.
> My thinking was that it would be valuable to have a listing of
> architecture combinations and options, so that users can quickly look up an
> architecture configuration and find its flags to target it. These examples
> shows usage of this tool (i.e. open-source clang), add puts
> documentation/examples in the same place as the source, and allows easier
> edit/reviews and also from non-Arm people. On D78565, Peter raised the
> question whether this is suited for the Clang Documentation, or if we
> should move this to some place at arm.com.
> So my question is if there are any ideas/preferences/objections for this?
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev