1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=atom -instruction-tables < %s | FileCheck %s
7 # CHECK: Instruction Info:
8 # CHECK-NEXT: [1]: #uOps
9 # CHECK-NEXT: [2]: Latency
10 # CHECK-NEXT: [3]: RThroughput
11 # CHECK-NEXT: [4]: MayLoad
12 # CHECK-NEXT: [5]: MayStore
13 # CHECK-NEXT: [6]: HasSideEffects (U)
15 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
16 # CHECK-NEXT: 1 18 9.00 * * cmpxchg8b (%rax)
17 # CHECK-NEXT: 1 22 11.00 * * cmpxchg16b (%rax)
20 # CHECK-NEXT: [0] - AtomPort0
21 # CHECK-NEXT: [1] - AtomPort1
23 # CHECK: Resource pressure per iteration:
25 # CHECK-NEXT: 20.00 20.00
27 # CHECK: Resource pressure by instruction:
28 # CHECK-NEXT: [0] [1] Instructions:
29 # CHECK-NEXT: 9.00 9.00 cmpxchg8b (%rax)
30 # CHECK-NEXT: 11.00 11.00 cmpxchg16b (%rax)