[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / tools / llvm-mca / X86 / Haswell / resources-pclmul.s
blobfb34945a63db43d9fa7a7207a2f60f1b65b1108e
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell -instruction-tables < %s | FileCheck %s
4 pclmulqdq $11, %xmm0, %xmm2
5 pclmulqdq $11, (%rax), %xmm2
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: 3 11 2.00 pclmulqdq $11, %xmm0, %xmm2
17 # CHECK-NEXT: 4 17 2.00 * pclmulqdq $11, (%rax), %xmm2
19 # CHECK: Resources:
20 # CHECK-NEXT: [0] - HWDivider
21 # CHECK-NEXT: [1] - HWFPDivider
22 # CHECK-NEXT: [2] - HWPort0
23 # CHECK-NEXT: [3] - HWPort1
24 # CHECK-NEXT: [4] - HWPort2
25 # CHECK-NEXT: [5] - HWPort3
26 # CHECK-NEXT: [6] - HWPort4
27 # CHECK-NEXT: [7] - HWPort5
28 # CHECK-NEXT: [8] - HWPort6
29 # CHECK-NEXT: [9] - HWPort7
31 # CHECK: Resource pressure per iteration:
32 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
33 # CHECK-NEXT: - - 4.00 - 0.50 0.50 - 2.00 - -
35 # CHECK: Resource pressure by instruction:
36 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] Instructions:
37 # CHECK-NEXT: - - 2.00 - - - - 1.00 - - pclmulqdq $11, %xmm0, %xmm2
38 # CHECK-NEXT: - - 2.00 - 0.50 0.50 - 1.00 - - pclmulqdq $11, (%rax), %xmm2