summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-11use paths relative to current makefile for lem and linksem.Robert Norton
2016-02-10mips.sail: make unimplemented/non-existent throw a reserved instruction ↵Robert Norton
exception as per ISA.
2016-02-10mips.sail: add mfc0 support for some cp0 registers even though they aren't ↵Robert Norton
properly implemented as this allows tests to fail gracefully rather than crashing.
2016-02-10mips.sail: use exit whenever SignalException is called.Robert Norton
2016-02-09fix scattered type union source printingKathy Gray
2016-02-08slightly clean up vector type printing and empty effect printing for functionsKathy Gray
2016-02-05fix typo in kathy's last commit.Robert Norton
2016-02-05change signed mod behaviour for numbers to match that of vectorsKathy Gray
2016-02-04Cast to int in DIV instructions to avoid weird undefined results from vector ↵Robert Norton
quot and mod. mod still not quite doing what we want in signed case.
2016-02-04mips.sail: don't set HI and LO to undefined on MUL but just leave them as ↵Robert Norton
they were, allowing us to pass another test.
2016-02-04fix pretty printing of new mod_sRobert Norton
2016-02-04add mod_s to lexer and parserKathy Gray
2016-02-04Add mod_sKathy Gray
2016-02-04add forgotten lib bindingKathy Gray
2016-02-04and for quot_sKathy Gray
2016-02-04Relax constraints on quot temporarily since it was prohibiting negative ↵Kathy Gray
numbers accidentally
2016-02-03mips: finish implementing address translation on instruction fetch and ↵Robert Norton
remove temporary hack in TranslateAddr.
2016-02-03mips: add support for LLAddr, a debug register used for ll/sc. Also add ↵Robert Norton
missing psuedo-registers in run_with_elf.
2016-02-03add example of elf file which fails to load due to linksem error: ↵Robert Norton
get_elf64_global_symbol_init: invariant failed, global variable appears in multiple segments
2016-02-03mips_extras.lem: fix typo in spelling of MEM_sync.Robert Norton
2016-02-02mips.sail: workaround for sail bugRobert Norton
2016-02-02mips.sail: add an 'inBranchDelay' register so that SignalException can set ↵Robert Norton
correct state on exception. branchPending does not work because it is cleared before executing the branch delay.
2016-02-02mips.sail: TranslateAddress hack maps all xkphys addresses to 0x9... regionRobert Norton
2016-02-02Print out the address of the instruction running in sequential interpreterKathy Gray
2016-02-02Get mips stuff hooked up with translate address.Kathy Gray
Note: this support is rather mips centric at the moment
2016-02-02add translate_address functionalityKathy Gray
2016-02-01mips.sail: fix mfc0 of config register.Robert Norton
2016-02-01mips.sail: fix decode of trap instructions.Robert Norton
2016-02-01mips.sail: workaround oddness in comparison in MOVN and MOVZ. sail bug?Robert Norton
2016-02-01mips.sail: add support for BadVaddr CP0 register.Robert Norton
2016-02-01mips.sail: fix decoding of BEQL instruction.Robert Norton
2016-02-01mips.sail: fix compilation error in mfc0 causeRobert Norton
2016-01-29mips.sail: further filling out CP0 behaviour getting exceptions to sort of ↵Robert Norton
work (NB hack in TranslateAddress until interpreter translates instuction fetches)
2016-01-29fix typo in kathy's last commit.Robert Norton
2016-01-29Put correct tags on to_vec callsKathy Gray
2016-01-29mips.sail: it turns out that all sail comparisons are signed contrary to ↵Robert Norton
manual so emulate unsigned comparisons by prepending a zero bit, as in mips spec.
2016-01-28Add test for sltu. Fixed decode function which was returning wrong ast node ↵Robert Norton
but test still does not pass, apparently because sail is doing signed comparison for <
2016-01-28add test exposing problem with ddiv.Robert Norton
2016-01-28mips.sail: start to fill out TranslateAddress. Change type so that it can be ↵Robert Norton
used by ml to translate fetch address.
2016-01-28mips.sail: fix infamous lwr and ldr (now pass tests).Robert Norton
2016-01-28mips.sail: fix back-to-front operands of DSLLV.Robert Norton
2016-01-28mips.sail: fix incorrect decode of DSLLVRobert Norton
2016-01-28mips.sail: split store cases by word width as sail needs to know which bit ↵Robert Norton
of word to store (probably a bug that it does not complain at runtime).
2016-01-28Support exit and assert better in sequential interpreter and general ↵Kathy Gray
interpreter interface
2016-01-27Add --max_instruction to sequential interpreter to permit an upper bound on ↵Kathy Gray
instructions run
2016-01-27Add ability to run to a particular instruction execution numberKathy Gray
Could later add the ability to run to a particular instruction form (like we had in ppcmem2) or address
2016-01-27mips.sail: branches are relative to delay slot PC, not branch! Support ↵Robert Norton
config registers in mfc0.
2016-01-27mips.sail: produce undefined result for division by zero instead of crashing.Robert Norton
2016-01-27actually commit the new mips fileKathy Gray
2016-01-27Make mips build againKathy Gray
Make quiet mode for sequential interpreter not print