# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=10 %s 2>&1 | FileCheck %s

# LLVM-MCA-LATENCY 100
add (%eax), %eax
mov %eax, (%ebx)

# CHECK:      Iterations:        10
# CHECK-NEXT: Instructions:      20
# CHECK-NEXT: Total Cycles:      1103
# CHECK-NEXT: Total uOps:        20
