projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c980f2f
)
add all missing undefined cases for mul and div instructions
author
Jacob Lifshay
<programmerjake@gmail.com>
Fri, 9 Oct 2020 23:12:32 +0000
(16:12 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Fri, 9 Oct 2020 23:12:32 +0000
(16:12 -0700)
openpower/isa/fixedarith.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/fixedarith.mdwn
b/openpower/isa/fixedarith.mdwn
index 49513ed9d2f013f3ae7494f84ab689107ccca4d7..47eccaeadc19175768ce546ceaa5b2b8834442ff 100644
(file)
--- a/
openpower/isa/fixedarith.mdwn
+++ b/
openpower/isa/fixedarith.mdwn
@@
-329,7
+329,7
@@
Pseudo-code:
prod[0:63] <- MULS((RA)[32:63], (RB)[32:63])
RT[32:63] <- prod[0:31]
- RT[0:31] <-
prod[0:31]
+ RT[0:31] <-
undefined(prod[0:31])
Special Registers Altered:
@@
-367,7
+367,7
@@
Pseudo-code:
prod[0:63] <- (RA)[32:63] * (RB)[32:63]
RT[32:63] <- prod[0:31]
- RT[0:31] <-
prod[0:31]
+ RT[0:31] <-
unsigned(prod[0:31])
Special Registers Altered: