1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=alderlake -instruction-tables < %s | FileCheck %s
14 # CHECK: Instruction Info:
15 # CHECK-NEXT: [1]: #uOps
16 # CHECK-NEXT: [2]: Latency
17 # CHECK-NEXT: [3]: RThroughput
18 # CHECK-NEXT: [4]: MayLoad
19 # CHECK-NEXT: [5]: MayStore
20 # CHECK-NEXT: [6]: HasSideEffects (U)
22 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
23 # CHECK-NEXT: 1 1 0.50 adcxl %ebx, %ecx
24 # CHECK-NEXT: 2 6 0.50 * adcxl (%rbx), %ecx
25 # CHECK-NEXT: 1 1 0.50 adcxq %rbx, %rcx
26 # CHECK-NEXT: 2 6 0.50 * adcxq (%rbx), %rcx
27 # CHECK-NEXT: 1 1 0.50 adoxl %ebx, %ecx
28 # CHECK-NEXT: 2 6 0.50 * adoxl (%rbx), %ecx
29 # CHECK-NEXT: 1 1 0.50 adoxq %rbx, %rcx
30 # CHECK-NEXT: 2 6 0.50 * adoxq (%rbx), %rcx
33 # CHECK-NEXT: [0] - ADLPPort00
34 # CHECK-NEXT: [1] - ADLPPort01
35 # CHECK-NEXT: [2] - ADLPPort02
36 # CHECK-NEXT: [3] - ADLPPort03
37 # CHECK-NEXT: [4] - ADLPPort04
38 # CHECK-NEXT: [5] - ADLPPort05
39 # CHECK-NEXT: [6] - ADLPPort06
40 # CHECK-NEXT: [7] - ADLPPort07
41 # CHECK-NEXT: [8] - ADLPPort08
42 # CHECK-NEXT: [9] - ADLPPort09
43 # CHECK-NEXT: [10] - ADLPPort10
44 # CHECK-NEXT: [11] - ADLPPort11
45 # CHECK-NEXT: [12] - ADLPPortInvalid
47 # CHECK: Resource pressure per iteration:
48 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
49 # CHECK-NEXT: 4.00 - 1.33 1.33 - - 4.00 - - - - 1.33 -
51 # CHECK: Resource pressure by instruction:
52 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
53 # CHECK-NEXT: 0.50 - - - - - 0.50 - - - - - - adcxl %ebx, %ecx
54 # CHECK-NEXT: 0.50 - 0.33 0.33 - - 0.50 - - - - 0.33 - adcxl (%rbx), %ecx
55 # CHECK-NEXT: 0.50 - - - - - 0.50 - - - - - - adcxq %rbx, %rcx
56 # CHECK-NEXT: 0.50 - 0.33 0.33 - - 0.50 - - - - 0.33 - adcxq (%rbx), %rcx
57 # CHECK-NEXT: 0.50 - - - - - 0.50 - - - - - - adoxl %ebx, %ecx
58 # CHECK-NEXT: 0.50 - 0.33 0.33 - - 0.50 - - - - 0.33 - adoxl (%rbx), %ecx
59 # CHECK-NEXT: 0.50 - - - - - 0.50 - - - - - - adoxq %rbx, %rcx
60 # CHECK-NEXT: 0.50 - 0.33 0.33 - - 0.50 - - - - 0.33 - adoxq (%rbx), %rcx