llvm/llvm/test/tools/llvm-mca/X86/SapphireRapids/resources-avx512vbmi2.s

# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=sapphirerapids -instruction-tables < %s | FileCheck %s

vpcompressb       %zmm16, %zmm19
vpcompressb       %zmm16, (%rax)
vpcompressb       %zmm16, %zmm19 {k1}
vpcompressb       %zmm16, (%rax) {k1}
vpcompressb       %zmm16, %zmm19 {k1}{z}

vpcompressw       %zmm16, %zmm19
vpcompressw       %zmm16, (%rax)
vpcompressw       %zmm16, %zmm19 {k1}
vpcompressw       %zmm16, (%rax) {k1}
vpcompressw       %zmm16, %zmm19 {k1}{z}

vpexpandb         %zmm16, %zmm19
vpexpandb         (%rax), %zmm19
vpexpandb         %zmm16, %zmm19 {k1}
vpexpandb         (%rax), %zmm19 {k1}
vpexpandb         %zmm16, %zmm19 {k1}{z}

vpexpandw         %zmm16, %zmm19
vpexpandw         (%rax), %zmm19
vpexpandw         %zmm16, %zmm19 {k1}
vpexpandw         (%rax), %zmm19 {k1}
vpexpandw         %zmm16, %zmm19 {k1}{z}

vpshldd           $1, %zmm16, %zmm17, %zmm19
vpshldd           $1, (%rax), %zmm17, %zmm19
vpshldd           $1, (%rax){1to16}, %zmm17, %zmm19
vpshldd           $1, %zmm16, %zmm17, %zmm19 {k1}
vpshldd           $1, (%rax), %zmm17, %zmm19 {k1}
vpshldd           $1, (%rax){1to16}, %zmm17, %zmm19 {k1}
vpshldd           $1, %zmm16, %zmm17, %zmm19 {k1}{z}
vpshldd           $1, (%rax), %zmm17, %zmm19 {k1}{z}
vpshldd           $1, (%rax){1to16}, %zmm17, %zmm19 {k1}{z}

vpshldq           $1, %zmm16, %zmm17, %zmm19
vpshldq           $1, (%rax), %zmm17, %zmm19
vpshldq           $1, (%rax){1to8}, %zmm17, %zmm19
vpshldq           $1, %zmm16, %zmm17, %zmm19 {k1}
vpshldq           $1, (%rax), %zmm17, %zmm19 {k1}
vpshldq           $1, (%rax){1to8}, %zmm17, %zmm19 {k1}
vpshldq           $1, %zmm16, %zmm17, %zmm19 {k1}{z}
vpshldq           $1, (%rax), %zmm17, %zmm19 {k1}{z}
vpshldq           $1, (%rax){1to8}, %zmm17, %zmm19 {k1}{z}

vpshldvd          %zmm16, %zmm17, %zmm19
vpshldvd          (%rax), %zmm17, %zmm19
vpshldvd          (%rax){1to16}, %zmm17, %zmm19
vpshldvd          %zmm16, %zmm17, %zmm19 {k1}
vpshldvd          (%rax), %zmm17, %zmm19 {k1}
vpshldvd          (%rax){1to16}, %zmm17, %zmm19 {k1}
vpshldvd          %zmm16, %zmm17, %zmm19 {k1}{z}
vpshldvd          (%rax), %zmm17, %zmm19 {k1}{z}
vpshldvd          (%rax){1to16}, %zmm17, %zmm19 {k1}{z}

vpshldvq          %zmm16, %zmm17, %zmm19
vpshldvq          (%rax), %zmm17, %zmm19
vpshldvq          (%rax){1to8}, %zmm17, %zmm19
vpshldvq          %zmm16, %zmm17, %zmm19 {k1}
vpshldvq          (%rax), %zmm17, %zmm19 {k1}
vpshldvq          (%rax){1to8}, %zmm17, %zmm19 {k1}
vpshldvq          %zmm16, %zmm17, %zmm19 {k1}{z}
vpshldvq          (%rax), %zmm17, %zmm19 {k1}{z}
vpshldvq          (%rax){1to8}, %zmm17, %zmm19 {k1}{z}

vpshldvw          %zmm16, %zmm17, %zmm19
vpshldvw          (%rax), %zmm17, %zmm19
vpshldvw          %zmm16, %zmm17, %zmm19 {k1}
vpshldvw          (%rax), %zmm17, %zmm19 {k1}
vpshldvw          %zmm16, %zmm17, %zmm19 {k1}{z}
vpshldvw          (%rax), %zmm17, %zmm19 {k1}{z}

