mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 23:21:04 +00:00
[llvm-mca] Add an example showing how to get Intel assembly syntax
Patch by Jeff Muizelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
01ff7b72c9
commit
a1fecd54c5
@ -63,6 +63,12 @@ directly into llvm-mca for analysis:
|
||||
|
||||
$ clang foo.c -O2 -target x86_64-unknown-unknown -S -o - | llvm-mca -mcpu=btver2
|
||||
|
||||
Or for Intel syntax:
|
||||
|
||||
... code-block:: bash
|
||||
|
||||
$ clang foo.c -O2 -target x86_64-unknown-unknown -mllvm -x86-asm-syntax=intel -S -o - | llvm-mca -mcpu=btver2
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user