riscv-tests.git
9 years agoUpdate env
Andrew Waterman [Tue, 31 Mar 2015 05:00:00 +0000 (22:00 -0700)]
Update env

9 years agoNew virtual memory implementation (Sv39)
Andrew Waterman [Fri, 27 Mar 2015 23:17:36 +0000 (16:17 -0700)]
New virtual memory implementation (Sv39)

9 years agosplit out S-mode tests and M-mode tests
Yunsup Lee [Wed, 25 Mar 2015 23:25:42 +0000 (16:25 -0700)]
split out S-mode tests and M-mode tests

9 years agoDon't assume PRV1/2 and IE1/2 are reset
Andrew Waterman [Wed, 25 Mar 2015 02:30:14 +0000 (19:30 -0700)]
Don't assume PRV1/2 and IE1/2 are reset

9 years agoMerge rv64si and rv32si tests
Andrew Waterman [Sat, 21 Mar 2015 06:14:10 +0000 (23:14 -0700)]
Merge rv64si and rv32si tests

9 years agoAdd fdiv test
Andrew Waterman [Sat, 21 Mar 2015 05:16:44 +0000 (22:16 -0700)]
Add fdiv test

9 years agoneed fence before scall for vector mm
Yunsup Lee [Tue, 17 Mar 2015 21:38:04 +0000 (14:38 -0700)]
need fence before scall for vector mm

9 years agopush env
Yunsup Lee [Tue, 17 Mar 2015 12:00:42 +0000 (05:00 -0700)]
push env

9 years agorelay hwacha cause/aux to scause/sbadaddr
Yunsup Lee [Tue, 17 Mar 2015 11:35:24 +0000 (04:35 -0700)]
relay hwacha cause/aux to scause/sbadaddr

9 years agoMerge [shm]call into ecall, [shm]ret into eret
Andrew Waterman [Tue, 17 Mar 2015 08:18:36 +0000 (01:18 -0700)]
Merge [shm]call into ecall, [shm]ret into eret

9 years agorevamp vector tests with new privileged spec, and add scalar pt tests
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

9 years agoAdd PTE dirty bit test
Andrew Waterman [Sat, 14 Mar 2015 09:08:03 +0000 (02:08 -0700)]
Add PTE dirty bit test

9 years agoUse hcall instead of mcall
Andrew Waterman [Fri, 13 Mar 2015 06:09:22 +0000 (23:09 -0700)]
Use hcall instead of mcall

9 years agoUpdate to new privileged spec
Andrew Waterman [Fri, 13 Mar 2015 00:39:44 +0000 (17:39 -0700)]
Update to new privileged spec

9 years agoAdded more +/- NaN/inf tests for fcvt.{w/l/wu/lu}.{s/d}
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}

9 years agoAdded -NaN test for fcvt.{w/h}.s
Christopher Celio [Mon, 23 Feb 2015 03:36:40 +0000 (19:36 -0800)]
Added -NaN test for fcvt.{w/h}.s

9 years agoUnify rv32/rv64 timer tests
Andrew Waterman [Thu, 19 Feb 2015 20:25:14 +0000 (12:25 -0800)]
Unify rv32/rv64 timer tests

9 years agochange organization to riscv
Yunsup Lee [Tue, 17 Feb 2015 19:31:28 +0000 (11:31 -0800)]
change organization to riscv

9 years agoMake rv64uf-p-ldst test the sign bit, too
Andrew Waterman [Mon, 16 Feb 2015 00:13:18 +0000 (16:13 -0800)]
Make rv64uf-p-ldst test the sign bit, too

9 years agoChange submodule pointers to github.com/riscv
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.

9 years agoFix matmul performance on gcc 4.9
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.

9 years agoAdd LICENSE
Andrew Waterman [Sat, 10 Jan 2015 01:57:12 +0000 (17:57 -0800)]
Add LICENSE

9 years agoAvoid deprecated "b" pseudo-op; use "j" instead
Andrew Waterman [Mon, 5 Jan 2015 05:31:18 +0000 (21:31 -0800)]
Avoid deprecated "b" pseudo-op; use "j" instead

9 years agoOn misaligned fetch, EPC = branch target, not source
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.

9 years agominor mt updates
Henry Cook [Thu, 18 Dec 2014 03:12:08 +0000 (19:12 -0800)]
minor mt updates

