1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=i686-unknown-unknown -mcpu=znver1 -instruction-tables < %s | FileCheck %s
27 # CHECK: Instruction Info:
28 # CHECK-NEXT: [1]: #uOps
29 # CHECK-NEXT: [2]: Latency
30 # CHECK-NEXT: [3]: RThroughput
31 # CHECK-NEXT: [4]: MayLoad
32 # CHECK-NEXT: [5]: MayStore
33 # CHECK-NEXT: [6]: HasSideEffects (U)
35 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
36 # CHECK-NEXT: 1 100 0.25 aaa
37 # CHECK-NEXT: 1 100 0.25 aad
38 # CHECK-NEXT: 1 100 0.25 aad $7
39 # CHECK-NEXT: 1 100 0.25 aam
40 # CHECK-NEXT: 1 100 0.25 aam $7
41 # CHECK-NEXT: 1 100 0.25 aas
42 # CHECK-NEXT: 1 100 0.25 U bound %bx, (%eax)
43 # CHECK-NEXT: 1 100 0.25 U bound %ebx, (%eax)
44 # CHECK-NEXT: 1 100 0.25 daa
45 # CHECK-NEXT: 1 100 0.25 das
46 # CHECK-NEXT: 1 100 0.25 U into
47 # CHECK-NEXT: 2 8 0.50 * leave
48 # CHECK-NEXT: 1 1 0.25 U salc
51 # CHECK-NEXT: [0] - ZnAGU0
52 # CHECK-NEXT: [1] - ZnAGU1
53 # CHECK-NEXT: [2] - ZnALU0
54 # CHECK-NEXT: [3] - ZnALU1
55 # CHECK-NEXT: [4] - ZnALU2
56 # CHECK-NEXT: [5] - ZnALU3
57 # CHECK-NEXT: [6] - ZnDivider
58 # CHECK-NEXT: [7] - ZnFPU0
59 # CHECK-NEXT: [8] - ZnFPU1
60 # CHECK-NEXT: [9] - ZnFPU2
61 # CHECK-NEXT: [10] - ZnFPU3
62 # CHECK-NEXT: [11] - ZnMultiplier
64 # CHECK: Resource pressure per iteration:
65 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
66 # CHECK-NEXT: 0.50 0.50 0.50 0.50 0.50 0.50 - - - - - -
68 # CHECK: Resource pressure by instruction:
69 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
70 # CHECK-NEXT: - - - - - - - - - - - - aaa
71 # CHECK-NEXT: - - - - - - - - - - - - aad
72 # CHECK-NEXT: - - - - - - - - - - - - aad $7
73 # CHECK-NEXT: - - - - - - - - - - - - aam
74 # CHECK-NEXT: - - - - - - - - - - - - aam $7
75 # CHECK-NEXT: - - - - - - - - - - - - aas
76 # CHECK-NEXT: - - - - - - - - - - - - bound %bx, (%eax)
77 # CHECK-NEXT: - - - - - - - - - - - - bound %ebx, (%eax)
78 # CHECK-NEXT: - - - - - - - - - - - - daa
79 # CHECK-NEXT: - - - - - - - - - - - - das
80 # CHECK-NEXT: - - - - - - - - - - - - into
81 # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - leave
82 # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - salc