ucb-bar / riscv-torture

RISC-V Torture Test
167 stars 48 forks source link

Support for RISC-V "V" extension #24

Open hassaankhalid-lm opened 4 years ago

hassaankhalid-lm commented 4 years ago

Hello All, I have tried generating vector instructions using torture and running them on spike. The opcodes are not recognized as torture generates hwacha's non-standard vector instruction set and spike supports the newer version (v0.9) of the RISC-V ISA's vector instructions. I am interested in updating the torture tool to support the RISC-V standard for vector processing but first, wanted to ask if there are already any plans for this.

hassaankhalid-lm commented 3 years ago

[Forked] riscv-torture with RISC-V "V" ext (v0.9): https://github.com/Lampro-Mellon/riscv-torture

Any feedback will be highly appreciated!

mazharcse commented 3 years ago

[Forked] riscv-torture with RISC-V "V" ext (v0.9): https://github.com/Lampro-Mellon/riscv-torture

Any feedback will be highly appreciated!

Hi Hassan Khalid, Which are the prerequisites for that? like java, scala, sbt version?

make igentest java -Xmx1G -Xss8M -XX:MaxPermSize=128M -jar sbt-launch.jar 'testrun/run' OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0 Getting org.scala-sbt sbt 0.13.8 ...

:: problems summary :: :::: WARNINGS module not found: org.scala-sbt#sbt;0.13.8

==== local: tried

/home/mazharul/.ivy2/local/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml

==== typesafe-ivy-releases: tried

http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml

==== Maven Central: tried

http://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.pom

  ::::::::::::::::::::::::::::::::::::::::::::::

  ::          UNRESOLVED DEPENDENCIES         ::

  ::::::::::::::::::::::::::::::::::::::::::::::

  :: org.scala-sbt#sbt;0.13.8: not found

  ::::::::::::::::::::::::::::::::::::::::::::::

:::: ERRORS Server access Error: Connection refused (Connection refused) url=http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml

SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.pom

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS unresolved dependency: org.scala-sbt#sbt;0.13.8: not found Error during sbt execution: Error retrieving required libraries (see /home/mazharul/.sbt/boot/update.log for complete log) Error: Could not retrieve sbt 0.13.8 make: *** [Makefile:44: igentest] Error 1

mazharcse commented 2 years ago

I have used those versions and it works now. openjdk version "1.8.0_292" Scala code runner version 2.11.12 sbt 1.4.4