9 years agoRemove dependence on machine/syscall.h
Andrew Waterman [Tue, 16 Dec 2014 02:10:13 +0000 (18:10 -0800)]
Remove dependence on machine/syscall.h

9 years agoInitialize static TLS for the benchmarks
Andrew Waterman [Sat, 13 Dec 2014 11:53:49 +0000 (03:53 -0800)]
Initialize static TLS for the benchmarks

9 years agoAdd more entropy to matrix multiplication input
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.

9 years agoUse user stack in supervisor mode
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.

10 years agoUse new toolchain and calling convention
Andrew Waterman [Thu, 4 Dec 2014 01:50:37 +0000 (17:50 -0800)]
Use new toolchain and calling convention

10 years agoRely on assembler to relax far branches
Andrew Waterman [Thu, 4 Dec 2014 01:48:17 +0000 (17:48 -0800)]
Rely on assembler to relax far branches

10 years agoMake timer test more thorough
Andrew Waterman [Thu, 4 Dec 2014 01:47:55 +0000 (17:47 -0800)]
Make timer test more thorough

10 years agopush env
Yunsup Lee [Sat, 22 Nov 2014 18:29:44 +0000 (10:29 -0800)]
push env

10 years agorelax rv32si timer test a bit
Yunsup Lee [Sat, 22 Nov 2014 18:29:30 +0000 (10:29 -0800)]
relax rv32si timer test a bit

10 years agoremove zscale specific tests
Yunsup Lee [Thu, 13 Nov 2014 19:45:25 +0000 (11:45 -0800)]
remove zscale specific tests

10 years agoenable make subsets
Yunsup Lee [Thu, 13 Nov 2014 19:44:29 +0000 (11:44 -0800)]
enable make subsets

10 years agomake rv32si fault load/store test stronger
Yunsup Lee [Thu, 13 Nov 2014 11:11:05 +0000 (03:11 -0800)]
make rv32si fault load/store test stronger

10 years agobeef up rv32si tests
Yunsup Lee [Thu, 13 Nov 2014 07:09:10 +0000 (23:09 -0800)]
beef up rv32si tests

10 years agoblocked mt-matmul
Henry Cook [Wed, 12 Nov 2014 00:03:24 +0000 (16:03 -0800)]
blocked mt-matmul

10 years agoforgot barrier in mt-matmul
Henry Cook [Sat, 8 Nov 2014 01:08:37 +0000 (17:08 -0800)]
forgot barrier in mt-matmul

10 years agoClean up canonical mt benchmarks and reorganize extra versions in /mt. All versions...
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.

10 years agoFix build with riscv-gcc version 4.9
Andrew Waterman [Fri, 7 Nov 2014 02:17:42 +0000 (18:17 -0800)]
Fix build with riscv-gcc version 4.9

10 years agoDon't access memory outside of the binary's range
Andrew Waterman [Fri, 7 Nov 2014 02:16:48 +0000 (18:16 -0800)]
Don't access memory outside of the binary's range

10 years agoFix TLS in benchmarks
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.

10 years agopush env
Yunsup Lee [Fri, 24 Oct 2014 17:12:03 +0000 (10:12 -0700)]
push env

10 years agoUpdated mt tests
Henry Cook [Thu, 25 Sep 2014 01:11:42 +0000 (18:11 -0700)]
Updated mt tests

10 years agoEnable interrupts in bmarks
Christopher Celio [Wed, 10 Sep 2014 21:17:01 +0000 (14:17 -0700)]
Enable interrupts in bmarks

10 years agoAdded "simple" test to rv32ui.
Christopher Celio [Thu, 28 Aug 2014 10:52:17 +0000 (03:52 -0700)]
Added "simple" test to rv32ui.

10 years agoupdates
Yunsup Lee [Thu, 7 Aug 2014 00:26:58 +0000 (17:26 -0700)]
updates

10 years agoupdate readme
Yunsup Lee [Thu, 7 Aug 2014 00:13:47 +0000 (17:13 -0700)]
update readme

10 years agoupdate readme
Yunsup Lee [Wed, 6 Aug 2014 23:43:25 +0000 (16:43 -0700)]
update readme

10 years agocleanup README.md for web
Sagar Karandikar [Tue, 5 Aug 2014 23:39:47 +0000 (16:39 -0700)]
cleanup README.md for web

