aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-05Revert "put arrays in stack to reduce .bss size"dma-memcpyHoward Mao2-4/+6
This reverts commit 5a7992192ef63d6f4f37a5393f734291e32f6b40.
2016-12-05put arrays in stack to reduce .bss sizeHoward Mao2-6/+4
2016-11-10fixes to memcpy() benchmarksHoward Mao3-8/+16
2016-11-10add a dma-based memcpy benchmarkHoward Mao6-0/+130
2016-11-10use a separate fast memcpy routine for benchmarkingHoward Mao1-2/+4
2016-11-10add a software memcpy benchmarkHoward Mao5-0/+109
2016-10-21Improve reg test a little.Tim Newsome1-6/+14
2016-10-20Test OpenOCD step and resume.Tim Newsome2-6/+56
2016-10-19Fix conflict: JTAG VPI changes vs openocd refactorTim Newsome1-7/+4
2016-10-19Actually test something in regs test.Tim Newsome1-2/+4
2016-10-19Merge pull request #34 from richardxia/use-port-randomizationTim Newsome3-4/+18
Use port randomization for VCS and OpenOCD
2016-10-18Pull port number from VCS output and pass to OpenOCD.Richard Xia3-2/+10
2016-10-18Add framework to test OpenOCD directly.Tim Newsome4-298/+405
This took a lot of refactoring to make it look reasonable. There isn't actually any functional OpenOCD test yet. But a dummy test runs a command (and fails).
2016-10-18Randomize gdb port.Richard Xia1-2/+8
2016-10-14Wait for OpenOCD to start fully before connecting.Tim Newsome1-0/+15
Requires OpenOCD change 4eba841bfee4b6c347423ac28851ab7ee7e75532
2016-10-13Add MemTestWriteInvalid.Tim Newsome1-1/+13
2016-10-09Align FP data sectionsAndrew Waterman1-12/+8
2016-10-03Add test for memory read from invalid address.Tim Newsome2-0/+12
2016-09-30Tolerate remotes that return memory read errors.Tim Newsome1-1/+9
2016-09-29Update dmode test to match spec.Tim Newsome2-46/+101
M-mode writes to triggers with dmode set are now ignored instead of raising an exception. Also added -f/--fail-fast option to gdbserver.
2016-09-29Clear triggers during entry.Tim Newsome1-0/+9
If the last test leaves some triggers set they should be cleaned up.
2016-09-28Disable TriggerDmode while spike is changed.Tim Newsome1-0/+4
2016-09-21Move debug testing from all into debug-check target.Tim Newsome1-2/+2
Fixes issue #30.
2016-09-20Minor tweaks to trigger tests for openocd.Tim Newsome2-10/+16
2016-09-15Rewrite debug testing.Tim Newsome4-264/+762
No longer use unittest. Now tests can return not_applicable if eg. a desired execution mode isn't implemented on a target. Also we do a better job killing spike processes when a test fails. Did a lot of code cleanup, partly by using pylint. Fix the Makefile so that if the test fails, 'make' actually fails too.
2016-09-06Add rv32uf testsAndrew Waterman16-3/+142
2016-09-02Make RVC test fit in 16 KiBAndrew Waterman1-4/+4
2016-09-02Fix/add to instant trigger tests.Tim Newsome2-6/+23
2016-09-02Limit spike RAM so I can run valgrind on it.Tim Newsome1-0/+1
2016-09-01Add some immediate trigger tests.Tim Newsome2-6/+23
2016-09-01Create TriggerTest.Tim Newsome2-21/+136
2016-09-01Add test for address triggers.Tim Newsome2-1/+29
2016-09-01Remove "import ." notation.Tim Newsome1-1/+1
Doesn't work with Python 2.7.9 which is the default in latest Debian.
2016-09-01Add .pyc to .gitignore.Tim Newsome1-0/+1
2016-08-31Change accidental use of SLTIU in SLTI tests (#26)Brett Cannon1-1/+1
2016-08-30Share code between rv32ui and rv64ui testsAndrew Waterman39-2516/+180
They were almost identical, so I made them actually identical. This will reduce the burden of writing further tests that span base ISAs. Tests can still be specialized for XLEN with ifdefs on e.g. __riscv64.
2016-08-30Add missing RV32 slt[i]u testsAndrew Waterman5-147/+21
Closes #12.
2016-08-29On RV32, zero-extend pointers for HTIFAndrew Waterman1-12/+12
2016-08-29Don't explicitly use atomics in rsortAndrew Waterman1-11/+17
This is a pattern GCC should pick up for targets where AMOADD is faster than LW/ADD/SW.
2016-08-26Update to new breakpoint & counter specAndrew Waterman3-38/+38
2016-08-23Merge pull request #24 from richardxia/declare-dependenciesTim Newsome3-4/+6
Add requirements.txt and reorder imports by type.
2016-08-23Use a version range.Richard Xia1-1/+1
2016-08-22Add requirements.txt and reorder imports by type.Richard Xia3-4/+6
2016-08-22Use env shebang so for virtualenv compatibility.Tim Newsome1-1/+1
2016-08-17Improve AMO testsAndrew Waterman6-226/+35
- avoid code duplication between RV32 and RV64 variants - make LR/SC do something interesting on uniprocessors - avoid requiring M extension
2016-08-16Fix missing setup in test_turbostep.Tim Newsome1-0/+2
2016-08-16Simplify test_function_call.Tim Newsome2-3/+20
Now it doesn't rely on malloc, which can be tricky to get to work in and of itself.
2016-08-16bump envAndrew Waterman1-5/+6
2016-08-16Make ENTROPY deterministicAndrew Waterman1-3/+2
Base it on the output filename, not the pid. This still gets decent coverage, but is deterministic.
2016-08-15Add --32 and --64 options to gdbserver.py.Tim Newsome1-4/+17