projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad14ae6
)
pysvp64asm: restore original BO
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 18 Sep 2022 19:17:33 +0000
(22:17 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 18 Sep 2022 19:17:55 +0000
(22:17 +0300)
src/openpower/sv/trans/svp64.py
patch
|
blob
|
history
diff --git
a/src/openpower/sv/trans/svp64.py
b/src/openpower/sv/trans/svp64.py
index 36bd3bfebded0597b3f6171653e5f6e7cc04c031..40fdc0effdd09b540f97d54e3372eff475a62bad 100644
(file)
--- a/
src/openpower/sv/trans/svp64.py
+++ b/
src/openpower/sv/trans/svp64.py
@@
-645,9
+645,7
@@
def decode_bo(encoding):
}
assert encoding in pmap, \
"encoding %s for BO Mode not recognised" % encoding
- # barse-ackwards MSB0/LSB0. sigh
- mapped = pmap[encoding]
- return int(bin(mapped)[:1:-1], 2) # to 0bNNN, reverse-and-strip b0, base2
+ return pmap[encoding]
# partial-decode fail-first mode