mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
More testfloat fixups
This commit is contained in:
parent
0c2ce32c56
commit
14b630a403
3
.gitignore
vendored
3
.gitignore
vendored
@ -28,7 +28,8 @@ tests/riscof/riscof_work/
|
|||||||
tests/wally-riscv-arch-test/riscv-test-suite/*/I/*/**
|
tests/wally-riscv-arch-test/riscv-test-suite/*/I/*/**
|
||||||
tests/fp/vectors/**/*.tv
|
tests/fp/vectors/**/*.tv
|
||||||
tests/fp/vectors/**/sed*
|
tests/fp/vectors/**/sed*
|
||||||
tests/fp/testfloat/*
|
tests/fp/berkeley-float/*
|
||||||
|
!tests/fp/berkeley-float/Makefile
|
||||||
tests/fp/combined_IF_vectors/IF_vectors/*.tv
|
tests/fp/combined_IF_vectors/IF_vectors/*.tv
|
||||||
tests/custom/*/*/
|
tests/custom/*/*/
|
||||||
tests/custom/*/*/*.memfile
|
tests/custom/*/*/*.memfile
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
# Floating Point Tests Makefile for CORE-V-Wally
|
# Floating Point Tests Makefile for CORE-V-Wally
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
|
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
|
||||||
|
|
||||||
TESTFLOATS := testfloat/ieee/testfloat_gen testfloat/riscv/testfloat_gen
|
TESTFLOAT := testfloat/build/Linux-x86_64-GCC/testfloat_gen
|
||||||
|
TESTFLOATS := berkeley-float/ieee/${TESTFLOAT} berkeley-float/riscv/${TESTFLOAT}
|
||||||
|
|
||||||
.PHONY: all vectors combined_IF_vectors testfloat clean
|
.PHONY: all vectors combined_IF_vectors testfloat clean
|
||||||
|
|
||||||
@ -18,11 +19,11 @@ combined_IF_vectors: ${WALLY}/tests/riscof/work/riscv-arch-test/rv32i_m/M/src ve
|
|||||||
${TESTFLOATS}: testfloat
|
${TESTFLOATS}: testfloat
|
||||||
|
|
||||||
testfloat:
|
testfloat:
|
||||||
$(MAKE) -C testfloat
|
$(MAKE) -C berkeley-float
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C vectors clean
|
$(MAKE) -C vectors clean
|
||||||
$(MAKE) -C testfloat clean
|
$(MAKE) -C berkeley-float clean
|
||||||
rm -f ${WALLY}/tests/fp/combined_IF_vectors/IF_vectors/*.tv
|
rm -f ${WALLY}/tests/fp/combined_IF_vectors/IF_vectors/*.tv
|
||||||
|
|
||||||
${WALLY}/tests/riscof/work/riscv-arch-test/rv32i_m/M/src:
|
${WALLY}/tests/riscof/work/riscv-arch-test/rv32i_m/M/src:
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
SHELL := /bin/bash
|
SHELL := /bin/bash
|
||||||
|
|
||||||
VECTOR_TYPE := ieee
|
VECTOR_TYPE := ieee
|
||||||
TESTFLOAT_DIR := ${WALLY}/tests/fp/testfloat
|
TESTFLOAT_DIR := ../../berkeley-float
|
||||||
TESTFLOAT_GEN := ${TESTFLOAT_DIR}/${VECTOR_TYPE}/testfloat_gen
|
TESTFLOAT_GEN := ${TESTFLOAT_DIR}/${VECTOR_TYPE}/testfloat/build/Linux-x86_64-GCC/testfloat_gen
|
||||||
|
|
||||||
# List of testvectors to generate. Each rounding mode will be generated for each test.
|
# List of testvectors to generate. Each rounding mode will be generated for each test.
|
||||||
cvtint := ui32_to_f16 ui32_to_f32 ui32_to_f64 ui32_to_f128 \
|
cvtint := ui32_to_f16 ui32_to_f32 ui32_to_f64 ui32_to_f128 \
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
SHELL := /bin/bash
|
SHELL := /bin/bash
|
||||||
|
|
||||||
VECTOR_TYPE := riscv
|
VECTOR_TYPE := riscv
|
||||||
TESTFLOAT_DIR := ${WALLY}/tests/fp/testfloat
|
TESTFLOAT_DIR := ../../berkeley-float
|
||||||
TESTFLOAT_GEN := ${TESTFLOAT_DIR}/${VECTOR_TYPE}/testfloat_gen
|
TESTFLOAT_GEN := ${TESTFLOAT_DIR}/${VECTOR_TYPE}/testfloat/build/Linux-x86_64-GCC/testfloat_gen
|
||||||
|
|
||||||
# List of testvectors to generate. Each rounding mode will be generated for each test.
|
# List of testvectors to generate. Each rounding mode will be generated for each test.
|
||||||
cvtint := ui32_to_f16 ui32_to_f32 ui32_to_f64 ui32_to_f128 \
|
cvtint := ui32_to_f16 ui32_to_f32 ui32_to_f64 ui32_to_f128 \
|
||||||
|
Loading…
Reference in New Issue
Block a user