blob: 3b17ffd73699bff9bf5a8877718d5219c5dfb2b3 [file] [log] [blame]
# RUN: llvm-exegesis -mode=latency -opcode-name=SETCCr --max-configs-per-opcode=1 | FileCheck %s --check-prefix=CHECK
# RUN: llvm-exegesis -mode=latency -opcode-name=SETCCr --max-configs-per-opcode=256 | FileCheck %s --check-prefix=SWEEP
CHECK: ---
CHECK-NEXT: mode: latency
CHECK-NEXT: key:
CHECK-NEXT: instructions:
CHECK-NEXT: 'SETCCr {{.*}} i_0x{{[0-9a-f]}}'
SWEEP-DAG: 'SETCCr {{.*}} i_0x0'
SWEEP-DAG: 'SETCCr {{.*}} i_0x1'
SWEEP-DAG: 'SETCCr {{.*}} i_0x2'
SWEEP-DAG: 'SETCCr {{.*}} i_0x3'
SWEEP-DAG: 'SETCCr {{.*}} i_0x4'
SWEEP-DAG: 'SETCCr {{.*}} i_0x5'
SWEEP-DAG: 'SETCCr {{.*}} i_0x6'
SWEEP-DAG: 'SETCCr {{.*}} i_0x7'
SWEEP-DAG: 'SETCCr {{.*}} i_0x8'
SWEEP-DAG: 'SETCCr {{.*}} i_0x9'
SWEEP-DAG: 'SETCCr {{.*}} i_0xa'
SWEEP-DAG: 'SETCCr {{.*}} i_0xb'
SWEEP-DAG: 'SETCCr {{.*}} i_0xc'
SWEEP-DAG: 'SETCCr {{.*}} i_0xd'
SWEEP-DAG: 'SETCCr {{.*}} i_0xe'
SWEEP-DAG: 'SETCCr {{.*}} i_0xf'