| 1 |
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=latency --benchmark-phase=assemble-measured-code -opcode-name=SETCCr --max-configs-per-opcode=1 | FileCheck %s --check-prefix=CHECK |
| 2 |
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=latency --benchmark-phase=assemble-measured-code -opcode-name=SETCCr --max-configs-per-opcode=256 | FileCheck %s --check-prefix=SWEEP |
| 3 |
|
| 4 |
CHECK: --- |
| 5 |
CHECK-NEXT: mode: latency |
| 6 |
CHECK-NEXT: key: |
| 7 |
CHECK-NEXT: instructions: |
| 8 |
CHECK-NEXT: 'SETCCr {{.*}} i_0x{{[0-9a-f]}}' |
| 9 |
|
| 10 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x0' |
| 11 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x1' |
| 12 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x2' |
| 13 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x3' |
| 14 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x4' |
| 15 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x5' |
| 16 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x6' |
| 17 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x7' |
| 18 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x8' |
| 19 |
SWEEP-DAG: 'SETCCr {{.*}} i_0x9' |
| 20 |
SWEEP-DAG: 'SETCCr {{.*}} i_0xa' |
| 21 |
SWEEP-DAG: 'SETCCr {{.*}} i_0xb' |
| 22 |
SWEEP-DAG: 'SETCCr {{.*}} i_0xc' |
| 23 |
SWEEP-DAG: 'SETCCr {{.*}} i_0xd' |
| 24 |
SWEEP-DAG: 'SETCCr {{.*}} i_0xe' |
| 25 |
SWEEP-DAG: 'SETCCr {{.*}} i_0xf' |