3 `llvm-exegesis` is a benchmarking tool that accepts or assembles a snippet and
4 can measure characteristics of that snippet by executing it while keeping track
5 of performance counters.
7 ### Currently Supported Platforms
9 `llvm-exegesis` is quite platform-dependent and currently only supports a couple
10 platform configurations for benchmarking. The limitations are listed below.
11 Analysis mode in `llvm-exegesis` is supported on all platforms on which LLVM is.
13 #### Currently Supported Operating Systems for Benchmarking
15 Currently, `llvm-exegesis` only supports benchmarking on Linux. This is mainly
16 due to a dependency on the Linux perf subsystem for reading performance
19 The subprocess execution mode and memory annotations currently only supports
20 Linux due to a heavy reliance on many Linux specific syscalls/syscall
23 #### Currently Supported Architectures for Benchmarking
25 Currently, using `llvm-exegesis` for benchmarking is supported on the following
28 * 64-bit only due to this being the only implemented calling convention
29 in `llvm-exegesis` currently.
33 * PowerPC (PowerPC64LE only)
35 Note that not benchmarking functionality is guaranteed to work on all platforms.
37 Memory annotations are currently only supported on 64-bit X86. There is no
38 inherent limitations for porting memory annotations to other architectures, but
39 parts of the test harness are implemented as MCJITed assembly that is generated
40 in `./lib/X86/Target.cpp` that would need to be implemented on other architectures