[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-mca / X86 / AlderlakeP / resources-sse3.s
blob15baea9604c747a1118f08f147223747de3637cf
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 addsubpd %xmm0, %xmm2
5 addsubpd (%rax), %xmm2
7 addsubps %xmm0, %xmm2
8 addsubps (%rax), %xmm2
10 haddpd %xmm0, %xmm2
11 haddpd (%rax), %xmm2
13 haddps %xmm0, %xmm2
14 haddps (%rax), %xmm2
16 hsubpd %xmm0, %xmm2
17 hsubpd (%rax), %xmm2
19 hsubps %xmm0, %xmm2
20 hsubps (%rax), %xmm2
22 lddqu (%rax), %xmm2
24 monitor
26 movddup %xmm0, %xmm2
27 movddup (%rax), %xmm2
29 movshdup %xmm0, %xmm2
30 movshdup (%rax), %xmm2
32 movsldup %xmm0, %xmm2
33 movsldup (%rax), %xmm2
35 mwait
37 # CHECK: Instruction Info:
38 # CHECK-NEXT: [1]: #uOps
39 # CHECK-NEXT: [2]: Latency
40 # CHECK-NEXT: [3]: RThroughput
41 # CHECK-NEXT: [4]: MayLoad
42 # CHECK-NEXT: [5]: MayStore
43 # CHECK-NEXT: [6]: HasSideEffects (U)
45 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
46 # CHECK-NEXT: 1 3 0.50 addsubpd %xmm0, %xmm2
47 # CHECK-NEXT: 2 10 0.50 * addsubpd (%rax), %xmm2
48 # CHECK-NEXT: 1 3 0.50 addsubps %xmm0, %xmm2
49 # CHECK-NEXT: 2 10 0.50 * addsubps (%rax), %xmm2
50 # CHECK-NEXT: 3 6 2.00 haddpd %xmm0, %xmm2
51 # CHECK-NEXT: 4 12 2.00 * haddpd (%rax), %xmm2
52 # CHECK-NEXT: 3 6 2.00 haddps %xmm0, %xmm2
53 # CHECK-NEXT: 4 12 2.00 * haddps (%rax), %xmm2
54 # CHECK-NEXT: 3 6 2.00 hsubpd %xmm0, %xmm2
55 # CHECK-NEXT: 4 12 2.00 * hsubpd (%rax), %xmm2
56 # CHECK-NEXT: 3 6 2.00 hsubps %xmm0, %xmm2
57 # CHECK-NEXT: 4 12 2.00 * hsubps (%rax), %xmm2
58 # CHECK-NEXT: 1 7 0.33 * lddqu (%rax), %xmm2
59 # CHECK-NEXT: 1 100 0.25 U monitor
60 # CHECK-NEXT: 1 1 1.00 movddup %xmm0, %xmm2
61 # CHECK-NEXT: 1 7 0.33 * movddup (%rax), %xmm2
62 # CHECK-NEXT: 1 1 0.50 movshdup %xmm0, %xmm2
63 # CHECK-NEXT: 1 7 0.33 * movshdup (%rax), %xmm2
64 # CHECK-NEXT: 1 1 0.50 movsldup %xmm0, %xmm2
65 # CHECK-NEXT: 1 7 0.33 * movsldup (%rax), %xmm2
66 # CHECK-NEXT: 10 20 2.50 * * U mwait
68 # CHECK: Resources:
69 # CHECK-NEXT: [0] - ADLPPort00
70 # CHECK-NEXT: [1] - ADLPPort01
71 # CHECK-NEXT: [2] - ADLPPort02
72 # CHECK-NEXT: [3] - ADLPPort03
73 # CHECK-NEXT: [4] - ADLPPort04
74 # CHECK-NEXT: [5] - ADLPPort05
75 # CHECK-NEXT: [6] - ADLPPort06
76 # CHECK-NEXT: [7] - ADLPPort07
77 # CHECK-NEXT: [8] - ADLPPort08
78 # CHECK-NEXT: [9] - ADLPPort09
79 # CHECK-NEXT: [10] - ADLPPort10
80 # CHECK-NEXT: [11] - ADLPPort11
81 # CHECK-NEXT: [12] - ADLPPortInvalid
83 # CHECK: Resource pressure per iteration:
84 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
85 # CHECK-NEXT: 2.00 9.00 3.33 3.33 - 27.00 4.00 - - - - 3.33 -
87 # CHECK: Resource pressure by instruction:
88 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
89 # CHECK-NEXT: - 0.50 - - - 0.50 - - - - - - - addsubpd %xmm0, %xmm2
90 # CHECK-NEXT: - 0.50 0.33 0.33 - 0.50 - - - - - 0.33 - addsubpd (%rax), %xmm2
91 # CHECK-NEXT: - 0.50 - - - 0.50 - - - - - - - addsubps %xmm0, %xmm2
92 # CHECK-NEXT: - 0.50 0.33 0.33 - 0.50 - - - - - 0.33 - addsubps (%rax), %xmm2
93 # CHECK-NEXT: - 0.50 - - - 2.50 - - - - - - - haddpd %xmm0, %xmm2
94 # CHECK-NEXT: - 0.50 0.33 0.33 - 2.50 - - - - - 0.33 - haddpd (%rax), %xmm2
95 # CHECK-NEXT: - 0.50 - - - 2.50 - - - - - - - haddps %xmm0, %xmm2
96 # CHECK-NEXT: - 0.50 0.33 0.33 - 2.50 - - - - - 0.33 - haddps (%rax), %xmm2
97 # CHECK-NEXT: - 0.50 - - - 2.50 - - - - - - - hsubpd %xmm0, %xmm2
98 # CHECK-NEXT: - 0.50 0.33 0.33 - 2.50 - - - - - 0.33 - hsubpd (%rax), %xmm2
99 # CHECK-NEXT: - 0.50 - - - 2.50 - - - - - - - hsubps %xmm0, %xmm2
100 # CHECK-NEXT: - 0.50 0.33 0.33 - 2.50 - - - - - 0.33 - hsubps (%rax), %xmm2
101 # CHECK-NEXT: - - 0.33 0.33 - - - - - - - 0.33 - lddqu (%rax), %xmm2
102 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - monitor
103 # CHECK-NEXT: - - - - - 1.00 - - - - - - - movddup %xmm0, %xmm2
104 # CHECK-NEXT: - - 0.33 0.33 - - - - - - - 0.33 - movddup (%rax), %xmm2
105 # CHECK-NEXT: - 0.50 - - - 0.50 - - - - - - - movshdup %xmm0, %xmm2
106 # CHECK-NEXT: - - 0.33 0.33 - - - - - - - 0.33 - movshdup (%rax), %xmm2
107 # CHECK-NEXT: - 0.50 - - - 0.50 - - - - - - - movsldup %xmm0, %xmm2
108 # CHECK-NEXT: - - 0.33 0.33 - - - - - - - 0.33 - movsldup (%rax), %xmm2
109 # CHECK-NEXT: 1.75 1.75 - - - 2.75 3.75 - - - - - - mwait