From d814ea11859f993c2f93ae33af7f132ece5ca52f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 24 May 2021 10:59:16 +0100 Subject: [PATCH] add nop support to ISACaller --- src/openpower/decoder/isa/caller.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 5eef119c..0ab052ce 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -1023,6 +1023,12 @@ class ISACaller: (name, asmop, self.pc.CIA.value)) return + # nop has to be supported, we could let the actual op calculate + # but PowerDecoder has a pattern for nop + if name is 'nop': + self.update_pc_next() + return + info = self.instrs[name] yield from self.prep_namespace(info.form, info.op_fields) -- 2.30.2