diff options
author | Justin Lebar <jlebar@google.com> | 2020-01-07 21:16:36 -0800 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2020-02-06 19:35:09 -0800 |
commit | 6d007343decaeb8ea3db8de4bedf78b423bf116d (patch) | |
tree | 567ecfa9b6f777319c2c37c08c1acd48fa42dcc0 | |
parent | 6a570dc548078af92a3cc0dda0d2ad1f371b0280 (diff) | |
download | llvm-6d007343decaeb8ea3db8de4bedf78b423bf116d.zip llvm-6d007343decaeb8ea3db8de4bedf78b423bf116d.tar.gz llvm-6d007343decaeb8ea3db8de4bedf78b423bf116d.tar.bz2 |
Clarify how llvm-mca detects att vs intel syntax.
Reviewers: andreadb
Subscribers: tschuett, gbedwell, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72385
-rw-r--r-- | llvm/docs/CommandGuide/llvm-mca.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-mca.rst b/llvm/docs/CommandGuide/llvm-mca.rst index efe29c4..703d39a 100644 --- a/llvm/docs/CommandGuide/llvm-mca.rst +++ b/llvm/docs/CommandGuide/llvm-mca.rst @@ -40,6 +40,10 @@ Or for Intel syntax: $ clang foo.c -O2 -target x86_64-unknown-unknown -mllvm -x86-asm-syntax=intel -S -o - | llvm-mca -mcpu=btver2 +(:program:`llvm-mca` detects Intel syntax by the presence of an `.intel_syntax` +directive at the beginning of the input. By default its output syntax matches +that of its input.) + Scheduling models are not just used to compute instruction latencies and throughput, but also to understand what processor resources are available and how to simulate them. |