llvm/llvm/test/tools/llvm-exegesis/X86/analysis-CMOV16rm-noreg-deserialization.test

# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=0.1 -analysis-inconsistency-epsilon=0.1 -analysis-numpoints=1 -analysis-clustering=naive | FileCheck -check-prefixes=CHECK-CLUSTERS %s

# https://bugs.llvm.org/show_bug.cgi?id=41448
# Verify that deserialization works. Since CMOV16rm has a variant sched class, just printing clusters is sufficient

---
mode:            uops
key:
  instructions:
    - 'CMOV16rm AX AX RDI i_0x1 %noreg i_0x0 %noreg i_0x0'
    - 'CMOV16rm BP BP RDI i_0x1 %noreg i_0x40 %noreg i_0x0'
    - 'CMOV16rm BX BX RDI i_0x1 %noreg i_0x80 %noreg i_0x0'
    - 'CMOV16rm CX CX RDI i_0x1 %noreg i_0xc0 %noreg i_0x0'
    - 'CMOV16rm DX DX RDI i_0x1 %noreg i_0x100 %noreg i_0x0'
    - 'CMOV16rm SI SI RDI i_0x1 %noreg i_0x140 %noreg i_0x0'
    - 'CMOV16rm R8W R8W RDI i_0x1 %noreg i_0x180 %noreg i_0x0'
    - 'CMOV16rm R9W R9W RDI i_0x1 %noreg i_0x1c0 %noreg i_0x0'
    - 'CMOV16rm R10W R10W RDI i_0x1 %noreg i_0x200 %noreg i_0x0'
    - 'CMOV16rm R11W R11W RDI i_0x1 %noreg i_0x240 %noreg i_0x0'
    - 'CMOV16rm R12W R12W RDI i_0x1 %noreg i_0x280 %noreg i_0x0'
    - 'CMOV16rm R13W R13W RDI i_0x1 %noreg i_0x2c0 %noreg i_0x0'
    - 'CMOV16rm R14W R14W RDI i_0x1 %noreg i_0x300 %noreg i_0x0'
    - 'CMOV16rm R15W R15W RDI i_0x1 %noreg i_0x340 %noreg i_0x0'
  config:          ''
  register_initial_values:
    - 'AX=0x0'
    - 'EFLAGS=0x0'
    - 'BP=0x0'
    - 'BX=0x0'
    - 'CX=0x0'
    - 'DX=0x0'
    - 'SI=0x0'
    - 'R8W=0x0'
    - 'R9W=0x0'
    - 'R10W=0x0'
    - 'R11W=0x0'
    - 'R12W=0x0'
    - 'R13W=0x0'
    - 'R14W=0x0'
    - 'R15W=0x0'
cpu_name:        znver3
llvm_triple:     x86_64-pc-linux-gnu
num_repetitions: 10000
measurements:
  - { key: Zn3Int, value: 1.0161, per_snippet_value: 14.2254 }
  - { key: Zn3FPU, value: 0, per_snippet_value: 0 }
  - { key: Zn3Load, value: 1.003, per_snippet_value: 14.042 }
  - { key: Zn3Store, value: 0.0023, per_snippet_value: 0.0322 }
  - { key: Zn3Divider, value: 0, per_snippet_value: 0 }
  - { key: NumMicroOps, value: 1.0146, per_snippet_value: 14.2044 }
error:           ''
info:            instruction has tied variables, using static renaming.
assembled_snippet: 5541574156415541545366B800004883EC08C7042400000000C7442404000000009D66BD000066BB000066B9000066BA000066BE00006641B800006641B900006641BA00006641BB00006641BC00006641BD00006641BE00006641BF0000660F4007660F406F40660F409F80000000660F408FC0000000660F409700010000660F40B74001000066440F40878001000066440F408FC001000066440F40970002000066440F409F4002000066440F40A78002000066440F40AFC002000066440F40B70003000066440F40BF40030000660F4007660F406F40660F409F80000000660F408FC0000000660F409700010000660F40B74001000066440F40878001000066440F408FC001000066440F40970002000066440F409F4002000066440F40A78002000066440F40AFC002000066440F40B70003000066440F40BF40030000660F4007660F406F40660F409F80000000660F408FC0000000660F409700010000660F40B74001000066440F40878001000066440F408FC001000066440F40970002000066440F409F4002000066440F40A78002000066440F40AFC002000066440F40B70003000066440F40BF40030000660F4007660F406F40660F409F80000000660F408FC0000000660F409700010000660F40B74001000066440F40878001000066440F408FC001000066440F40970002000066440F409F4002000066440F40A78002000066440F40AFC002000066440F40B70003000066440F40BF400300005B415C415D415E415F5DC3
...


# CHECK-CLUSTERS: {{^}}cluster_id,opcode_name,config,sched_class,
# CHECK-CLUSTERS-NEXT: {{^}}0,