| 1 |
# REQUIRES: exegesis-can-measure-latency, x86_64-linux |
| 2 |
|
| 3 |
# Test that we can use the subprocess executor mode with memory annotations |
| 4 |
# while having live-ins still work as expected. |
| 5 |
|
| 6 |
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -snippets-file=%s -execution-mode=subprocess | FileCheck %s |
| 7 |
|
| 8 |
# CHECK: measurements: |
| 9 |
# CHECK-NEXT: value: {{.*}}, per_snippet_value: {{.*}} |
| 10 |
|
| 11 |
# LLVM-EXEGESIS-MEM-DEF test1 4096 2147483647 |
| 12 |
# LLVM-EXEGESIS-MEM-MAP test1 1048576 |
| 13 |
# LLVM-EXEGESIS-LIVEIN R14 |
| 14 |
|
| 15 |
movq $1048576, %rax |
| 16 |
movq %r14, (%rax) |