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.
26 # CHECK-NOT: error: 'Child benchmarking process exited with non-zero exit code: Child process returned with unknown exit code'