From: Luke Kenneth Casson Leighton Date: Mon, 24 May 2021 09:59:16 +0000 (+0100) Subject: add nop support to ISACaller X-Git-Tag: xlen-bcd~567 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d814ea11859f993c2f93ae33af7f132ece5ca52f;p=openpower-isa.git add nop support to ISACaller --- 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)