aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests/testcore.cpp
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-02 16:57:42 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-02 16:57:42 +0100
commitd82cd16b55e57420a9df2fd5da5402d4701a9091 (patch)
treee67847e3cae5d616bd2c399b82cea5cc50cd4ec6 /qtmips_machine/tests/testcore.cpp
parentb1f0e4fcc83c7692f4b066fcc026d77a051c1d7d (diff)
downloadqtmips-d82cd16b55e57420a9df2fd5da5402d4701a9091.tar.gz
qtmips-d82cd16b55e57420a9df2fd5da5402d4701a9091.tar.bz2
qtmips-d82cd16b55e57420a9df2fd5da5402d4701a9091.zip
Correct ALU test for SUB exception.
The operation 3 - 4 = 1 is legal integer arithmetic operation. Changed to 0x80000003 - 4 = 0x7fffffff 2147483651 - 4 = 2147483647 which overflows. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/tests/testcore.cpp')
0 files changed, 0 insertions, 0 deletions