projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
774cbc5
)
stop setting not carry on
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 20 Jun 2022 13:09:39 +0000
(14:09 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 20 Jun 2022 13:09:44 +0000
(14:09 +0100)
openpower/sv/sif.py
patch
|
blob
|
history
diff --git
a/openpower/sv/sif.py
b/openpower/sv/sif.py
index 1f68cc1222688789dfa567b9251c52e5b03b2727..adaf0b17d0c8385726fd0c048604ce5e7021ad99 100644
(file)
--- a/
openpower/sv/sif.py
+++ b/
openpower/sv/sif.py
@@
-8,7
+8,7
@@
def sif(RA, mask=None, zero=False):
if not setting_mode and mask is not None and (mask & bit):
setting_mode = True # back into "setting" mode
if setting_mode and mask is not None and not (mask & bit):
- setting_mode =
Tru
e # masked out, stop setting
+ setting_mode =
Fals
e # masked out, stop setting
if setting_mode:
if RA & bit: # found a bit in rs1: stop setting RT
setting_mode = False