aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-10 18:54:35 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-10 18:54:35 +0100
commit596bb6231115aa29cde804c27c899afb4cf03a25 (patch)
treed9bfa173e1138b9dd36574bb168ebb4884c6d7f9 /LICENSE
parentab28ba46d6dcbf8539fc724bfbfb982722339036 (diff)
downloadqtmips-596bb6231115aa29cde804c27c899afb4cf03a25.tar.gz
qtmips-596bb6231115aa29cde804c27c899afb4cf03a25.tar.bz2
qtmips-596bb6231115aa29cde804c27c899afb4cf03a25.zip
Fix program end by exception if divisor is zero for div instruction.
Problem reported by Jakub Broz. Correct behaviour according to MIPS Architecture for Programmers Volume II-A: The MIPS32 Instruction Set Manual which describes DIV instruction Format: DIV rs, rt No arithmetic exception occurs under any circumstances. Restrictions: If the divisor in GPR rt is zero, the arithmetic result value is UNPREDICTABLE. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions