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:
6ecf60c
)
pysvp64dis: stop interation upon empty suffix
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 30 Aug 2022 08:57:39 +0000
(11:57 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 30 Aug 2022 10:02:21 +0000
(13:02 +0300)
src/openpower/sv/trans/pysvp64dis.py
patch
|
blob
|
history
diff --git
a/src/openpower/sv/trans/pysvp64dis.py
b/src/openpower/sv/trans/pysvp64dis.py
index f915abbf0cf5902dede4d7da406d53489973c826..39d63ef5cd981cc8d40c02815a97ade781a8e52f 100644
(file)
--- a/
src/openpower/sv/trans/pysvp64dis.py
+++ b/
src/openpower/sv/trans/pysvp64dis.py
@@
-37,6
+37,7
@@
def load(ifile, byteorder, **_):
length = len(suffix)
if length == 0:
yield prefix
+ return
elif length < 4:
raise IOError(suffix)
suffix = _WordInstruction.integer(value=suffix, byteorder=byteorder)