forked from OSchip/llvm-project
[llvm-mca] Add an example showing how to get Intel assembly syntax
Patch by Jeff Muizelaar. llvm-svn: 332627
This commit is contained in:
parent
2782a19fad
commit
d8d940a872
|
@ -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