gem5/util
Alec Roelke 33683bd087 riscv: [Patch 8/5] Added some regression tests to RISC-V
This patch is the eighth patch in a series adding RISC-V to gem5, and
third of the bonus patches to the original series of five. It adds some
regression tests to RISC-V.

Regression tests included:
- se/00.hello
- se/02.insttest (split into several binaries which are not included due
  to large size)

The tests added to 00.insttest will need to be build manually; to
facilitate this, a Makefile is included. The required toolchain and
compiler (riscv64-unknown-elf-gcc) can be built from the riscv-tools
GitHub repository at https://github.com/riscv/riscv-tools.

Note that because EBREAK only makes sense when gdb is running or while in
FS mode, it is not included in the linux-rv64i insttest. ERET is not
included because it does not make sense in SE mode and, in fact, causes
a panic by design.

Note also that not every system call is tested in linux-rv64i; of the ones
defined in linux/process.hh, some have been given numbers but not
definitions for the toolchain, or are merely stubs that always return 0. Of
the ones that do work properly, only a subset are tested due to similar
functionality.

Signed-off by: Alec Roelke

Signed-off by: Jason Lowe-Power <jason@lowepower.com>
2016-11-30 17:12:56 -05:00
..
batch python: Move various utility classes into a new m5.util package so 2008-06-14 20:19:49 -07:00
ccdrv includes: sort all includes 2011-04-15 10:44:06 -07:00
cpt_upgraders arm: bank GIC registers per CPU 2016-08-02 13:35:45 +01:00
cxx_config base: remove Trace::enabled flag 2015-09-30 15:21:55 -05:00
dist dist: config file for distributed switch 2016-04-14 14:07:42 -04:00
emacs Make the M5 Emacs C style default to inserting spaces instead 2006-01-30 14:32:00 -05:00
m5 dev: Add m5 op to toggle synchronization for dist-gem5. 2016-10-26 22:48:40 -04:00
minorview cpu: Add SMT support to MinorCPU 2016-07-21 17:19:16 +01:00
pbs python: Move various utility classes into a new m5.util package so 2008-06-14 20:19:49 -07:00
statetrace util: fix apparent statetrace bug 2016-02-06 17:21:20 -08:00
stats stats: fix usage of jobfile 2009-07-02 16:48:21 -07:00
streamline arm: Fix for ARM's Streamline conversion script 2016-10-15 15:11:07 -05:00
style util: git pre-commit hook to check staged files 2016-11-25 10:31:21 +00:00
systemc misc: fix a compile error due to incompability with SystemC 2.3.1 2016-07-01 09:50:18 -05:00
tap includes: sort all includes 2011-04-15 10:44:06 -07:00
term util: term: drop CC from Makefile 2015-12-04 17:25:45 -06:00
tlm misc: SystemC Elastic Trace Player Example. 2016-07-01 10:31:33 -05:00
vi util: add a vimrc that matches gem5 style guide 2015-07-31 22:53:17 -04:00
checkpoint-tester.py style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
checkpoint_aggregator.py util: update checkpoint aggregation script 2013-12-03 10:36:03 -06:00
checktrace.sh Add checktrace.sh. Checks all the ethertrace files in */ethertrace 2005-11-11 18:43:09 -05:00
compile style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
cpt_upgrader.py sim: tag-based checkpoint versioning 2015-09-02 15:23:30 -05:00
cscope-index.py cscope-find.py: 2006-11-29 13:17:41 -08:00
decode_inst_dep_trace.py cpu: Support virtual addr in elastic traces 2015-12-07 16:42:16 -06:00
decode_inst_trace.py cpu: add support for outputing a protobuf formatted CPU trace 2015-02-16 03:32:38 -05:00
decode_packet_trace.py mem: Add Program Counter to MemTraceProbe 2016-04-07 11:32:38 -05:00
diff_config.pl Util: Added script to semantically diff two config.ini files 2012-09-25 11:49:40 -05:00
dram_lat_mem_rd_plot.py configs: Add a lat_mem_rd style test script 2016-03-08 17:51:02 -05:00
dram_sweep_plot.py config: Minor fixes to the DRAM utilisation sweep 2015-11-22 05:10:17 -05:00
encode_inst_dep_trace.py cpu: Support virtual addr in elastic traces 2015-12-07 16:42:16 -06:00
encode_packet_trace.py cpu: TraceGen fix for tick frequency check 2016-02-24 04:16:55 -05:00
find_copyrights.py copyright: Add code for finding all copyright blocks and create a COPYING file 2011-06-02 17:36:07 -07:00
gem5img.py Util: Replace mkblankimage.sh with the new gem5img.py. 2011-04-29 04:46:19 -04:00
git-pre-commit.py util: git pre-commit hook to check staged files 2016-11-25 10:31:21 +00:00
hgfilesize.py hgfilesize: skip files that have been removed 2012-01-10 22:50:54 -08:00
hgstyle.py style: Remove style validators 2016-03-30 15:32:17 +01:00
memtest-soak.py config: Add soak test for memtest.py 2015-03-19 04:06:18 -04:00
minorview.py cpu: `Minor' in-order CPU model 2014-07-23 16:09:04 -05:00
o3-pipeview.py o3: fix tick used for renaming and issue with range selection 2013-02-15 17:40:09 -05:00
on-chip-network-power-area.py util: adds a script for using DSENT 2014-10-11 16:16:00 -05:00
oprofile-top.py Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
protolib.py util: Move packet trace file read to protolib 2014-08-10 05:39:20 -04:00
qdo style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
regress riscv: [Patch 8/5] Added some regression tests to RISC-V 2016-11-30 17:12:56 -05:00
rundiff rundiff: Don't flush stdout until after postcontext is printed. 2009-09-26 10:50:50 -07:00
SConscript Major changes to how SimObjects are created and initialized. Almost all 2007-07-23 21:51:38 -07:00
slicc slicc: Pure python implementation of slicc. 2009-09-22 18:12:39 -07:00
style.py style: Add options to select checkers and apply fixes 2016-11-25 10:33:15 +00:00
tracediff tracediff: Check for --debug-flags now instead of --trace-flags. 2011-07-02 22:52:26 -07:00
valgrind-suppressions util: Valgrind suppression addition 2014-04-23 05:18:29 -04:00