projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
257849c
)
There were two code blocks with inverted min/max, prev commit missed one
author
Lauri Kasanen
<cand@gmx.com>
Fri, 21 May 2021 10:13:11 +0000
(13:13 +0300)
committer
Lauri Kasanen
<cand@gmx.com>
Fri, 21 May 2021 10:13:11 +0000
(13:13 +0300)
openpower/sv/overview.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/overview.mdwn
b/openpower/sv/overview.mdwn
index 81d5b9aa90ac6dda251e0bf228914a21d3c7cdd9..ffee381eca1acbcb4e180096a71624179504defb 100644
(file)
--- a/
openpower/sv/overview.mdwn
+++ b/
openpower/sv/overview.mdwn
@@
-608,7
+608,7
@@
truncated. Only then can the arithmetic saturation condition be detected:
# unsigned add
result = op_add(src1, src2, opwidth) # at max width
# now saturate (unsigned)
- sat = m
ax
(result, (1<<destwid)-1)
+ sat = m
in
(result, (1<<destwid)-1)
set_polymorphed_reg(rd, destwid, i, sat)
# set sat overflow
if Rc=1: