Andrew Waterman [Sat, 30 Jan 2016 02:22:10 +0000 (18:22 -0800)]
Merge pull request #7 from riscv/nan2
Two extra NaN test cases
Palmer Dabbelt [Sat, 30 Jan 2016 00:54:18 +0000 (16:54 -0800)]
Test that fcvt canonicalizes NaNs
I believe this is entirely within the RISC-V ISA spec:
* fmv is defined to move IEEE floats
* All otherwise-unspeficied floating-point operations canonicalize NaNs
This test fails on Spike, but passes on Rocket. I believe this is the source
of my current torture failures.
Palmer Dabbelt [Fri, 29 Jan 2016 19:33:40 +0000 (11:33 -0800)]
Check NAN values in fdiv tests
The new RISC-V ISA spec mandates NAN bit patterns. This test checks to make
sure that those bit patterns come out of fsqrt(-1). These pass on both spike
and Rocket.
An additional _DWORD_RESULT version of the FP test macros is added to
facilitate floating-point tests that compare against particular bit patterns.
Andrew Waterman [Wed, 13 Jan 2016 00:16:58 +0000 (16:16 -0800)]
Use new NaN handling for conversions to integer
Andrew Waterman [Wed, 13 Jan 2016 00:16:49 +0000 (16:16 -0800)]
Use new canonical NaN
Andrew Waterman [Wed, 13 Jan 2016 00:16:14 +0000 (16:16 -0800)]
Write 1, not 0, to MIPI
Howard Mao [Mon, 14 Dec 2015 17:54:13 +0000 (09:54 -0800)]
change la to li as appropriate in test macros
Andrew Waterman [Fri, 4 Dec 2015 22:45:28 +0000 (14:45 -0800)]
Merge pull request #4 from pmundkur/devel
Add a top-level make clean target.
Andrew Waterman [Mon, 16 Nov 2015 22:16:05 +0000 (14:16 -0800)]
Update IPI test to work with new mechanism
Andrew Waterman [Fri, 6 Nov 2015 08:23:47 +0000 (00:23 -0800)]
update env
Andrew Waterman [Mon, 19 Oct 2015 19:25:23 +0000 (12:25 -0700)]
Avoid REMU in timer test
Howard Mao [Mon, 28 Sep 2015 20:49:41 +0000 (13:49 -0700)]
fix to riscv_test.h in env
Andrew Waterman [Thu, 24 Sep 2015 18:49:11 +0000 (11:49 -0700)]
Add another recoding test
Andrew Waterman [Mon, 21 Sep 2015 19:21:11 +0000 (12:21 -0700)]
Add another recoding test case
Andrew Waterman [Mon, 21 Sep 2015 06:38:38 +0000 (23:38 -0700)]
Remove executable permissions from source files
Andrew Waterman [Mon, 21 Sep 2015 06:38:00 +0000 (23:38 -0700)]
Remove Hwacha v3 tests
Andrew Waterman [Sun, 20 Sep 2015 21:57:19 +0000 (14:57 -0700)]
Add another FP recoding test case
Andrew Waterman [Wed, 16 Sep 2015 20:45:07 +0000 (13:45 -0700)]
Add test for FP recoding corner cases
Prashanth Mundkur [Thu, 6 Aug 2015 20:27:10 +0000 (13:27 -0700)]
Add a top-level make clean target.
Andrew Waterman [Tue, 4 Aug 2015 01:20:54 +0000 (18:20 -0700)]
Use medany code model, not PIC, for ISA tests
Yunsup Lee [Fri, 17 Jul 2015 19:31:14 +0000 (12:31 -0700)]
don't pass fpu/vector tests when fpu/vector not present
Andrew Waterman [Tue, 7 Jul 2015 00:07:02 +0000 (17:07 -0700)]
Coherence torture test for VM tests
VM tests only support one core, so have the other cores hammer on the
memory system to attempt to catch simple coherence regressions.
Andrew Waterman [Sun, 5 Jul 2015 23:57:07 +0000 (16:57 -0700)]
New M-mode timers
Andrew Waterman [Fri, 3 Jul 2015 00:14:06 +0000 (17:14 -0700)]
Fix RV32 handling of syscall arguments
Christopher Celio [Wed, 1 Jul 2015 22:59:11 +0000 (15:59 -0700)]
Add _hard_float check in crt.S.
Andrew Waterman [Tue, 19 May 2015 09:28:59 +0000 (02:28 -0700)]
Add basic WFI test
Andrew Waterman [Thu, 14 May 2015 09:18:59 +0000 (02:18 -0700)]
Fix VM, MIP encoding
Andrew Waterman [Sat, 9 May 2015 23:39:39 +0000 (16:39 -0700)]
Update to privileged architecture version 1.7
Andrew Waterman [Fri, 1 May 2015 22:16:55 +0000 (15:16 -0700)]
Fix dhrystone timing code
Andrew Waterman [Fri, 1 May 2015 07:56:39 +0000 (00:56 -0700)]
Make dhrystone report correct-ish numbers
Andrew Waterman [Tue, 21 Apr 2015 21:58:47 +0000 (14:58 -0700)]
Don't rely on reset values of MSTATUS_UA/SA
Andrew Waterman [Tue, 21 Apr 2015 21:57:42 +0000 (14:57 -0700)]
Fix benchmark compilation/execution on RV32
Andrew Waterman [Mon, 13 Apr 2015 21:43:18 +0000 (14:43 -0700)]
Merge pull request #3 from joerchan/master
Better coverage of mul high instructions
Joakim Andersson [Mon, 13 Apr 2015 20:57:04 +0000 (22:57 +0200)]
Correct expected high value of multiplication
Joakim Andersson [Sun, 12 Apr 2015 21:50:05 +0000 (23:50 +0200)]
Better coverage of mul high instructions
Andrew Waterman [Sat, 4 Apr 2015 05:16:00 +0000 (22:16 -0700)]
Run RV32 tests on spike with --isa=RV32
Andrew Waterman [Tue, 31 Mar 2015 05:00:00 +0000 (22:00 -0700)]
Update env
Andrew Waterman [Fri, 27 Mar 2015 23:17:36 +0000 (16:17 -0700)]
New virtual memory implementation (Sv39)
Yunsup Lee [Wed, 25 Mar 2015 23:25:42 +0000 (16:25 -0700)]
split out S-mode tests and M-mode tests
Andrew Waterman [Wed, 25 Mar 2015 02:30:14 +0000 (19:30 -0700)]
Don't assume PRV1/2 and IE1/2 are reset
Andrew Waterman [Sat, 21 Mar 2015 06:14:10 +0000 (23:14 -0700)]
Merge rv64si and rv32si tests
Andrew Waterman [Sat, 21 Mar 2015 05:16:44 +0000 (22:16 -0700)]
Add fdiv test
Yunsup Lee [Tue, 17 Mar 2015 21:38:04 +0000 (14:38 -0700)]
need fence before scall for vector mm
Yunsup Lee [Tue, 17 Mar 2015 12:00:42 +0000 (05:00 -0700)]
push env
Yunsup Lee [Tue, 17 Mar 2015 11:35:24 +0000 (04:35 -0700)]
relay hwacha cause/aux to scause/sbadaddr
Andrew Waterman [Tue, 17 Mar 2015 08:18:36 +0000 (01:18 -0700)]
Merge [shm]call into ecall, [shm]ret into eret
Yunsup Lee [Mon, 16 Mar 2015 09:10:17 +0000 (02:10 -0700)]
revamp vector tests with new privileged spec, and add scalar pt tests
Andrew Waterman [Sat, 14 Mar 2015 09:08:03 +0000 (02:08 -0700)]
Add PTE dirty bit test
Andrew Waterman [Fri, 13 Mar 2015 06:09:22 +0000 (23:09 -0700)]
Use hcall instead of mcall
Andrew Waterman [Fri, 13 Mar 2015 00:39:44 +0000 (17:39 -0700)]
Update to new privileged spec
Christopher Celio [Tue, 24 Feb 2015 00:07:56 +0000 (16:07 -0800)]
Added more +/- NaN/inf tests for fcvt.{w/l/wu/lu}.{s/d}
Christopher Celio [Mon, 23 Feb 2015 03:36:40 +0000 (19:36 -0800)]
Added -NaN test for fcvt.{w/h}.s
Andrew Waterman [Thu, 19 Feb 2015 20:25:14 +0000 (12:25 -0800)]
Unify rv32/rv64 timer tests
Yunsup Lee [Tue, 17 Feb 2015 19:31:28 +0000 (11:31 -0800)]
change organization to riscv
Andrew Waterman [Mon, 16 Feb 2015 00:13:18 +0000 (16:13 -0800)]
Make rv64uf-p-ldst test the sign bit, too
Palmer Dabbelt [Sat, 7 Feb 2015 19:53:29 +0000 (11:53 -0800)]
Change submodule pointers to github.com/riscv
This new organization is designed to make it easier for external
collaborators to contribute.
Andrew Waterman [Tue, 27 Jan 2015 08:33:47 +0000 (00:33 -0800)]
Fix matmul performance on gcc 4.9
It's just loop interchange in the register blocking loop.
Andrew Waterman [Sat, 10 Jan 2015 01:57:12 +0000 (17:57 -0800)]
Add LICENSE
Andrew Waterman [Mon, 5 Jan 2015 05:31:18 +0000 (21:31 -0800)]
Avoid deprecated "b" pseudo-op; use "j" instead
Andrew Waterman [Sat, 3 Jan 2015 06:33:32 +0000 (22:33 -0800)]
On misaligned fetch, EPC = branch target, not source
We can revert this commit if we decide to change the EPC behavior.
Henry Cook [Thu, 18 Dec 2014 03:12:08 +0000 (19:12 -0800)]
minor mt updates
Andrew Waterman [Tue, 16 Dec 2014 02:10:13 +0000 (18:10 -0800)]
Remove dependence on machine/syscall.h
Andrew Waterman [Sat, 13 Dec 2014 11:53:49 +0000 (03:53 -0800)]
Initialize static TLS for the benchmarks
Andrew Waterman [Sat, 13 Dec 2014 02:17:31 +0000 (18:17 -0800)]
Add more entropy to matrix multiplication input
This will exercise the floating-point units more thoroughly.
Andrew Waterman [Sat, 13 Dec 2014 00:07:46 +0000 (16:07 -0800)]
Use user stack in supervisor mode
This fixes a race condition, as there was only one kernel stack.
Andrew Waterman [Thu, 4 Dec 2014 01:50:37 +0000 (17:50 -0800)]
Use new toolchain and calling convention
Andrew Waterman [Thu, 4 Dec 2014 01:48:17 +0000 (17:48 -0800)]
Rely on assembler to relax far branches
Andrew Waterman [Thu, 4 Dec 2014 01:47:55 +0000 (17:47 -0800)]
Make timer test more thorough
Yunsup Lee [Sat, 22 Nov 2014 18:29:44 +0000 (10:29 -0800)]
push env
Yunsup Lee [Sat, 22 Nov 2014 18:29:30 +0000 (10:29 -0800)]
relax rv32si timer test a bit
Yunsup Lee [Thu, 13 Nov 2014 19:45:25 +0000 (11:45 -0800)]
remove zscale specific tests
Yunsup Lee [Thu, 13 Nov 2014 19:44:29 +0000 (11:44 -0800)]
enable make subsets
Yunsup Lee [Thu, 13 Nov 2014 11:11:05 +0000 (03:11 -0800)]
make rv32si fault load/store test stronger
Yunsup Lee [Thu, 13 Nov 2014 07:09:10 +0000 (23:09 -0800)]
beef up rv32si tests
Henry Cook [Wed, 12 Nov 2014 00:03:24 +0000 (16:03 -0800)]
blocked mt-matmul
Henry Cook [Sat, 8 Nov 2014 01:08:37 +0000 (17:08 -0800)]
forgot barrier in mt-matmul
Henry Cook [Fri, 7 Nov 2014 01:24:39 +0000 (17:24 -0800)]
Clean up canonical mt benchmarks and reorganize extra versions in /mt. All versions support support at least 1/2/4 threads.
Andrew Waterman [Fri, 7 Nov 2014 02:17:42 +0000 (18:17 -0800)]
Fix build with riscv-gcc version 4.9
Andrew Waterman [Fri, 7 Nov 2014 02:16:48 +0000 (18:16 -0800)]
Don't access memory outside of the binary's range
Andrew Waterman [Fri, 7 Nov 2014 01:30:28 +0000 (17:30 -0800)]
Fix TLS in benchmarks
Linker relaxations were screwing up loading the thread pointer.
Yunsup Lee [Fri, 24 Oct 2014 17:12:03 +0000 (10:12 -0700)]
push env
Henry Cook [Thu, 25 Sep 2014 01:11:42 +0000 (18:11 -0700)]
Updated mt tests
Christopher Celio [Wed, 10 Sep 2014 21:17:01 +0000 (14:17 -0700)]
Enable interrupts in bmarks
Christopher Celio [Thu, 28 Aug 2014 10:52:17 +0000 (03:52 -0700)]
Added "simple" test to rv32ui.
Yunsup Lee [Thu, 7 Aug 2014 00:26:58 +0000 (17:26 -0700)]
updates
Yunsup Lee [Thu, 7 Aug 2014 00:13:47 +0000 (17:13 -0700)]
update readme
Yunsup Lee [Wed, 6 Aug 2014 23:43:25 +0000 (16:43 -0700)]
update readme
Sagar Karandikar [Tue, 5 Aug 2014 23:39:47 +0000 (16:39 -0700)]
cleanup README.md for web
Sagar Karandikar [Wed, 30 Jul 2014 16:41:33 +0000 (09:41 -0700)]
prep-for-public: change to https ref for env
Andrew Waterman [Thu, 8 May 2014 01:03:37 +0000 (18:03 -0700)]
Add timer interrupt test
Christopher Celio [Fri, 18 Apr 2014 23:42:03 +0000 (16:42 -0700)]
Added a new test case to REMW.
Yunsup Lee [Tue, 15 Apr 2014 04:15:15 +0000 (21:15 -0700)]
commit high-performance mm (scalar and vector versions)
Stephen Twigg [Wed, 9 Apr 2014 04:53:19 +0000 (21:53 -0700)]
Adjust hwacha misaligned instruction test to ignore lower 2 bits in comparisons to account for impl differences.
Stephen Twigg [Mon, 7 Apr 2014 23:17:08 +0000 (16:17 -0700)]
Resync env with riscv-opcodes
Andrew Waterman [Mon, 7 Apr 2014 23:03:37 +0000 (16:03 -0700)]
Add radix sort benchmark
Stephen Twigg [Thu, 3 Apr 2014 23:47:43 +0000 (16:47 -0700)]
setStats in benchmarks now should set and unset the stats register. Also, removed legacy SET_STATS macro.
Stephen Twigg [Thu, 3 Apr 2014 23:47:06 +0000 (16:47 -0700)]
Sync env with opcodes
Andrew Waterman [Wed, 26 Mar 2014 04:40:02 +0000 (21:40 -0700)]
Make qsort input size more reasonable
Andrew Waterman [Wed, 26 Mar 2014 04:27:30 +0000 (21:27 -0700)]
Make qsort benchmark more meaningful
Before, we were sorting a sorted array :\
Andrew Waterman [Tue, 18 Mar 2014 23:38:57 +0000 (16:38 -0700)]
Check FP corner cases and flags