Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-mca / X86 / SapphireRapids / resources-avx512vp2intersect.s
blob3230ae9d473c5d0784fa6c6be370682e6ce77ceb
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 %zmm16, %zmm19, %k0
5 vp2intersectd (%rax), %zmm19, %k0
6 vp2intersectd (%rax){1to16}, %zmm19, %k0
8 vp2intersectq %zmm16, %zmm19, %k0
9 vp2intersectq (%rax), %zmm19, %k0
10 vp2intersectq (%rax){1to8}, %zmm19, %k0
12 # CHECK: Instruction Info:
13 # CHECK-NEXT: [1]: #uOps
14 # CHECK-NEXT: [2]: Latency
15 # CHECK-NEXT: [3]: RThroughput
16 # CHECK-NEXT: [4]: MayLoad
17 # CHECK-NEXT: [5]: MayStore
18 # CHECK-NEXT: [6]: HasSideEffects (U)
20 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
21 # CHECK-NEXT: 1 1 1.00 vp2intersectd %zmm16, %zmm19, %k0
22 # CHECK-NEXT: 2 8 1.00 * vp2intersectd (%rax), %zmm19, %k0
23 # CHECK-NEXT: 2 8 1.00 * vp2intersectd (%rax){1to16}, %zmm19, %k0
24 # CHECK-NEXT: 1 1 1.00 vp2intersectq %zmm16, %zmm19, %k0
25 # CHECK-NEXT: 2 8 1.00 * vp2intersectq (%rax), %zmm19, %k0
26 # CHECK-NEXT: 2 8 1.00 * vp2intersectq (%rax){1to8}, %zmm19, %k0
28 # CHECK: Resources:
29 # CHECK-NEXT: [0] - ICXDivider
30 # CHECK-NEXT: [1] - ICXFPDivider
31 # CHECK-NEXT: [2] - ICXPort0
32 # CHECK-NEXT: [3] - ICXPort1
33 # CHECK-NEXT: [4] - ICXPort2
34 # CHECK-NEXT: [5] - ICXPort3
35 # CHECK-NEXT: [6] - ICXPort4
36 # CHECK-NEXT: [7] - ICXPort5
37 # CHECK-NEXT: [8] - ICXPort6
38 # CHECK-NEXT: [9] - ICXPort7
39 # CHECK-NEXT: [10] - ICXPort8
40 # CHECK-NEXT: [11] - ICXPort9
42 # CHECK: Resource pressure per iteration:
43 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
44 # CHECK-NEXT: - - 6.00 - 2.00 2.00 - - - - - -
46 # CHECK: Resource pressure by instruction:
47 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
48 # CHECK-NEXT: - - 1.00 - - - - - - - - - vp2intersectd %zmm16, %zmm19, %k0
49 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - - - vp2intersectd (%rax), %zmm19, %k0
50 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - - - vp2intersectd (%rax){1to16}, %zmm19, %k0
51 # CHECK-NEXT: - - 1.00 - - - - - - - - - vp2intersectq %zmm16, %zmm19, %k0
52 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - - - vp2intersectq (%rax), %zmm19, %k0
53 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - - - vp2intersectq (%rax){1to8}, %zmm19, %k0