[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / tools / llvm-exegesis / X86 / latency / memory-annotations.s
blob04f79ad919d6df61b85bc84d100fab9c51fbf80f
1 # REQUIRES: exegesis-can-measure-latency, x86_64-linux
3 # Test the basic functionality of memory annotations, namely that we can
4 # specify a memory definition, map it into the process, and then use the
5 # specified memory.
7 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -snippets-file=%s -execution-mode=subprocess | FileCheck %s
8 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -snippets-file=%s -execution-mode=subprocess -repetition-mode=loop | FileCheck %s
10 # CHECK: measurements:
11 # CHECK-NEXT: value: {{.*}}, per_snippet_value: {{.*}}
13 # LLVM-EXEGESIS-MEM-DEF test1 4096 2147483647
14 # LLVM-EXEGESIS-MEM-MAP test1 1048576
16 movq $1048576, %rax
17 movq (%rax), %rdi