Rv32ud tests (#108)
authorTorbjørn <tovine@users.noreply.github.com>
Mon, 27 Nov 2017 05:56:53 +0000 (06:56 +0100)
committerAndrew Waterman <aswaterman@gmail.com>
Mon, 27 Nov 2017 05:56:53 +0000 (21:56 -0800)
commit49f478416cec9f73801fdc5dedf9955494be8c66
treeee07276de133354d01ba5efbf02514e2e841b25f
parent018aea17aca9abb6221e1a59d943ecdd386cc8ec
Rv32ud tests (#108)

* Probably implemented the changes required to support fadd test for rv32ud

* Created test files in rv32ud, implemented working(?) test for ldst

* fclass, fcvt_w, fmin and recoding seem to be working now

* Got fdiv (and sqrt) tests working

* fmadd tests seem to work

* fcmp works

* [WIP] fcvt working, but lacks a 32-bit implementation of the final test

* Renamed macro TEST_LDST_D32 to TEST_CASE_D32 to indicate that it can be used for more than just LDST

* Added Makefrag for rv32ud tests and included in main isa Makefile

* Don't run 64-bit tests if the defined XLEN is 32
23 files changed:
isa/Makefile
isa/macros/scalar/test_macros.h
isa/rv32ud/Makefrag [new file with mode: 0644]
isa/rv32ud/fadd.S [new file with mode: 0644]
isa/rv32ud/fclass.S [new file with mode: 0644]
isa/rv32ud/fcmp.S [new file with mode: 0644]
isa/rv32ud/fcvt.S [new file with mode: 0644]
isa/rv32ud/fcvt_w.S [new file with mode: 0644]
isa/rv32ud/fdiv.S [new file with mode: 0644]
isa/rv32ud/fmadd.S [new file with mode: 0644]
isa/rv32ud/fmin.S [new file with mode: 0644]
isa/rv32ud/ldst.S [new file with mode: 0644]
isa/rv32ud/move.S [new file with mode: 0644]
isa/rv32ud/recoding.S [new file with mode: 0644]
isa/rv64ud/fadd.S
isa/rv64ud/fclass.S
isa/rv64ud/fcmp.S
isa/rv64ud/fcvt.S
isa/rv64ud/fcvt_w.S
isa/rv64ud/fdiv.S
isa/rv64ud/fmadd.S
isa/rv64ud/fmin.S
isa/rv64ud/move.S