diff options
| author | Robert Norton | 2016-01-22 17:03:35 +0000 |
|---|---|---|
| committer | Robert Norton | 2016-01-22 17:03:35 +0000 |
| commit | 54056df4bcb3a3055da0bb0850bbbf57b2d6e36d (patch) | |
| tree | 4101caec61bf8210ab22aa44a402271848600504 | |
| parent | 2588b3f8639411f0c6bc00dd672f0b1d12fe4781 (diff) | |
mips: revert accidental removal of overflow check from daddi. It is broken but this is not the fix...
| -rw-r--r-- | mips/mips.sail | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mips/mips.sail b/mips/mips.sail index bac6d24b..d318116b 100644 --- a/mips/mips.sail +++ b/mips/mips.sail @@ -271,9 +271,9 @@ function clause execute (DADDI (rs, rt, imm)) = { let (temp, overflow, _) = (rGPR(rs) +_s EXTS(imm)) in (* XXX is this the same definition of overflow as in spec? *) { - (*if overflow then + if overflow then SignalException(Ov) - else*) + else wGPR(rt) := temp } } |
