1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py 2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -resource-pressure=false < %s | FileCheck %s 3 4# LLVM-MCA-BEGIN Empty 5 # Empty sequence 6# LLVM-MCA-END 7 8# LLVM-MCA-BEGIN NotEmpty 9 add %edi, %eax 10# LLVM-MCA-END 11 12# CHECK: [0] Code Region - NotEmpty 13 14# CHECK: Iterations: 1 15# CHECK-NEXT: Instructions: 1 16# CHECK-NEXT: Total Cycles: 4 17# CHECK-NEXT: Total uOps: 1 18 19# CHECK: Dispatch Width: 2 20# CHECK-NEXT: uOps Per Cycle: 0.25 21# CHECK-NEXT: IPC: 0.25 22# CHECK-NEXT: Block RThroughput: 0.5 23 24# CHECK: Instruction Info: 25# CHECK-NEXT: [1]: #uOps 26# CHECK-NEXT: [2]: Latency 27# CHECK-NEXT: [3]: RThroughput 28# CHECK-NEXT: [4]: MayLoad 29# CHECK-NEXT: [5]: MayStore 30# CHECK-NEXT: [6]: HasSideEffects (U) 31 32# CHECK: [1] [2] [3] [4] [5] [6] Instructions: 33# CHECK-NEXT: 1 1 0.50 addl %edi, %eax 34