| 1 |
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p670 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 2 |
# RUN: --opcode-name=PseudoVAESDF_VS_M1_M1 --max-configs-per-opcode=1000 --min-instructions=100 | \ |
| 3 |
# RUN: FileCheck %s --check-prefix=ZVK |
| 4 |
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p670 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 5 |
# RUN: --opcode-name=PseudoVGHSH_VV_M1 --max-configs-per-opcode=1000 --min-instructions=100 | \ |
| 6 |
# RUN: FileCheck %s --check-prefix=ZVK |
| 7 |
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p670 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 8 |
# RUN: --opcode-name=PseudoVSM4K_VI_M1 --max-configs-per-opcode=1000 --min-instructions=100 | \ |
| 9 |
# RUN: FileCheck %s --check-prefix=ZVK |
| 10 |
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p670 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 11 |
# RUN: --opcode-name=PseudoVSM3C_VI_M2 --max-configs-per-opcode=1000 --min-instructions=100 | \ |
| 12 |
# RUN: FileCheck %s --check-prefix=ZVK |
| 13 |
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p670 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 14 |
# RUN: --opcode-name=PseudoVSHA2MS_VV_M1_E32 --max-configs-per-opcode=1000 --min-instructions=100 | \ |
| 15 |
# RUN: FileCheck %s --allow-empty --check-prefix=ZVKNH |
| 16 |
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p670 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 17 |
# RUN: --opcode-name=PseudoVSHA2MS_VV_M2_E64 --max-configs-per-opcode=1000 --min-instructions=100 | \ |
| 18 |
# RUN: FileCheck %s --allow-empty --check-prefix=ZVKNH |
| 19 |
# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p670 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 20 |
# RUN: --opcode-name=PseudoVSM3C_VI_M1 --max-configs-per-opcode=1000 --min-instructions=100 | \ |
| 21 |
# RUN: FileCheck %s --allow-empty --check-prefix=EMPTY |
| 22 |
# UNSUPPORTED: expensive_checks |
| 23 |
|
| 24 |
# Most vector crypto only supports SEW=32, except Zvknhb which also supports SEW=64 |
| 25 |
# ZVK-NOT: SEW: e{{(8|16)}} |
| 26 |
# ZVK: SEW: e32 |
| 27 |
# ZVK-NOT: SEW: e64 |
| 28 |
|
| 29 |
# ZVKNH(A|B) can either have SEW=32 (EGW=128) or SEW=64 (EGW=256) |
| 30 |
|
| 31 |
# ZVKNH-NOT: SEW: e{{(8|16)}} |
| 32 |
# ZVKNH: SEW: e{{(32|64)}} |
| 33 |
|
| 34 |
# EMPTY-NOT: SEW: e{{(8|16|32|64)}} |