[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-mca / X86 / AlderlakeP / resources-sse42.s
blobcb5b34e9b6468db66b58a5d1b3219669f6901148
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
4 crc32b %al, %ecx
5 crc32b (%rax), %ecx
7 crc32l %eax, %ecx
8 crc32l (%rax), %ecx
10 crc32w %ax, %ecx
11 crc32w (%rax), %ecx
13 crc32b %al, %rcx
14 crc32b (%rax), %rcx
16 crc32q %rax, %rcx
17 crc32q (%rax), %rcx
19 pcmpestri $1, %xmm0, %xmm2
20 pcmpestri $1, (%rax), %xmm2
22 pcmpestrm $1, %xmm0, %xmm2
23 pcmpestrm $1, (%rax), %xmm2
25 pcmpistri $1, %xmm0, %xmm2
26 pcmpistri $1, (%rax), %xmm2
28 pcmpistrm $1, %xmm0, %xmm2
29 pcmpistrm $1, (%rax), %xmm2
31 pcmpgtq %xmm0, %xmm2
32 pcmpgtq (%rax), %xmm2
34 # CHECK: Instruction Info:
35 # CHECK-NEXT: [1]: #uOps
36 # CHECK-NEXT: [2]: Latency
37 # CHECK-NEXT: [3]: RThroughput
38 # CHECK-NEXT: [4]: MayLoad
39 # CHECK-NEXT: [5]: MayStore
40 # CHECK-NEXT: [6]: HasSideEffects (U)
42 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
43 # CHECK-NEXT: 1 3 1.00 crc32b %al, %ecx
44 # CHECK-NEXT: 2 8 1.00 * crc32b (%rax), %ecx
45 # CHECK-NEXT: 1 3 1.00 crc32l %eax, %ecx
46 # CHECK-NEXT: 2 8 1.00 * crc32l (%rax), %ecx
47 # CHECK-NEXT: 1 3 1.00 crc32w %ax, %ecx
48 # CHECK-NEXT: 2 8 1.00 * crc32w (%rax), %ecx
49 # CHECK-NEXT: 1 3 1.00 crc32b %al, %rcx
50 # CHECK-NEXT: 2 8 1.00 * crc32b (%rax), %rcx
51 # CHECK-NEXT: 1 3 1.00 crc32q %rax, %rcx
52 # CHECK-NEXT: 2 8 1.00 * crc32q (%rax), %rcx
53 # CHECK-NEXT: 8 16 3.00 pcmpestri $1, %xmm0, %xmm2
54 # CHECK-NEXT: 8 31 3.00 * pcmpestri $1, (%rax), %xmm2
55 # CHECK-NEXT: 9 16 3.00 pcmpestrm $1, %xmm0, %xmm2
56 # CHECK-NEXT: 9 17 3.00 * pcmpestrm $1, (%rax), %xmm2
57 # CHECK-NEXT: 3 11 3.00 pcmpistri $1, %xmm0, %xmm2
58 # CHECK-NEXT: 4 31 3.00 * pcmpistri $1, (%rax), %xmm2
59 # CHECK-NEXT: 3 11 3.00 pcmpistrm $1, %xmm0, %xmm2
60 # CHECK-NEXT: 4 16 3.00 * pcmpistrm $1, (%rax), %xmm2
61 # CHECK-NEXT: 1 3 1.00 pcmpgtq %xmm0, %xmm2
62 # CHECK-NEXT: 2 10 1.00 * pcmpgtq (%rax), %xmm2
64 # CHECK: Resources:
65 # CHECK-NEXT: [0] - ADLPPort00
66 # CHECK-NEXT: [1] - ADLPPort01
67 # CHECK-NEXT: [2] - ADLPPort02
68 # CHECK-NEXT: [3] - ADLPPort03
69 # CHECK-NEXT: [4] - ADLPPort04
70 # CHECK-NEXT: [5] - ADLPPort05
71 # CHECK-NEXT: [6] - ADLPPort06
72 # CHECK-NEXT: [7] - ADLPPort07
73 # CHECK-NEXT: [8] - ADLPPort08
74 # CHECK-NEXT: [9] - ADLPPort09
75 # CHECK-NEXT: [10] - ADLPPort10
76 # CHECK-NEXT: [11] - ADLPPort11
77 # CHECK-NEXT: [12] - ADLPPortInvalid
79 # CHECK: Resource pressure per iteration:
80 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
81 # CHECK-NEXT: 28.67 16.67 3.33 3.33 - 8.67 2.00 - - - - 3.33 -
83 # CHECK: Resource pressure by instruction:
84 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
85 # CHECK-NEXT: - 1.00 - - - - - - - - - - - crc32b %al, %ecx
86 # CHECK-NEXT: - 1.00 0.33 0.33 - - - - - - - 0.33 - crc32b (%rax), %ecx
87 # CHECK-NEXT: - 1.00 - - - - - - - - - - - crc32l %eax, %ecx
88 # CHECK-NEXT: - 1.00 0.33 0.33 - - - - - - - 0.33 - crc32l (%rax), %ecx
89 # CHECK-NEXT: - 1.00 - - - - - - - - - - - crc32w %ax, %ecx
90 # CHECK-NEXT: - 1.00 0.33 0.33 - - - - - - - 0.33 - crc32w (%rax), %ecx
91 # CHECK-NEXT: - 1.00 - - - - - - - - - - - crc32b %al, %rcx
92 # CHECK-NEXT: - 1.00 0.33 0.33 - - - - - - - 0.33 - crc32b (%rax), %rcx
93 # CHECK-NEXT: - 1.00 - - - - - - - - - - - crc32q %rax, %rcx
94 # CHECK-NEXT: - 1.00 0.33 0.33 - - - - - - - 0.33 - crc32q (%rax), %rcx
95 # CHECK-NEXT: 4.17 1.67 - - - 1.67 0.50 - - - - - - pcmpestri $1, %xmm0, %xmm2
96 # CHECK-NEXT: 3.83 1.33 0.33 0.33 - 1.33 0.50 - - - - 0.33 - pcmpestri $1, (%rax), %xmm2
97 # CHECK-NEXT: 4.50 2.00 - - - 2.00 0.50 - - - - - - pcmpestrm $1, %xmm0, %xmm2
98 # CHECK-NEXT: 4.17 1.67 0.33 0.33 - 1.67 0.50 - - - - 0.33 - pcmpestrm $1, (%rax), %xmm2
99 # CHECK-NEXT: 3.00 - - - - - - - - - - - - pcmpistri $1, %xmm0, %xmm2
100 # CHECK-NEXT: 3.00 - 0.33 0.33 - - - - - - - 0.33 - pcmpistri $1, (%rax), %xmm2
101 # CHECK-NEXT: 3.00 - - - - - - - - - - - - pcmpistrm $1, %xmm0, %xmm2
102 # CHECK-NEXT: 3.00 - 0.33 0.33 - - - - - - - 0.33 - pcmpistrm $1, (%rax), %xmm2
103 # CHECK-NEXT: - - - - - 1.00 - - - - - - - pcmpgtq %xmm0, %xmm2
104 # CHECK-NEXT: - - 0.33 0.33 - 1.00 - - - - - 0.33 - pcmpgtq (%rax), %xmm2