10 years agoprep-for-public: change to https ref for env
Sagar Karandikar [Wed, 30 Jul 2014 16:41:33 +0000 (09:41 -0700)]
prep-for-public: change to https ref for env

10 years agoAdd timer interrupt test
Andrew Waterman [Thu, 8 May 2014 01:03:37 +0000 (18:03 -0700)]
Add timer interrupt test

10 years agoAdded a new test case to REMW.
Christopher Celio [Fri, 18 Apr 2014 23:42:03 +0000 (16:42 -0700)]
Added a new test case to REMW.

10 years agocommit high-performance mm (scalar and vector versions)
Yunsup Lee [Tue, 15 Apr 2014 04:15:15 +0000 (21:15 -0700)]
commit high-performance mm (scalar and vector versions)

10 years agoAdjust hwacha misaligned instruction test to ignore lower 2 bits in comparisons to...
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.

10 years agoResync env with riscv-opcodes
Stephen Twigg [Mon, 7 Apr 2014 23:17:08 +0000 (16:17 -0700)]
Resync env with riscv-opcodes

10 years agoAdd radix sort benchmark
Andrew Waterman [Mon, 7 Apr 2014 23:03:37 +0000 (16:03 -0700)]
Add radix sort benchmark

10 years agosetStats in benchmarks now should set and unset the stats register. Also, removed...
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.

10 years agoSync env with opcodes
Stephen Twigg [Thu, 3 Apr 2014 23:47:06 +0000 (16:47 -0700)]
Sync env with opcodes

10 years agoMake qsort input size more reasonable
Andrew Waterman [Wed, 26 Mar 2014 04:40:02 +0000 (21:40 -0700)]
Make qsort input size more reasonable

10 years agoMake qsort benchmark more meaningful
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 :\

10 years agoCheck FP corner cases and flags
Andrew Waterman [Tue, 18 Mar 2014 23:38:57 +0000 (16:38 -0700)]
Check FP corner cases and flags

10 years agoAdd fclass.{s|d} test
Andrew Waterman [Fri, 7 Mar 2014 02:23:05 +0000 (18:23 -0800)]
Add fclass.{s|d} test

10 years agoupdate env
Yunsup Lee [Tue, 4 Mar 2014 05:17:02 +0000 (21:17 -0800)]
update env

10 years agopush env
Yunsup Lee [Sun, 2 Mar 2014 10:46:07 +0000 (02:46 -0800)]
push env

10 years agoadd vfmsv.{s,d} tests
Yunsup Lee [Sun, 2 Mar 2014 10:43:04 +0000 (02:43 -0800)]
add vfmsv.{s,d} tests

10 years agopush env
Yunsup Lee [Fri, 28 Feb 2014 04:21:44 +0000 (20:21 -0800)]
push env

10 years agoadd keepcfg test
Yunsup Lee [Fri, 28 Feb 2014 00:09:10 +0000 (16:09 -0800)]
add keepcfg test

10 years agotest to see whether vector unit is able to take 2 fmas in parallel
Yunsup Lee [Thu, 27 Feb 2014 05:20:11 +0000 (21:20 -0800)]
test to see whether vector unit is able to take 2 fmas in parallel

10 years agopush env
Yunsup Lee [Tue, 25 Feb 2014 11:46:08 +0000 (03:46 -0800)]
push env

10 years agoSort fixes: support for repeated trials.
Eric Love [Sun, 23 Feb 2014 01:13:57 +0000 (17:13 -0800)]
Sort fixes: support for repeated trials.

10 years agoMerge commit '0661b47765081c710af3df66ec698aa58ff14d5d'
Eric Love [Thu, 20 Feb 2014 19:53:19 +0000 (11:53 -0800)]
Merge commit '0661b47765081c710af3df66ec698aa58ff14d5d'

10 years agoAdded TAV sort benchmarks
Eric Love [Thu, 20 Feb 2014 19:51:21 +0000 (11:51 -0800)]
Added TAV sort benchmarks

10 years agoRun benchmarks in user mode
Andrew Waterman [Wed, 12 Feb 2014 01:51:08 +0000 (17:51 -0800)]
Run benchmarks in user mode

10 years agoMerge branch 'master' of github.com:ucb-bar/riscv-tests
Adam Izraelevitz [Tue, 11 Feb 2014 22:26:50 +0000 (14:26 -0800)]
Merge branch 'master' of github.com:ucb-bar/riscv-tests

Conflicts:
README.md

