1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=tigerlake -instruction-tables < %s | FileCheck %s
4 vp2intersectd
%xmm16
, %xmm19
, %k0
5 vp2intersectd
(%rax
), %xmm19
, %k0
6 vp2intersectd
(%rax
){1to4
}, %xmm19
, %k0
8 vp2intersectd
%ymm16
, %ymm19
, %k0
9 vp2intersectd
(%rax
), %ymm19
, %k0
10 vp2intersectd
(%rax
){1to8
}, %ymm19
, %k0
12 vp2intersectq
%xmm16
, %xmm19
, %k0
13 vp2intersectq
(%rax
), %xmm19
, %k0
14 vp2intersectq
(%rax
){1to2
}, %xmm19
, %k0
16 vp2intersectq
%ymm16
, %ymm19
, %k0
17 vp2intersectq
(%rax
), %ymm19
, %k0
18 vp2intersectq
(%rax
){1to4
}, %ymm19
, %k0
20 # CHECK: Instruction Info:
21 # CHECK-NEXT: [1]: #uOps
22 # CHECK-NEXT: [2]: Latency
23 # CHECK-NEXT: [3]: RThroughput
24 # CHECK-NEXT: [4]: MayLoad
25 # CHECK-NEXT: [5]: MayStore
26 # CHECK-NEXT: [6]: HasSideEffects (U)
28 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
29 # CHECK-NEXT: 1 1 0.50 vp2intersectd %xmm16, %xmm19, %k0
30 # CHECK-NEXT: 2 7 0.50 * vp2intersectd (%rax), %xmm19, %k0
31 # CHECK-NEXT: 2 7 0.50 * vp2intersectd (%rax){1to4}, %xmm19, %k0
32 # CHECK-NEXT: 1 1 0.50 vp2intersectd %ymm16, %ymm19, %k0
33 # CHECK-NEXT: 2 8 0.50 * vp2intersectd (%rax), %ymm19, %k0
34 # CHECK-NEXT: 2 8 0.50 * vp2intersectd (%rax){1to8}, %ymm19, %k0
35 # CHECK-NEXT: 1 1 0.50 vp2intersectq %xmm16, %xmm19, %k0
36 # CHECK-NEXT: 2 7 0.50 * vp2intersectq (%rax), %xmm19, %k0
37 # CHECK-NEXT: 2 7 0.50 * vp2intersectq (%rax){1to2}, %xmm19, %k0
38 # CHECK-NEXT: 1 1 0.50 vp2intersectq %ymm16, %ymm19, %k0
39 # CHECK-NEXT: 2 8 0.50 * vp2intersectq (%rax), %ymm19, %k0
40 # CHECK-NEXT: 2 8 0.50 * vp2intersectq (%rax){1to4}, %ymm19, %k0
43 # CHECK-NEXT: [0] - ICXDivider
44 # CHECK-NEXT: [1] - ICXFPDivider
45 # CHECK-NEXT: [2] - ICXPort0
46 # CHECK-NEXT: [3] - ICXPort1
47 # CHECK-NEXT: [4] - ICXPort2
48 # CHECK-NEXT: [5] - ICXPort3
49 # CHECK-NEXT: [6] - ICXPort4
50 # CHECK-NEXT: [7] - ICXPort5
51 # CHECK-NEXT: [8] - ICXPort6
52 # CHECK-NEXT: [9] - ICXPort7
53 # CHECK-NEXT: [10] - ICXPort8
54 # CHECK-NEXT: [11] - ICXPort9
56 # CHECK: Resource pressure per iteration:
57 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
58 # CHECK-NEXT: - - 6.00 6.00 4.00 4.00 - - - - - -
60 # CHECK: Resource pressure by instruction:
61 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
62 # CHECK-NEXT: - - 0.50 0.50 - - - - - - - - vp2intersectd %xmm16, %xmm19, %k0
63 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectd (%rax), %xmm19, %k0
64 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectd (%rax){1to4}, %xmm19, %k0
65 # CHECK-NEXT: - - 0.50 0.50 - - - - - - - - vp2intersectd %ymm16, %ymm19, %k0
66 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectd (%rax), %ymm19, %k0
67 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectd (%rax){1to8}, %ymm19, %k0
68 # CHECK-NEXT: - - 0.50 0.50 - - - - - - - - vp2intersectq %xmm16, %xmm19, %k0
69 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectq (%rax), %xmm19, %k0
70 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectq (%rax){1to2}, %xmm19, %k0
71 # CHECK-NEXT: - - 0.50 0.50 - - - - - - - - vp2intersectq %ymm16, %ymm19, %k0
72 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectq (%rax), %ymm19, %k0
73 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - - - vp2intersectq (%rax){1to4}, %ymm19, %k0