vpshldw           $1, %zmm16, %zmm17, %zmm19
vpshldw           $1, (%rax), %zmm17, %zmm19
vpshldw           $1, %zmm16, %zmm17, %zmm19 {k1}
vpshldw           $1, (%rax), %zmm17, %zmm19 {k1}
vpshldw           $1, %zmm16, %zmm17, %zmm19 {k1}{z}
vpshldw           $1, (%rax), %zmm17, %zmm19 {k1}{z}

vpshrdd           $1, %zmm16, %zmm17, %zmm19
vpshrdd           $1, (%rax), %zmm17, %zmm19
vpshrdd           $1, (%rax){1to16}, %zmm17, %zmm19
vpshrdd           $1, %zmm16, %zmm17, %zmm19 {k1}
vpshrdd           $1, (%rax), %zmm17, %zmm19 {k1}
vpshrdd           $1, (%rax){1to16}, %zmm17, %zmm19 {k1}
vpshrdd           $1, %zmm16, %zmm17, %zmm19 {k1}{z}
vpshrdd           $1, (%rax), %zmm17, %zmm19 {k1}{z}
vpshrdd           $1, (%rax){1to16}, %zmm17, %zmm19 {k1}{z}

vpshrdq           $1, %zmm16, %zmm17, %zmm19
vpshrdq           $1, (%rax), %zmm17, %zmm19
vpshrdq           $1, (%rax){1to8}, %zmm17, %zmm19
vpshrdq           $1, %zmm16, %zmm17, %zmm19 {k1}
vpshrdq           $1, (%rax), %zmm17, %zmm19 {k1}
vpshrdq           $1, (%rax){1to8}, %zmm17, %zmm19 {k1}
vpshrdq           $1, %zmm16, %zmm17, %zmm19 {k1}{z}
vpshrdq           $1, (%rax), %zmm17, %zmm19 {k1}{z}
vpshrdq           $1, (%rax){1to8}, %zmm17, %zmm19 {k1}{z}

vpshrdvd          %zmm16, %zmm17, %zmm19
vpshrdvd          (%rax), %zmm17, %zmm19
vpshrdvd          (%rax){1to16}, %zmm17, %zmm19
vpshrdvd          %zmm16, %zmm17, %zmm19 {k1}
vpshrdvd          (%rax), %zmm17, %zmm19 {k1}
vpshrdvd          (%rax){1to16}, %zmm17, %zmm19 {k1}
vpshrdvd          %zmm16, %zmm17, %zmm19 {k1}{z}
vpshrdvd          (%rax), %zmm17, %zmm19 {k1}{z}
vpshrdvd          (%rax){1to16}, %zmm17, %zmm19 {k1}{z}

vpshrdvq          %zmm16, %zmm17, %zmm19
vpshrdvq          (%rax), %zmm17, %zmm19
vpshrdvq          (%rax){1to8}, %zmm17, %zmm19
vpshrdvq          %zmm16, %zmm17, %zmm19 {k1}
vpshrdvq          (%rax), %zmm17, %zmm19 {k1}
vpshrdvq          (%rax){1to8}, %zmm17, %zmm19 {k1}
vpshrdvq          %zmm16, %zmm17, %zmm19 {k1}{z}
vpshrdvq          (%rax), %zmm17, %zmm19 {k1}{z}
vpshrdvq          (%rax){1to8}, %zmm17, %zmm19 {k1}{z}

vpshrdvw          %zmm16, %zmm17, %zmm19
vpshrdvw          (%rax), %zmm17, %zmm19
vpshrdvw          %zmm16, %zmm17, %zmm19 {k1}
vpshrdvw          (%rax), %zmm17, %zmm19 {k1}
vpshrdvw          %zmm16, %zmm17, %zmm19 {k1}{z}
vpshrdvw          (%rax), %zmm17, %zmm19 {k1}{z}

vpshrdw           $1, %zmm16, %zmm17, %zmm19
vpshrdw           $1, (%rax), %zmm17, %zmm19
vpshrdw           $1, %zmm16, %zmm17, %zmm19 {k1}
vpshrdw           $1, (%rax), %zmm17, %zmm19 {k1}
vpshrdw           $1, %zmm16, %zmm17, %zmm19 {k1}{z}
vpshrdw           $1, (%rax), %zmm17, %zmm19 {k1}{z}

