-Subproject commit 177088bdebe14a2e1173f8302127bbde504c3116
+Subproject commit 6a79599c792e9271203c29082ee512a46930be85
# detect the immediate here (with m.If(self.i.ctx.op.imm_data.imm_ok))
# and place it into data_i.b
- reg3_ok = yield dec2.e.read_reg3.ok
reg1_ok = yield dec2.e.read_reg1.ok
- assert reg3_ok != reg1_ok
- if reg3_ok:
- data1 = yield dec2.e.read_reg3.data
- data1 = sim.gpr(data1).value
- elif reg1_ok:
+ if reg1_ok:
data1 = yield dec2.e.read_reg1.data
data1 = sim.gpr(data1).value
else:
res = {}
# RA (or RC)
- reg3_ok = yield dec2.e.read_reg3.ok
reg1_ok = yield dec2.e.read_reg1.ok
- assert reg3_ok != reg1_ok
- if reg3_ok:
- data1 = yield dec2.e.read_reg3.data
- res['a'] = sim.gpr(data1).value
- elif reg1_ok:
+ if reg1_ok:
data1 = yield dec2.e.read_reg1.data
res['a'] = sim.gpr(data1).value
res = {}
# RA (or RC)
- reg3_ok = yield dec2.e.read_reg3.ok
reg1_ok = yield dec2.e.read_reg1.ok
- assert reg3_ok != reg1_ok
- if reg3_ok:
- data1 = yield dec2.e.read_reg3.data
- res['a'] = sim.gpr(data1).value
- elif reg1_ok:
+ if reg1_ok:
data1 = yield dec2.e.read_reg1.data
res['a'] = sim.gpr(data1).value