[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / tools / llvm-exegesis / X86 / latency / subprocess-address-annotation.s
blob1b104b30bb288c353b1f99dbaf64b018ee821c10
1 # REQUIRES: exegesis-can-measure-latency, x86_64-linux
3 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -snippets-file=%s -execution-mode=subprocess | FileCheck %s
5 # Check that the code is loaded in at the expected address.
7 # LLVM-EXEGESIS-SNIPPET-ADDRESS 20000
8 # LLVM-EXEGESIS-DEFREG RAX 0
9 # LLVM-EXEGESIS-DEFREG R14 127
10 # LLVM-EXEGESIS-DEFREG R15 0
11 # LLVM-EXEGESIS-DEFREG RDI 0
13 # Load the instruction pointer and round down to the nearest page as there
14 # will be some setup code loaded in before this part begins to execute.
15 lea 0(%rip), %rax
16 shrq $12, %rax
17 shlq $12, %rax
19 cmpq $0x20000, %rax
20 cmovneq %r14, %r15
22 movq $60, %rax
23 movq %r15, %rdi
24 syscall
26 # CHECK-NOT: error: 'Child benchmarking process exited with non-zero exit code: Child process returned with unknown exit code'