# 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:  2      3     2.00                  U     vpcompressb	%zmm16, %zmm19
# CHECK-NEXT:  8      12    2.00           *            vpcompressb	%zmm16, (%rax)
# CHECK-NEXT:  2      6     2.00                        vpcompressb	%zmm16, %zmm19 {%k1}
# CHECK-NEXT:  8      14    2.00           *            vpcompressb	%zmm16, (%rax) {%k1}
# CHECK-NEXT:  2      6     2.00                        vpcompressb	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      3     2.00                  U     vpcompressw	%zmm16, %zmm19
# CHECK-NEXT:  6      12    2.00           *            vpcompressw	%zmm16, (%rax)
# CHECK-NEXT:  2      6     2.00                        vpcompressw	%zmm16, %zmm19 {%k1}
# CHECK-NEXT:  6      14    2.00           *            vpcompressw	%zmm16, (%rax) {%k1}
# CHECK-NEXT:  2      6     2.00                        vpcompressw	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      3     2.00                  U     vpexpandb	%zmm16, %zmm19
# CHECK-NEXT:  3      11    2.00                  U     vpexpandb	(%rax), %zmm19
# CHECK-NEXT:  2      8     2.00                        vpexpandb	%zmm16, %zmm19 {%k1}
# CHECK-NEXT:  3      13    2.00    *                   vpexpandb	(%rax), %zmm19 {%k1}
# CHECK-NEXT:  2      8     2.00                        vpexpandb	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      3     2.00                  U     vpexpandw	%zmm16, %zmm19
# CHECK-NEXT:  3      11    2.00                  U     vpexpandw	(%rax), %zmm19
# CHECK-NEXT:  2      8     2.00                        vpexpandw	%zmm16, %zmm19 {%k1}
# CHECK-NEXT:  3      13    2.00    *                   vpexpandw	(%rax), %zmm19 {%k1}
# CHECK-NEXT:  2      8     2.00                        vpexpandw	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshldd	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldd	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldd	$1, (%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT:  2      2     1.00                        vpshldd	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshldd	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshldd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      2     1.00                        vpshldd	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshldd	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshldd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshldq	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldq	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldq	$1, (%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT:  2      2     1.00                        vpshldq	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshldq	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshldq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      2     1.00                        vpshldq	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshldq	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshldq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshldvd	%zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldvd	(%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldvd	(%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT:  1      1     1.00                        vpshldvd	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvd	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvd	(%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  1      1     1.00                        vpshldvd	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvd	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvd	(%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshldvq	%zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldvq	(%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldvq	(%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT:  1      1     1.00                        vpshldvq	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvq	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvq	(%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  1      1     1.00                        vpshldvq	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvq	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshldvq	(%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshldvw	%zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldvw	(%rax), %zmm17, %zmm19
# CHECK-NEXT:  1      3     1.00                        vpshldvw	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      11    1.00    *                   vpshldvw	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  1      3     1.00                        vpshldvw	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      11    1.00    *                   vpshldvw	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshldw	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshldw	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      4     1.00                        vpshldw	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      12    1.00    *                   vpshldw	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      4     1.00                        vpshldw	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      12    1.00    *                   vpshldw	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshrdd	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdd	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdd	$1, (%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT:  2      2     1.00                        vpshrdd	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdd	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      2     1.00                        vpshrdd	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdd	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshrdq	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdq	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdq	$1, (%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT:  2      2     1.00                        vpshrdq	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdq	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      2     1.00                        vpshrdq	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdq	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      10    1.00    *                   vpshrdq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshrdvd	%zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvd	(%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvd	(%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT:  1      1     1.00                        vpshrdvd	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvd	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvd	(%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  1      1     1.00                        vpshrdvd	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvd	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvd	(%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshrdvq	%zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvq	(%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvq	(%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT:  1      1     1.00                        vpshrdvq	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvq	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvq	(%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  1      1     1.00                        vpshrdvq	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvq	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvq	(%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshrdvw	%zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdvw	(%rax), %zmm17, %zmm19
# CHECK-NEXT:  1      3     1.00                        vpshrdvw	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      11    1.00    *                   vpshrdvw	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  1      3     1.00                        vpshrdvw	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  2      11    1.00    *                   vpshrdvw	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  1      1     1.00                        vpshrdw	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT:  2      9     1.00    *                   vpshrdw	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT:  2      4     1.00                        vpshrdw	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  3      12    1.00    *                   vpshrdw	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT:  2      4     1.00                        vpshrdw	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT:  3      12    1.00    *                   vpshrdw	$1, (%rax), %zmm17, %zmm19 {%k1} {z}

# CHECK:      Resources:
# CHECK-NEXT: [0]   - SPRPort00
# CHECK-NEXT: [1]   - SPRPort01
# CHECK-NEXT: [2]   - SPRPort02
# CHECK-NEXT: [3]   - SPRPort03
# CHECK-NEXT: [4]   - SPRPort04
# CHECK-NEXT: [5]   - SPRPort05
# CHECK-NEXT: [6]   - SPRPort06
# CHECK-NEXT: [7]   - SPRPort07
# CHECK-NEXT: [8]   - SPRPort08
# CHECK-NEXT: [9]   - SPRPort09
# CHECK-NEXT: [10]  - SPRPort10
# CHECK-NEXT: [11]  - SPRPort11
# CHECK-NEXT: [12]  - SPRPortInvalid

