From: Luke Kenneth Casson Leighton Date: Sat, 15 Jan 2022 13:47:36 +0000 (+0000) Subject: add atomic reservation field to Power Decoder data structures X-Git-Tag: sv_maxu_works-initial~566 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cbf5b6fa0b41367efc50349f0a6e80b7dfffcad;p=openpower-isa.git add atomic reservation field to Power Decoder data structures --- diff --git a/src/openpower/decoder/decode2execute1.py b/src/openpower/decoder/decode2execute1.py index e7deff5b..d0f37d2e 100644 --- a/src/openpower/decoder/decode2execute1.py +++ b/src/openpower/decoder/decode2execute1.py @@ -84,6 +84,7 @@ class Decode2ToOperand(IssuerDecode2ToOperand): self.is_signed = Signal(reset_less=True) self.data_len = Signal(4, reset_less=True) # bytes self.byte_reverse = Signal(reset_less=True) + self.reserve = Signal(reset_less=True) # atomic update ldarx/stdcx etc self.sign_extend = Signal(reset_less=True)# do we need this? self.ldst_mode = Signal(LDSTMode, reset_less=True) # LD/ST mode self.write_cr0 = Signal(reset_less=True) diff --git a/src/openpower/decoder/power_decoder.py b/src/openpower/decoder/power_decoder.py index 8fabeabc..4f7ab855 100644 --- a/src/openpower/decoder/power_decoder.py +++ b/src/openpower/decoder/power_decoder.py @@ -163,6 +163,7 @@ power_op_csvmap = {'function_unit': 'unit', 'cr_out': 'CR out', 'ldst_len': 'ldst len', 'upd': 'upd', + 'rsrv': 'reserve', # atomic operation 'rc_sel': 'rc', 'cry_in': 'cry in', }