From: Dmitry Selyutin Date: Sun, 14 Jan 2024 20:49:17 +0000 (+0300) Subject: oppc/code: assume 1 bit for subscript expr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a42370461a9ccfbc40caac4777fdcfd0275195ad;p=openpower-isa.git oppc/code: assume 1 bit for subscript expr --- diff --git a/src/openpower/oppc/pc_code.py b/src/openpower/oppc/pc_code.py index 170c7011..41e95c6c 100644 --- 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],