# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -instruction-tables < %s | FileCheck %s
vgatherpf0dpd (%rax,%ymm1,2) {k1}
vgatherpf0dps (%rax,%zmm1,2) {k1}
vgatherpf0qpd (%rax,%zmm1,2) {k1}
vgatherpf0qps (%rax,%zmm1,2) {k1}
vgatherpf1dpd (%rax,%ymm1,2) {k1}
vgatherpf1dps (%rax,%zmm1,2) {k1}
vgatherpf1qpd (%rax,%zmm1,2) {k1}
vgatherpf1qps (%rax,%zmm1,2) {k1}
vscatterpf0dpd (%rax,%ymm1,2) {k1}
vscatterpf0dps (%rax,%zmm1,2) {k1}
vscatterpf0qpd (%rax,%zmm1,2) {k1}
vscatterpf0qps (%rax,%zmm1,2) {k1}
vscatterpf1dpd (%rax,%ymm1,2) {k1}
vscatterpf1dps (%rax,%zmm1,2) {k1}
vscatterpf1qpd (%rax,%zmm1,2) {k1}
vscatterpf1qps (%rax,%zmm1,2) {k1}
# CHECK: Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT: [3]: RThroughput
# CHECK-NEXT: [4]: MayLoad
# CHECK-NEXT: [5]: MayStore
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf0dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf0dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf0qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf0qps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf1dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf1dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf1qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vgatherpf1qps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf0dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf0dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf0qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf0qps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf1dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf1dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf1qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: 1 5 0.50 * * U vscatterpf1qps (%rax,%zmm1,2) {%k1}
# CHECK: Resources:
# CHECK-NEXT: [0] - SBDivider
# CHECK-NEXT: [1] - SBFPDivider
# CHECK-NEXT: [2] - SBPort0
# CHECK-NEXT: [3] - SBPort1
# CHECK-NEXT: [4] - SBPort4
# CHECK-NEXT: [5] - SBPort5
# CHECK-NEXT: [6.0] - SBPort23
# CHECK-NEXT: [6.1] - SBPort23
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
# CHECK-NEXT: - - - - - - 8.00 8.00
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf0dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf0dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf0qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf0qps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf1dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf1dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf1qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vgatherpf1qps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf0dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf0dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf0qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf0qps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf1dpd (%rax,%ymm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf1dps (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf1qpd (%rax,%zmm1,2) {%k1}
# CHECK-NEXT: - - - - - - 0.50 0.50 vscatterpf1qps (%rax,%zmm1,2) {%k1}