aboutsummaryrefslogtreecommitdiff
path: root/tests/machine-unit-tests
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-07 23:05:51 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-07 23:05:51 +0100
commit0137207cb51ef3dd8b097d6cf88fd627fc468af2 (patch)
tree09c8a075752f7ed3837f2474e2484416d3f8cf51 /tests/machine-unit-tests
parentbad9f0780e8dfca230e0cc6c32d60e845887aaf9 (diff)
downloadqtmips-0137207cb51ef3dd8b097d6cf88fd627fc468af2.tar.gz
qtmips-0137207cb51ef3dd8b097d6cf88fd627fc468af2.tar.bz2
qtmips-0137207cb51ef3dd8b097d6cf88fd627fc468af2.zip
Exception handlers require even PC of the jump or branch instruction before delay slot.
When exception occurs at instruction in delay slot, the address of branch/delay instruction is stored to EPC instead of address of instruction causing the exception. So that address has to be delivered to exception handling object. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'tests/machine-unit-tests')
0 files changed, 0 insertions, 0 deletions