mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
ci: reorganize jobs (#1517)
This commit is contained in:
parent
f3eaf4abc7
commit
e8022778b7
7 changed files with 2454 additions and 189 deletions
357
.gitlab-ci.yml
357
.gitlab-ci.yml
|
@ -46,6 +46,7 @@ workflow:
|
|||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
DASHBOARD: cva6
|
||||
DV_TARGET: cv32a6_embedded
|
||||
|
||||
default:
|
||||
tags: [$TAGS_RUNNER]
|
||||
|
@ -56,8 +57,8 @@ default:
|
|||
|
||||
stages:
|
||||
- setup
|
||||
- smoke tests
|
||||
- verif tests
|
||||
- light tests
|
||||
- heavy tests
|
||||
- backend tests
|
||||
- find failures
|
||||
- report
|
||||
|
@ -103,8 +104,8 @@ build_tools:
|
|||
- mkdir -p artifacts/tools/
|
||||
- mv tools/spike artifacts/tools/
|
||||
|
||||
.smoke_test:
|
||||
stage: smoke tests
|
||||
.fe_smoke_test:
|
||||
stage: light tests
|
||||
rules: *on_dev
|
||||
before_script:
|
||||
- mkdir -p tools
|
||||
|
@ -114,9 +115,13 @@ build_tools:
|
|||
- python3 .gitlab-ci/scripts/report_fail.py
|
||||
- echo $SYN_VCS_BASHRC; source $SYN_VCS_BASHRC
|
||||
|
||||
.simu_after_script: &simu_after_script
|
||||
- for i in verif/sim/*/v*_sim/*.log.iss ; do head -10000 $i > artifacts/logs/$(basename $i).head ; done
|
||||
- python3 .gitlab-ci/scripts/report_simu.py verif/sim/logfile.log
|
||||
|
||||
smoke:
|
||||
extends:
|
||||
- .smoke_test
|
||||
- .fe_smoke_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Smoke test $DV_SIMULATORS"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Short tests to challenge most architectures with most testbenchs configurations"
|
||||
|
@ -130,25 +135,24 @@ smoke:
|
|||
- "vcs-uvm,spike"
|
||||
script:
|
||||
- source verif/regress/smoke-tests.sh
|
||||
after_script: &simu_after_script
|
||||
- for i in verif/sim/*/v*_sim/*.log.iss ; do head -10000 $i > artifacts/logs/$(basename $i).head ; done
|
||||
- python3 .gitlab-ci/scripts/report_simu.py verif/sim/logfile.log
|
||||
- !reference [.simu_after_script]
|
||||
|
||||
gen_smoke:
|
||||
extends:
|
||||
- .smoke_test
|
||||
- .fe_smoke_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Smoke Generated test $DV_SIMULATORS"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Short generated tests to challenge the CVA6-DV on STEP1 configuration"
|
||||
DASHBOARD_SORT_INDEX: 0
|
||||
DASHBOARD_JOB_CATEGORY: "Basic"
|
||||
DV_SIMULATORS: "vcs-uvm,spike"
|
||||
script: source verif/regress/smoke-gen_tests.sh
|
||||
after_script: *simu_after_script
|
||||
script:
|
||||
- source verif/regress/smoke-gen_tests.sh
|
||||
- !reference [.simu_after_script]
|
||||
|
||||
coremark:
|
||||
extends:
|
||||
- .smoke_test
|
||||
- .fe_smoke_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "CoreMark"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Performance indicator"
|
||||
|
@ -158,72 +162,9 @@ coremark:
|
|||
- bash verif/regress/coremark.sh --no-print
|
||||
- python3 .gitlab-ci/scripts/report_benchmark.py --coremark verif/sim/out_*/veri-testharness_sim/core_main.log
|
||||
|
||||
dhrystone:
|
||||
extends:
|
||||
- .smoke_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Dhrystone"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Performance indicator"
|
||||
DASHBOARD_SORT_INDEX: 5
|
||||
DASHBOARD_JOB_CATEGORY: "Performance"
|
||||
script:
|
||||
- bash verif/regress/dhrystone.sh
|
||||
- python3 .gitlab-ci/scripts/report_benchmark.py --dhrystone verif/sim/out_*/veri-testharness_sim/dhrystone_main.log
|
||||
|
||||
.regress_test:
|
||||
stage: verif tests
|
||||
before_script:
|
||||
- !reference [.smoke_test, before_script]
|
||||
rules: &on_regress
|
||||
- if: $CI_KIND == "regress"
|
||||
- if: $CI_KIND == "verif"
|
||||
- when: manual
|
||||
allow_failure: true
|
||||
|
||||
riscv_arch_test:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "arch_test $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Compliance regression suite"
|
||||
DASHBOARD_SORT_INDEX: 0
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
parallel:
|
||||
matrix:
|
||||
- DV_TARGET: [cv64a6_imafdc_sv39, cv32a60x]
|
||||
script: source verif/regress/dv-riscv-arch-test.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
csr_test:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "csr_test $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "CSR regression suite"
|
||||
DASHBOARD_SORT_INDEX: 0
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
DV_TARGET: cv32a60x
|
||||
script: source verif/regress/dv-riscv-csr-access-test.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
mmu_sv32_tests:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "mmu_sv32_tests $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "MMU SV32 regression suite"
|
||||
DASHBOARD_SORT_INDEX: 0
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
DV_TARGET: cv32a60x
|
||||
script: source verif/regress/dv-riscv-mmu-sv32-test.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
hwconfig:
|
||||
extends:
|
||||
- .regress_test
|
||||
- .fe_smoke_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "HW config $DV_SIMULATORS $DV_HWCONFIG_OPTS"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Short tests to challenge target configurations"
|
||||
|
@ -235,70 +176,25 @@ hwconfig:
|
|||
- source verif/regress/hwconfig_tests.sh
|
||||
- python3 .gitlab-ci/scripts/report_pass.py
|
||||
|
||||
compliance:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Compliance $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Compliance regression suite"
|
||||
DASHBOARD_SORT_INDEX: 2
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
parallel:
|
||||
matrix:
|
||||
- DV_TARGET: [cv64a6_imafdc_sv39, cv32a60x]
|
||||
script: source verif/regress/dv-riscv-compliance.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
tests-v:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Riscv-test $DV_TARGET (virtual)"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Riscv-test regression suite (virtual)"
|
||||
DASHBOARD_SORT_INDEX: 3
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
DV_TARGET: cv64a6_imafdc_sv39
|
||||
DV_TESTLISTS: "../tests/testlist_riscv-tests-$DV_TARGET-v.yaml"
|
||||
script: source verif/regress/dv-riscv-tests.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
tests-p:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Riscv-test $DV_TARGET (physical)"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Riscv-test regression suite (physical)"
|
||||
DASHBOARD_SORT_INDEX: 4
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
DV_TESTLISTS: "../tests/testlist_riscv-tests-$DV_TARGET-p.yaml"
|
||||
parallel:
|
||||
matrix:
|
||||
- DV_TARGET: [cv64a6_imafdc_sv39, cv32a60x]
|
||||
script: source verif/regress/dv-riscv-tests.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
synthesis_others:
|
||||
.synthesis_test:
|
||||
stage: heavy tests
|
||||
timeout: 2 hours
|
||||
before_script:
|
||||
- !reference [.fe_smoke_test, before_script]
|
||||
rules: *on_dev
|
||||
|
||||
asic-synthesis:
|
||||
extends:
|
||||
- .verif_test
|
||||
parallel:
|
||||
matrix:
|
||||
- TARGET: cv64a6_imafdc_sv39
|
||||
PERIOD: "1.1"
|
||||
- TARGET: cv32a60x
|
||||
PERIOD: "0.95"
|
||||
variables: &synth_vars
|
||||
INPUT_DELAY: "0.46"
|
||||
OUTPUT_DELAY: "0.11"
|
||||
DASHBOARD_JOB_TITLE: "ASIC Synthesis $TARGET"
|
||||
- .synthesis_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "ASIC Synthesis $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Synthesis indicator with specific Techno"
|
||||
DASHBOARD_SORT_INDEX: 5
|
||||
DASHBOARD_JOB_CATEGORY: "Synthesis"
|
||||
script: &synth_script
|
||||
#ack trick to manage float gitlab-ci variables that seems to support only string or integer
|
||||
INPUT_DELAY: "0.46"
|
||||
OUTPUT_DELAY: "0.11"
|
||||
PERIOD: "0.85"
|
||||
script:
|
||||
- echo $SYNTH_PERIOD
|
||||
- echo $INPUT_DELAY
|
||||
- echo $OUTPUT_DELAY
|
||||
|
@ -306,63 +202,16 @@ synthesis_others:
|
|||
- echo $FOUNDRY_PATH
|
||||
- echo $PERIOD
|
||||
- echo $TECH_NAME
|
||||
- echo $TARGET
|
||||
- echo $DV_TARGET
|
||||
- source verif/regress/install-cva6.sh
|
||||
- echo $SYN_DCSHELL_BASHRC; source $SYN_DCSHELL_BASHRC
|
||||
- make -C pd/synth cva6_synth
|
||||
- mv pd/synth/cva6_${TARGET}_synth_modified.v artifacts/cva6_${TARGET}_synth_modified.v
|
||||
- python3 .gitlab-ci/scripts/report_synth.py pd/synth/cva6_${TARGET}/reports/$PERIOD/cva6_$(echo $TECH_NAME)_synth_area.rpt pd/synth/synthesis_batch.log
|
||||
|
||||
synthesis:
|
||||
timeout: 2 hours
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
<<: *synth_vars
|
||||
TARGET: cv32a6_embedded
|
||||
PERIOD: "0.85"
|
||||
script: *synth_script
|
||||
|
||||
.backend_test:
|
||||
stage: backend tests
|
||||
before_script:
|
||||
- mkdir -p artifacts/{reports,logs}
|
||||
- python3 .gitlab-ci/scripts/report_fail.py
|
||||
|
||||
smoke-gate:
|
||||
extends:
|
||||
- .backend_test
|
||||
needs:
|
||||
- build_tools
|
||||
- synthesis
|
||||
rules: *on_regress
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Smoke Gate $TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Simple test to check netlist from ASIC synthesis"
|
||||
DASHBOARD_SORT_INDEX: 6
|
||||
DASHBOARD_JOB_CATEGORY: "Post Synthesis"
|
||||
TARGET: cv32a6_embedded
|
||||
script:
|
||||
- mkdir -p tools
|
||||
- mv artifacts/tools/spike tools
|
||||
- echo $SYN_VCS_BASHRC; source $SYN_VCS_BASHRC
|
||||
- echo $LIB_VERILOG
|
||||
- echo $FOUNDRY_PATH
|
||||
- echo $PERIOD
|
||||
- echo $TECH_NAME
|
||||
- source verif/regress/install-cva6.sh
|
||||
- source verif/regress/install-riscv-dv.sh
|
||||
- source verif/regress/install-riscv-tests.sh
|
||||
- mv artifacts/cva6_${TARGET}_synth_modified.v pd/synth/cva6_${TARGET}_synth_modified.v
|
||||
- cd verif/sim
|
||||
- make vcs_clean_all
|
||||
- python3 cva6.py --testlist=../tests/testlist_riscv-tests-cv32a60x-p.yaml --test rv32ui-p-lw --iss_yaml cva6.yaml --target $TARGET --iss=spike,vcs-gate $DV_OPTS
|
||||
after_script: *simu_after_script
|
||||
- make -C pd/synth cva6_synth TARGET="$DV_TARGET"
|
||||
- mv pd/synth/cva6_${DV_TARGET}_synth_modified.v artifacts/cva6_${DV_TARGET}_synth_modified.v
|
||||
- python3 .gitlab-ci/scripts/report_synth.py pd/synth/cva6_${DV_TARGET}/reports/$PERIOD/cva6_$(echo $TECH_NAME)_synth_area.rpt pd/synth/synthesis_batch.log
|
||||
|
||||
fpga-build:
|
||||
timeout: 90 minutes
|
||||
extends:
|
||||
- .regress_test
|
||||
- .synthesis_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "FPGA Build $TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Test of FPGA build flow"
|
||||
|
@ -377,6 +226,79 @@ fpga-build:
|
|||
- mv corev_apu/fpga/work-fpga/ariane_xilinx.bit artifacts/ariane_xilinx_$TARGET.bit
|
||||
- python3 .gitlab-ci/scripts/report_fpga.py corev_apu/fpga/reports/ariane.utilization.rpt
|
||||
|
||||
.regress_test:
|
||||
stage: heavy tests
|
||||
before_script:
|
||||
- !reference [.fe_smoke_test, before_script]
|
||||
rules: &on_regress
|
||||
- if: $CI_KIND == "regress"
|
||||
- if: $CI_KIND == "verif"
|
||||
- when: manual
|
||||
allow_failure: true
|
||||
|
||||
dhrystone:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Dhrystone"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Performance indicator"
|
||||
DASHBOARD_SORT_INDEX: 5
|
||||
DASHBOARD_JOB_CATEGORY: "Performance"
|
||||
script:
|
||||
- bash verif/regress/dhrystone.sh
|
||||
- python3 .gitlab-ci/scripts/report_benchmark.py --dhrystone verif/sim/out_*/veri-testharness_sim/dhrystone_main.log
|
||||
|
||||
riscv_arch_test:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "arch_test $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Compliance regression suite"
|
||||
DASHBOARD_SORT_INDEX: 0
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
script: source verif/regress/dv-riscv-arch-test.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
compliance:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Compliance $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Compliance regression suite"
|
||||
DASHBOARD_SORT_INDEX: 2
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
script: source verif/regress/dv-riscv-compliance.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
riscv-tests-v:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Riscv-test $DV_TARGET (virtual)"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Riscv-test regression suite (virtual)"
|
||||
DASHBOARD_SORT_INDEX: 3
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
DV_TARGET: cv64a6_imafdc_sv39
|
||||
DV_TESTLISTS: "../tests/testlist_riscv-tests-$DV_TARGET-v.yaml"
|
||||
script: source verif/regress/dv-riscv-tests.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
riscv-tests-p:
|
||||
extends:
|
||||
- .regress_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Riscv-test $DV_TARGET (physical)"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Riscv-test regression suite (physical)"
|
||||
DASHBOARD_SORT_INDEX: 4
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
DV_TESTLISTS: "../tests/testlist_riscv-tests-$DV_TARGET-p.yaml"
|
||||
script: source verif/regress/dv-riscv-tests.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
.verif_test:
|
||||
extends:
|
||||
- .regress_test
|
||||
|
@ -386,6 +308,31 @@ fpga-build:
|
|||
allow_failure: true
|
||||
timeout: 4h
|
||||
|
||||
csr_test:
|
||||
extends:
|
||||
- .verif_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "csr_test $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "CSR regression suite"
|
||||
DASHBOARD_SORT_INDEX: 0
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
script: source verif/regress/dv-riscv-csr-access-test.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
mmu_sv32_tests:
|
||||
extends:
|
||||
- .verif_test
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "mmu_sv32_tests $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "MMU SV32 regression suite"
|
||||
DASHBOARD_SORT_INDEX: 0
|
||||
DASHBOARD_JOB_CATEGORY: "Test suites"
|
||||
DV_SIMULATORS: "veri-testharness,spike"
|
||||
DV_TARGET: cv32a60x
|
||||
script: source verif/regress/dv-riscv-mmu-sv32-test.sh
|
||||
after_script: *simu_after_script
|
||||
|
||||
generated_tests:
|
||||
extends:
|
||||
- .verif_test
|
||||
|
@ -471,6 +418,40 @@ directed_xif-tests:
|
|||
- mv verif/sim/vcs_results/default/vcs.d/simv.vdb artifacts/coverage
|
||||
- python3 .gitlab-ci/scripts/report_pass.py
|
||||
|
||||
.backend_test:
|
||||
stage: backend tests
|
||||
before_script:
|
||||
- mkdir -p artifacts/{reports,logs}
|
||||
- python3 .gitlab-ci/scripts/report_fail.py
|
||||
|
||||
smoke-gate:
|
||||
extends:
|
||||
- .backend_test
|
||||
needs:
|
||||
- build_tools
|
||||
- asic-synthesis
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "Smoke Gate $DV_TARGET"
|
||||
DASHBOARD_JOB_DESCRIPTION: "Simple test to check netlist from ASIC synthesis"
|
||||
DASHBOARD_SORT_INDEX: 6
|
||||
DASHBOARD_JOB_CATEGORY: "Post Synthesis"
|
||||
script:
|
||||
- mkdir -p tools
|
||||
- mv artifacts/tools/spike tools
|
||||
- echo $SYN_VCS_BASHRC; source $SYN_VCS_BASHRC
|
||||
- echo $LIB_VERILOG
|
||||
- echo $FOUNDRY_PATH
|
||||
- echo $PERIOD
|
||||
- echo $TECH_NAME
|
||||
- source verif/regress/install-cva6.sh
|
||||
- source verif/regress/install-riscv-dv.sh
|
||||
- source verif/regress/install-riscv-tests.sh
|
||||
- mv artifacts/cva6_${DV_TARGET}_synth_modified.v pd/synth/cva6_${DV_TARGET}_synth_modified.v
|
||||
- cd verif/sim
|
||||
- make vcs_clean_all
|
||||
- python3 cva6.py --testlist=../tests/testlist_riscv-tests-cv32a60x-p.yaml --test rv32ui-p-lw --iss_yaml cva6.yaml --target $DV_TARGET --iss=spike,vcs-gate $DV_OPTS
|
||||
after_script: *simu_after_script
|
||||
|
||||
fpga-boot:
|
||||
extends:
|
||||
- .backend_test
|
||||
|
@ -478,7 +459,6 @@ fpga-boot:
|
|||
needs:
|
||||
- build_tools
|
||||
- fpga-build
|
||||
rules: *on_regress
|
||||
variables:
|
||||
DASHBOARD_JOB_TITLE: "FPGA Linux32 Boot "
|
||||
DASHBOARD_JOB_DESCRIPTION: "Test of Linux 32 bits boot on FPGA Genesys2"
|
||||
|
@ -499,7 +479,6 @@ fpga-boot:
|
|||
code_coverage-report:
|
||||
extends:
|
||||
- .backend_test
|
||||
rules: *on_verif
|
||||
needs:
|
||||
- generated_tests
|
||||
- directed_isacov-tests
|
||||
|
|
|
@ -63,3 +63,6 @@ if diff != 0:
|
|||
report = rb.Report(f'{cycles//1000} kCycles')
|
||||
report.add_metric(score_metric)
|
||||
report.dump()
|
||||
|
||||
if report.failed:
|
||||
sys.exit(1)
|
||||
|
|
|
@ -38,3 +38,6 @@ if job_test_total == 0:
|
|||
report = rb.Report(f'{job_test_pass}/{job_test_total}')
|
||||
report.add_metric(metric)
|
||||
report.dump()
|
||||
|
||||
if report.failed:
|
||||
sys.exit(1)
|
||||
|
|
472
verif/tests/testlist_riscv-arch-test-cv32a6_embedded.yaml
Normal file
472
verif/tests/testlist_riscv-arch-test-cv32a6_embedded.yaml
Normal file
|
@ -0,0 +1,472 @@
|
|||
# Copyright Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# ================================================================================
|
||||
# Regression test list format
|
||||
# --------------------------------------------------------------------------------
|
||||
# test : Assembly test name
|
||||
# description : Description of this test
|
||||
# gen_opts : Instruction generator options
|
||||
# iterations : Number of iterations of this test
|
||||
# no_iss : Enable/disable ISS simulator (Optional)
|
||||
# gen_test : Test name used by the instruction generator
|
||||
# asm_tests : Path to directed, hand-coded assembly test file or directory
|
||||
# rtl_test : RTL simulation test name
|
||||
# cmp_opts : Compile options passed to the instruction generator
|
||||
# sim_opts : Simulation options passed to the instruction generator
|
||||
# no_post_compare : Enable/disable comparison of trace log and ISS log (Optional)
|
||||
# compare_opts : Options for the RTL & ISS trace comparison
|
||||
# gcc_opts : gcc compile options
|
||||
# --------------------------------------------------------------------------------
|
||||
## C
|
||||
- test: rv32im-cadd-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S
|
||||
|
||||
- test: rv32im-caddi-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/caddi-01.S
|
||||
|
||||
- test: rv32im-caddi16sp-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/caddi16sp-01.S
|
||||
|
||||
- test: rv32im-caddi4spn-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/caddi4spn-01.S
|
||||
|
||||
- test: rv32im-cand-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cand-01.S
|
||||
|
||||
- test: rv32im-candi-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/candi-01.S
|
||||
|
||||
- test: rv32im-cbeqz-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cbeqz-01.S
|
||||
|
||||
- test: rv32im-cbnez-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cbnez-01.S
|
||||
|
||||
- test: rv32im-cebreak-01
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cebreak-01.S
|
||||
|
||||
- test: rv32im-cj-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cj-01.S
|
||||
|
||||
- test: rv32im-cjal-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cjal-01.S
|
||||
|
||||
- test: rv32im-cjalr-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cjalr-01.S
|
||||
|
||||
- test: rv32im-cjr-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cjr-01.S
|
||||
|
||||
- test: rv32im-cli-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cli-01.S
|
||||
|
||||
- test: rv32im-clui-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/clui-01.S
|
||||
|
||||
- test: rv32im-clw-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/clw-01.S
|
||||
|
||||
- test: rv32im-clwsp-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/clwsp-01.S
|
||||
|
||||
- test: rv32im-cmv-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cmv-01.S
|
||||
|
||||
- test: rv32im-cnop-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cnop-01.S
|
||||
|
||||
- test: rv32im-cor-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cor-01.S
|
||||
|
||||
- test: rv32im-cslli-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cslli-01.S
|
||||
|
||||
- test: rv32im-csrai-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/csrai-01.S
|
||||
|
||||
- test: rv32im-csrli-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/csrli-01.S
|
||||
|
||||
- test: rv32im-csub-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/csub-01.S
|
||||
|
||||
- test: rv32im-csw-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/csw-01.S
|
||||
|
||||
- test: rv32im-cswsp-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cswsp-01.S
|
||||
|
||||
- test: rv32im-cxor-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cxor-01.S
|
||||
|
||||
# I
|
||||
- test: rv32im-add-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/add-01.S
|
||||
|
||||
- test: rv32im-addi-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/addi-01.S
|
||||
|
||||
- test: rv32im-and-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/and-01.S
|
||||
|
||||
- test: rv32im-andi-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/andi-01.S
|
||||
|
||||
- test: rv32im-auipc-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/auipc-01.S
|
||||
|
||||
- test: rv32im-beq-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/beq-01.S
|
||||
|
||||
- test: rv32im-bge-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/bge-01.S
|
||||
|
||||
- test: rv32im-bgeu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/bgeu-01.S
|
||||
|
||||
- test: rv32im-blt-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/blt-01.S
|
||||
|
||||
- test: rv32im-bltu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/bltu-01.S
|
||||
|
||||
- test: rv32im-bne-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/bne-01.S
|
||||
|
||||
- test: rv32im-fence-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/fence-01.S
|
||||
|
||||
- test: rv32im-jal-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/jal-01.S
|
||||
|
||||
- test: rv32im-jalr-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/jalr-01.S
|
||||
|
||||
- test: rv32im-lb-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/lb-align-01.S
|
||||
|
||||
- test: rv32im-lbu-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/lbu-align-01.S
|
||||
|
||||
- test: rv32im-lh-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/lh-align-01.S
|
||||
|
||||
- test: rv32im-lhu-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/lhu-align-01.S
|
||||
|
||||
- test: rv32im-lui-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/lui-01.S
|
||||
|
||||
- test: rv32im-lw-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/lw-align-01.S
|
||||
|
||||
- test: rv32im-or-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/or-01.S
|
||||
|
||||
- test: rv32im-ori-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/ori-01.S
|
||||
|
||||
- test: rv32im-sb-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sb-align-01.S
|
||||
|
||||
- test: rv32im-sh-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sh-align-01.S
|
||||
|
||||
- test: rv32im-sll-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sll-01.S
|
||||
|
||||
- test: rv32im-slli-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/slli-01.S
|
||||
|
||||
- test: rv32im-slt-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/slt-01.S
|
||||
|
||||
- test: rv32im-slti-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/slti-01.S
|
||||
|
||||
- test: rv32im-sltiu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sltiu-01.S
|
||||
|
||||
- test: rv32im-sltu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sltu-01.S
|
||||
|
||||
- test: rv32im-sra-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sra-01.S
|
||||
|
||||
- test: rv32im-srai-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/srai-01.S
|
||||
|
||||
- test: rv32im-srl-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/srl-01.S
|
||||
|
||||
- test: rv32im-srli-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/srli-01.S
|
||||
|
||||
- test: rv32im-sub-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sub-01.S
|
||||
|
||||
- test: rv32im-sw-align-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/sw-align-01.S
|
||||
|
||||
- test: rv32im-xor-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/xor-01.S
|
||||
|
||||
- test: rv32im-xori-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/I/src/xori-01.S
|
||||
|
||||
# M
|
||||
- test: rv32im-div-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/div-01.S
|
||||
|
||||
- test: rv32im-divu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/divu-01.S
|
||||
|
||||
- test: rv32im-mul-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/mul-01.S
|
||||
|
||||
- test: rv32im-mulh-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/mulh-01.S
|
||||
|
||||
- test: rv32im-mulhsu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/mulhsu-01.S
|
||||
|
||||
- test: rv32im-mulhu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/mulhu-01.S
|
||||
|
||||
- test: rv32im-rem-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/rem-01.S
|
||||
|
||||
- test: rv32im-remu-01
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-DXLEN=32 -DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-test-suite/env/ -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-arch-test/riscv-test-suite/rv32i_m/M/src/remu-01.S
|
||||
|
1131
verif/tests/testlist_riscv-compliance-cv32a6_embedded.yaml
Normal file
1131
verif/tests/testlist_riscv-compliance-cv32a6_embedded.yaml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,76 @@
|
|||
## // Copyright 2023 Thales
|
||||
## // SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
|
||||
|
||||
- test: M_RW_CSR
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_m_rw_csr_test_0.S
|
||||
|
||||
- test: S_RW_CSR
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_s_rw_csr_test_0.S
|
||||
|
||||
- test: M_RO_CSR
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_m_ro_csr_test_0.S
|
||||
|
||||
- test: M_MCYCLE_CSR
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_mcycle_csr_test_0.S
|
||||
|
||||
- test: M_MCYCLEH_CSR
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_mcycleh_csr_test_0.S
|
||||
|
||||
- test: M_MINSTRET_CSR
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_minstret_csr_test_0.S
|
||||
|
||||
- test: M_MINSTRETH_CSR
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_minstreth_csr_test_0.S
|
||||
|
||||
- test: U_CYCLE_CSR
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_cycle_csr_test_0.S
|
||||
|
||||
- test: U_INSTRET_CSR
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
# Prerequisite: install riscv-arch-test (== run 'cva6/regress/install-riscv-arch-test.sh') first.
|
||||
# It will populate '<path_var>/riscv-arch-test/riscv-target/spike/' using the current Spike installation.
|
||||
gcc_opts: "-DTEST_CASE_1=True -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-arch-test/riscv-target/spike/"
|
||||
asm_tests: <path_var>/custom/CSR/csr_access_tests/riscv_instret_csr_test_0.S
|
||||
|
||||
|
601
verif/tests/testlist_riscv-tests-cv32a6_embedded-p.yaml
Normal file
601
verif/tests/testlist_riscv-tests-cv32a6_embedded-p.yaml
Normal file
|
@ -0,0 +1,601 @@
|
|||
# Copyright Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# ================================================================================
|
||||
# Regression test list format
|
||||
# --------------------------------------------------------------------------------
|
||||
# test : Assembly test name
|
||||
# description : Description of this test
|
||||
# gen_opts : Instruction generator options
|
||||
# iterations : Number of iterations of this test
|
||||
# no_iss : Enable/disable ISS simulator (Optional)
|
||||
# gen_test : Test name used by the instruction generator
|
||||
# asm_tests : Path to directed, hand-coded assembly test file or directory
|
||||
# rtl_test : RTL simulation test name
|
||||
# cmp_opts : Compile options passed to the instruction generator
|
||||
# sim_opts : Simulation options passed to the instruction generator
|
||||
# no_post_compare : Enable/disable comparison of trace log and ISS log (Optional)
|
||||
# compare_opts : Options for the RTL & ISS trace comparison
|
||||
# gcc_opts : gcc compile options
|
||||
# --------------------------------------------------------------------------------
|
||||
|
||||
#- import: <riscv_dv_root>/target/rv32imc/testlist.yaml
|
||||
|
||||
# ISA tests
|
||||
- test: rv32ui-p-add
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/add.S
|
||||
|
||||
- test: rv32ui-p-addi
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/addi.S
|
||||
|
||||
- test: rv32ui-p-and
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/and.S
|
||||
|
||||
- test: rv32ui-p-andi
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/andi.S
|
||||
|
||||
- test: rv32ui-p-auipc
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/auipc.S
|
||||
|
||||
- test: rv32ui-p-beq
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/beq.S
|
||||
|
||||
- test: rv32ui-p-bge
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/bge.S
|
||||
|
||||
- test: rv32ui-p-bgeu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/bgeu.S
|
||||
|
||||
- test: rv32ui-p-blt
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/blt.S
|
||||
|
||||
- test: rv32ui-p-bltu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/bltu.S
|
||||
|
||||
- test: rv32ui-p-bne
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/bne.S
|
||||
|
||||
- test: rv32ui-p-simple
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/simple.S
|
||||
|
||||
- test: rv32ui-p-fence_i
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/fence_i.S
|
||||
|
||||
- test: rv32ui-p-jal
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/jal.S
|
||||
|
||||
- test: rv32ui-p-jalr
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/jalr.S
|
||||
|
||||
- test: rv32ui-p-lb
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/lb.S
|
||||
|
||||
- test: rv32ui-p-lbu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/lbu.S
|
||||
|
||||
- test: rv32ui-p-lh
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/lh.S
|
||||
|
||||
- test: rv32ui-p-lhu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/lhu.S
|
||||
|
||||
- test: rv32ui-p-lw
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/lw.S
|
||||
|
||||
- test: rv32ui-p-lui
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/lui.S
|
||||
|
||||
- test: rv32ui-p-or
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/or.S
|
||||
|
||||
- test: rv32ui-p-ori
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/ori.S
|
||||
|
||||
- test: rv32ui-p-sb
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sb.S
|
||||
|
||||
- test: rv32ui-p-sh
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sh.S
|
||||
|
||||
- test: rv32ui-p-sw
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sw.S
|
||||
|
||||
- test: rv32ui-p-sll
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sll.S
|
||||
|
||||
- test: rv32ui-p-slli
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/slli.S
|
||||
|
||||
- test: rv32ui-p-slt
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/slt.S
|
||||
|
||||
- test: rv32ui-p-slti
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/slti.S
|
||||
|
||||
- test: rv32ui-p-sltiu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sltiu.S
|
||||
|
||||
- test: rv32ui-p-sltu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sltu.S
|
||||
|
||||
- test: rv32ui-p-sra
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sra.S
|
||||
|
||||
- test: rv32ui-p-srai
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/srai.S
|
||||
|
||||
- test: rv32ui-p-srl
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/srl.S
|
||||
|
||||
- test: rv32ui-p-srli
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/srli.S
|
||||
|
||||
- test: rv32ui-p-sub
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/sub.S
|
||||
|
||||
- test: rv32ui-p-xor
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/xor.S
|
||||
|
||||
- test: rv32ui-p-xori
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ui/xori.S
|
||||
|
||||
- test: rv32mi-p-breakpoint
|
||||
iterations: 0 # csrr a0, tdata1 => 0x20000000 (spike), 0x00000000 (cva6)
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/breakpoint.S
|
||||
|
||||
- test: rv32mi-p-csr
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/csr.S
|
||||
|
||||
- test: rv32mi-p-mcsr
|
||||
iterations: 0 # expected as different marchid
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/mcsr.S
|
||||
|
||||
- test: rv32mi-p-illegal
|
||||
iterations: 0 # cva6 does not record illegal instructions in log file
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/illegal.S
|
||||
|
||||
- test: rv32mi-p-ma_addr
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/ma_addr.S
|
||||
|
||||
- test: rv32mi-p-ma_fetch
|
||||
iterations: 0 # expected as different misa
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/ma_fetch.S
|
||||
|
||||
- test: rv32mi-p-sbreak
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/sbreak.S
|
||||
|
||||
- test: rv32mi-p-scall
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/scall.S
|
||||
|
||||
- test: rv32mi-p-shamt
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32mi/shamt.S
|
||||
|
||||
- test: rv32si-p-csr
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32si/csr.S
|
||||
|
||||
- test: rv32si-p-ma_fetch
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32si/ma_fetch.S
|
||||
|
||||
- test: rv32si-p-scall
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32si/scall.S
|
||||
|
||||
- test: rv32si-p-wfi
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32si/wfi.S
|
||||
|
||||
- test: rv32si-p-sbreak
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32si/sbreak.S
|
||||
|
||||
- test: rv32si-p-dirty
|
||||
iterations: 0 # to be explained
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32si/dirty.S
|
||||
|
||||
- test: rv32uc-p-rvc
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uc/rvc.S
|
||||
|
||||
# FPU tests
|
||||
- test: rv32uf-p-fadd
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fadd.S
|
||||
|
||||
- test: rv32uf-p-fclass
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fclass.S
|
||||
|
||||
- test: rv32uf-p-fcmp
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fcmp.S
|
||||
|
||||
- test: rv32uf-p-fcvt
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fcvt.S
|
||||
|
||||
- test: rv32uf-p-fcvt_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fcvt_w.S
|
||||
|
||||
- test: rv32uf-p-fdiv
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fdiv.S
|
||||
|
||||
- test: rv32uf-p-fmadd
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fmadd.S
|
||||
|
||||
- test: rv32uf-p-fmin
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/fmin.S
|
||||
|
||||
- test: rv32uf-p-ldst
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/ldst.S
|
||||
|
||||
- test: rv32uf-p-move
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/move.S
|
||||
|
||||
- test: rv32uf-p-recoding
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32uf/recoding.S
|
||||
|
||||
- test: rv32ud-p-fadd
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fadd.S
|
||||
|
||||
- test: rv32ud-p-fclass
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fclass.S
|
||||
|
||||
- test: rv32ud-p-fcmp
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fcmp.S
|
||||
|
||||
- test: rv32ud-p-fcvt
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fcvt.S
|
||||
|
||||
- test: rv32ud-p-fcvt_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fcvt_w.S
|
||||
|
||||
- test: rv32ud-p-fdiv
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fdiv.S
|
||||
|
||||
- test: rv32ud-p-fmadd
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fmadd.S
|
||||
|
||||
- test: rv32ud-p-fmin
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/fmin.S
|
||||
|
||||
- test: rv32ud-p-ldst
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/ldst.S
|
||||
|
||||
- test: rv32ud-p-recoding
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ud/recoding.S
|
||||
|
||||
# MUL/DIV tests
|
||||
- test: rv32um-p-div
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/div.S
|
||||
|
||||
- test: rv32um-p-divu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/divu.S
|
||||
|
||||
- test: rv32um-p-mul
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/mul.S
|
||||
|
||||
- test: rv32um-p-mulh
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/mulh.S
|
||||
|
||||
- test: rv32um-p-mulhsu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/mulhsu.S
|
||||
|
||||
- test: rv32um-p-mulhu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/mulhu.S
|
||||
|
||||
- test: rv32um-p-rem
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/rem.S
|
||||
|
||||
- test: rv32um-p-remu
|
||||
iterations: 1
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32um/remu.S
|
||||
|
||||
# AMO tests
|
||||
- test: rv32ua-p-amoadd_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amoadd_w.S
|
||||
|
||||
- test: rv32ua-p-amoand_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amoand_w.S
|
||||
|
||||
- test: rv32ua-p-amomax_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amomax_w.S
|
||||
|
||||
- test: rv32ua-p-amomaxu_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amomaxu_w.S
|
||||
|
||||
- test: rv32ua-p-amomin_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amomin_w.S
|
||||
|
||||
- test: rv32ua-v-amominu_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amominu_w.S
|
||||
|
||||
- test: rv32ua-p-amoor_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amoor_w.S
|
||||
|
||||
- test: rv32ua-p-amoxor_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amoxor_w.S
|
||||
|
||||
- test: rv32ua-p-amoswap_w
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/amoswap_w.S
|
||||
|
||||
- test: rv32ua-p-lrsc
|
||||
iterations: 0
|
||||
path_var: TESTS_PATH
|
||||
gcc_opts: "-static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I<path_var>/riscv-tests/isa/macros/scalar/ -I<path_var>/riscv-tests/env/p/ -I<path_var>/riscv-tests/riscv-target/spike/"
|
||||
asm_tests: <path_var>/riscv-tests/isa/rv32ua/lrsc.S
|
Loading…
Add table
Add a link
Reference in a new issue