Commit fd07749
UB in negate in mulh/mulhsu
Ensuring No negation on -2^63(int64_t) is performed during mulh/mulhsu
Signed-off-by: Nicolas Brunie <82109999+nibrunieAtSi5@users.noreply.github.com>
Update riscv/arith.h
Signed-off-by: Nicolas Brunie <82109999+nibrunieAtSi5@users.noreply.github.com>1 parent 49727e8 commit fd07749
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments