• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-exegesis -mode=latency -opcode-name=SBB8rr -max-configs-per-opcode=1 | FileCheck -check-prefixes=CHECK,CHECK1 %s
2# RUN: llvm-exegesis -mode=latency -opcode-name=SBB8rr -max-configs-per-opcode=2 | FileCheck -check-prefixes=CHECK,CHECK2 %s
3
4CHECK:      ---
5CHECK-NEXT: mode: latency
6CHECK-NEXT: key:
7CHECK-NEXT:   instructions:
8CHECK-NEXT:     SBB8rr
9CHECK-NEXT: config: ''
10CHECK-NEXT: register_initial_values:
11CHECK-DAG: - '[[REG1:[A-Z0-9]+]]=0x0'
12CHECK-LAST: ...
13
14CHECK1-NOT: SBB8rr
15
16CHECK2:      ---
17CHECK2-NEXT: mode: latency
18CHECK2-NEXT: key:
19CHECK2-NEXT:   instructions:
20CHECK2-NEXT:     SBB8rr
21CHECK2-NEXT: config: ''
22CHECK2-NEXT: register_initial_values:
23CHECK2-DAG: - '[[REG1:[A-Z0-9]+]]=0x0'
24CHECK2-LAST: ...
25