10 years agoUpdated README to recursively initialize repos
Adam Izraelevitz [Tue, 11 Feb 2014 22:25:36 +0000 (14:25 -0800)]
Updated README to recursively initialize repos

10 years agoRevert to old AUIPC definition
Andrew Waterman [Tue, 11 Feb 2014 03:02:28 +0000 (19:02 -0800)]
Revert to old AUIPC definition

10 years agowith env as a submodule, now have to populate it
Scott Beamer [Thu, 6 Feb 2014 23:54:35 +0000 (15:54 -0800)]
with env as a submodule, now have to populate it

10 years agofix recursive interrupts, and more improvements to code
Yunsup Lee [Thu, 6 Feb 2014 19:23:09 +0000 (11:23 -0800)]
fix recursive interrupts, and more improvements to code

10 years agoImprove VM trap entry code
Andrew Waterman [Thu, 6 Feb 2014 11:06:33 +0000 (03:06 -0800)]
Improve VM trap entry code

10 years agoClean up benchmarks; support uarch-specific counters
Andrew Waterman [Thu, 6 Feb 2014 09:36:26 +0000 (01:36 -0800)]
Clean up benchmarks; support uarch-specific counters

10 years agopush env
Yunsup Lee [Thu, 6 Feb 2014 08:11:52 +0000 (00:11 -0800)]
push env

10 years agoAdd Stephen's vector FFT code
Quan Nguyen [Wed, 5 Feb 2014 05:11:40 +0000 (21:11 -0800)]
Add Stephen's vector FFT code

10 years agoAdd vfmsv instruction test, change vsetprec to vsetucfg
Quan Nguyen [Tue, 4 Feb 2014 04:10:06 +0000 (20:10 -0800)]
Add vfmsv instruction test, change vsetprec to vsetucfg

10 years agoShrink hex dumps
Andrew Waterman [Sat, 1 Feb 2014 02:55:44 +0000 (18:55 -0800)]
Shrink hex dumps

10 years agoAdd rv32si tests, including illegality of shamt[5]
Andrew Waterman [Sat, 1 Feb 2014 02:10:35 +0000 (18:10 -0800)]
Add rv32si tests, including illegality of shamt[5]

10 years agoMinor Makefile improvements
Henry Cook [Sat, 1 Feb 2014 00:00:49 +0000 (16:00 -0800)]
Minor Makefile improvements

10 years agoMake CSR test much more robust
Andrew Waterman [Fri, 31 Jan 2014 09:02:09 +0000 (01:02 -0800)]
Make CSR test much more robust

10 years agoReference TESTNUM instead of x28 directly
Andrew Waterman [Fri, 31 Jan 2014 09:01:34 +0000 (01:01 -0800)]
Reference TESTNUM instead of x28 directly

10 years agoDone with rv32ui asm test ports
Eric Love [Fri, 24 Jan 2014 00:45:09 +0000 (16:45 -0800)]
Done with rv32ui asm test ports

10 years agoFixed srl, srli
Eric Love [Fri, 24 Jan 2014 00:42:19 +0000 (16:42 -0800)]
Fixed srl, srli

10 years agosrl and srai
Eric Love [Fri, 24 Jan 2014 00:20:35 +0000 (16:20 -0800)]
srl and srai

10 years agoFirst round of rv32ui asm tests
Eric Love [Thu, 23 Jan 2014 23:23:08 +0000 (15:23 -0800)]
First round of rv32ui asm tests

10 years agoAdd CSRRx/CSRRxI test
Andrew Waterman [Wed, 22 Jan 2014 00:07:05 +0000 (16:07 -0800)]
Add CSRRx/CSRRxI test

10 years agoAdd packed vvadd test for confprec Hwacha
Quan Nguyen [Tue, 21 Jan 2014 01:29:28 +0000 (17:29 -0800)]
Add packed vvadd test for confprec Hwacha

10 years agoPush env
Quan Nguyen [Tue, 21 Jan 2014 01:28:56 +0000 (17:28 -0800)]
Push env

10 years agoMake LR/SC test more thorough
Andrew Waterman [Thu, 16 Jan 2014 08:12:38 +0000 (00:12 -0800)]
Make LR/SC test more thorough

10 years agoUpdate v env
Andrew Waterman [Tue, 14 Jan 2014 00:27:35 +0000 (16:27 -0800)]
Update v env