|
| 1 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=latency \ |
| 2 | +# RUN: --opcode-name=PseudoVCOMPRESS_VM_M2_E8,PseudoVCPOP_M_B32 | \ |
| 3 | +# RUN: FileCheck %s --allow-empty --check-prefix=LATENCY |
| 4 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 5 | +# RUN: --opcode-name=PseudoVCOMPRESS_VM_M2_E8,PseudoVCPOP_M_B32 \ |
| 6 | +# RUN: --min-instructions=100 | \ |
| 7 | +# RUN: FileCheck %s --check-prefix=RTHROUGHPUT1 |
| 8 | + |
| 9 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=latency \ |
| 10 | +# RUN: --opcode-name=PseudoVRGATHEREI16_VV_M2_E32_M1,PseudoVRGATHER_VI_M2,PseudoVRGATHER_VV_M8_E32,PseudoVRGATHER_VX_M4 | \ |
| 11 | +# RUN: FileCheck %s --allow-empty --check-prefix=LATENCY |
| 12 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 13 | +# RUN: --opcode-name=PseudoVRGATHEREI16_VV_M2_E32_M1,PseudoVRGATHER_VI_M2,PseudoVRGATHER_VV_M8_E32,PseudoVRGATHER_VX_M4 \ |
| 14 | +# RUN: --min-instructions=100 | \ |
| 15 | +# RUN: FileCheck %s --check-prefix=RTHROUGHPUT2 |
| 16 | + |
| 17 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=latency \ |
| 18 | +# RUN: --opcode-name=PseudoVSLIDE1UP_VX_M1,PseudoVSLIDEUP_VI_M2,PseudoVSLIDEUP_VX_M2 | \ |
| 19 | +# RUN: FileCheck %s --allow-empty --check-prefix=LATENCY |
| 20 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 21 | +# RUN: --opcode-name=PseudoVSLIDE1UP_VX_M1,PseudoVSLIDEUP_VI_M2,PseudoVSLIDEUP_VX_M2 \ |
| 22 | +# RUN: --min-instructions=100 | \ |
| 23 | +# RUN: FileCheck %s --check-prefix=RTHROUGHPUT3 |
| 24 | + |
| 25 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=latency \ |
| 26 | +# RUN: --opcode-name=PseudoVNCLIPU_WI_M2,PseudoVNSRA_WI_M2,PseudoVNSRL_WI_M2 | \ |
| 27 | +# RUN: FileCheck %s --allow-empty --check-prefix=LATENCY |
| 28 | +# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-x280 -benchmark-phase=assemble-measured-code --mode=inverse_throughput \ |
| 29 | +# RUN: --opcode-name=PseudoVNCLIPU_WI_M2,PseudoVNSRA_WI_M2,PseudoVNSRL_WI_M2 \ |
| 30 | +# RUN: --min-instructions=100 | \ |
| 31 | +# RUN: FileCheck %s --check-prefix=RTHROUGHPUT4 |
| 32 | + |
| 33 | +# These instructions are only eligible under the inverse throughput mode. |
| 34 | + |
| 35 | +# LATENCY-NOT: PseudoVCOMPRESS_VM_M2_E8 |
| 36 | +# LATENCY-NOT: PseudoVCPOP_M_B32 |
| 37 | +# LATENCY-NOT: PseudoVRGATHEREI16_VV_M2_E32_M1 |
| 38 | +# LATENCY-NOT: PseudoVRGATHER_VI_M2 |
| 39 | +# LATENCY-NOT: PseudoVRGATHER_VV_M8_E32 |
| 40 | +# LATENCY-NOT: PseudoVRGATHER_VX_M4 |
| 41 | +# LATENCY-NOT: PseudoVSLIDE1UP_VX_M1 |
| 42 | +# LATENCY-NOT: PseudoVSLIDEUP_VI_M2 |
| 43 | +# LATENCY-NOT: PseudoVSLIDEUP_VX_M2 |
| 44 | +# LATENCY-NOT: PseudoVNCLIPU_WI_M2 |
| 45 | +# LATENCY-NOT: PseudoVNSRA_WI_M2 |
| 46 | +# LATENCY-NOT: PseudoVNSRL_WI_M2 |
| 47 | + |
| 48 | +# RTHROUGHPUT1: PseudoVCOMPRESS_VM_M2_E8 |
| 49 | +# RTHROUGHPUT1: PseudoVCPOP_M_B32 |
| 50 | +# RTHROUGHPUT2: PseudoVRGATHEREI16_VV_M2_E32_M1 |
| 51 | +# RTHROUGHPUT2: PseudoVRGATHER_VI_M2 |
| 52 | +# RTHROUGHPUT2: PseudoVRGATHER_VV_M8_E32 |
| 53 | +# RTHROUGHPUT2: PseudoVRGATHER_VX_M4 |
| 54 | +# RTHROUGHPUT3: PseudoVSLIDE1UP_VX_M1 |
| 55 | +# RTHROUGHPUT3: PseudoVSLIDEUP_VI_M2 |
| 56 | +# RTHROUGHPUT3: PseudoVSLIDEUP_VX_M2 |
| 57 | +# RTHROUGHPUT4: PseudoVNCLIPU_WI_M2 |
| 58 | +# RTHROUGHPUT4: PseudoVNSRA_WI_M2 |
| 59 | +# RTHROUGHPUT4: PseudoVNSRL_WI_M2 |
0 commit comments