# CHECK:      Resource pressure per iteration:
# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]   [12]
# CHECK-NEXT: 117.40 0.40   21.33  21.33  3.00   56.40  1.40   3.00   3.00   3.00   0.40   21.33   -

# CHECK:      Resource pressure by instruction:
# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]   [12]   Instructions:
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpcompressb	%zmm16, %zmm19
# CHECK-NEXT: 1.20   0.20    -      -     1.00   2.20   0.20   1.00   1.00   1.00   0.20    -      -     vpcompressb	%zmm16, (%rax)
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpcompressb	%zmm16, %zmm19 {%k1}
# CHECK-NEXT: 1.20   0.20    -      -     1.00   2.20   0.20   1.00   1.00   1.00   0.20    -      -     vpcompressb	%zmm16, (%rax) {%k1}
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpcompressb	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpcompressw	%zmm16, %zmm19
# CHECK-NEXT: 1.50    -      -      -     0.50   2.00   0.50   0.50   0.50   0.50    -      -      -     vpcompressw	%zmm16, (%rax)
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpcompressw	%zmm16, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -      -      -     0.50   2.00   0.50   0.50   0.50   0.50    -      -      -     vpcompressw	%zmm16, (%rax) {%k1}
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpcompressw	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpexpandb	%zmm16, %zmm19
# CHECK-NEXT:  -      -     0.33   0.33    -     2.00    -      -      -      -      -     0.33    -     vpexpandb	(%rax), %zmm19
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpexpandb	%zmm16, %zmm19 {%k1}
# CHECK-NEXT:  -      -     0.33   0.33    -     2.00    -      -      -      -      -     0.33    -     vpexpandb	(%rax), %zmm19 {%k1}
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpexpandb	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpexpandw	%zmm16, %zmm19
# CHECK-NEXT:  -      -     0.33   0.33    -     2.00    -      -      -      -      -     0.33    -     vpexpandw	(%rax), %zmm19
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpexpandw	%zmm16, %zmm19 {%k1}
# CHECK-NEXT:  -      -     0.33   0.33    -     2.00    -      -      -      -      -     0.33    -     vpexpandw	(%rax), %zmm19 {%k1}
# CHECK-NEXT:  -      -      -      -      -     2.00    -      -      -      -      -      -      -     vpexpandw	%zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldd	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldd	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldd	$1, (%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshldd	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldd	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshldd	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldd	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldq	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldq	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldq	$1, (%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshldq	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldq	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshldq	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldq	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvd	%zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvd	(%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvd	(%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvd	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvd	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvd	(%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvd	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvd	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvd	(%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvq	%zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvq	(%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvq	(%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvq	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvq	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvq	(%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvq	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvq	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvq	(%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvw	%zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvw	(%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvw	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvw	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldvw	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldvw	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshldw	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshldw	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshldw	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldw	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshldw	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshldw	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdd	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdd	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdd	$1, (%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshrdd	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdd	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshrdd	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdd	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdd	$1, (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdq	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdq	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdq	$1, (%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshrdq	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdq	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshrdq	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdq	$1, (%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdq	$1, (%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvd	%zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvd	(%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvd	(%rax){1to16}, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvd	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvd	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvd	(%rax){1to16}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvd	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvd	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvd	(%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvq	%zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvq	(%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvq	(%rax){1to8}, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvq	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvq	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvq	(%rax){1to8}, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvq	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvq	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvq	(%rax){1to8}, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvw	%zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvw	(%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvw	%zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvw	(%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdvw	%zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdvw	(%rax), %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.00    -      -      -      -      -      -      -      -      -      -      -      -     vpshrdw	$1, %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 1.00    -     0.33   0.33    -      -      -      -      -      -      -     0.33    -     vpshrdw	$1, (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshrdw	$1, %zmm16, %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdw	$1, (%rax), %zmm17, %zmm19 {%k1}
# CHECK-NEXT: 1.50    -      -      -      -     0.50    -      -      -      -      -      -      -     vpshrdw	$1, %zmm16, %zmm17, %zmm19 {%k1} {z}
# CHECK-NEXT: 1.50    -     0.33   0.33    -     0.50    -      -      -      -      -     0.33    -     vpshrdw	$1, (%rax), %zmm17, %zmm19 {%k1} {z}