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:
0234abb
)
oppc/code: assume 1 bit for subscript expr
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 14 Jan 2024 20:49:17 +0000
(23:49 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:10:07 +0000
(22:10 +0300)
src/openpower/oppc/pc_code.py
patch
|
blob
|
history
diff --git
a/src/openpower/oppc/pc_code.py
b/src/openpower/oppc/pc_code.py
index 170c701113e05a53f798bcafa82491f5775f1c40..41e95c6c9de336b7d84086209f39cee796092c6b 100644
(file)
--- a/
src/openpower/oppc/pc_code.py
+++ b/
src/openpower/oppc/pc_code.py
@@
-439,7
+439,7
@@
class CodeVisitor(pc_util.Visitor):
@pc_util.Hook(pc_ast.SubscriptExpr)
def SubscriptExpr(self, node):
yield node
- transient = self.transient()
+ transient = self.transient(
bits="UINT8_C(1)"
)
call = self.call(name="oppc_subscript", code=[
self[transient],
self[node.subject],