From: Luke Kenneth Casson Leighton Date: Sun, 21 Feb 2021 12:58:19 +0000 (+0000) Subject: comments in SVP64RMFields X-Git-Tag: convert-csv-opcode-to-binary~181 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c23357038766d3ae2b66f5fa04158bf9c22b832e;p=soc.git comments in SVP64RMFields --- diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index 08deb7cf..ccdbff14 100644 --- a/src/soc/decoder/isa/caller.py +++ b/src/soc/decoder/isa/caller.py @@ -250,17 +250,19 @@ class SVP64RMFields: self.ewsrc = FieldSelectableInt(self.spr, tuple(range(6,8))) self.subvl = FieldSelectableInt(self.spr, tuple(range(8,10))) self.extra = FieldSelectableInt(self.spr, tuple(range(10,19))) + self.mode = FieldSelectableInt(self.spr, tuple(range(19,24))) + # these cover the same extra field, split into parts as EXTRA2 self.extra2 = list(range(4)) self.extra2[0] = FieldSelectableInt(self.spr, tuple(range(10,12))) self.extra2[1] = FieldSelectableInt(self.spr, tuple(range(12,14))) self.extra2[2] = FieldSelectableInt(self.spr, tuple(range(14,16))) self.extra2[3] = FieldSelectableInt(self.spr, tuple(range(16,18))) self.smask = FieldSelectableInt(self.spr, tuple(range(16,19))) + # and here as well, but EXTRA3 self.extra3 = list(range(3)) self.extra3[0] = FieldSelectableInt(self.spr, tuple(range(10,13))) self.extra3[1] = FieldSelectableInt(self.spr, tuple(range(13,16))) self.extra3[2] = FieldSelectableInt(self.spr, tuple(range(16,19))) - self.mode = FieldSelectableInt(self.spr, tuple(range(19,24))) SVP64RM_MMODE_SIZE = len(SVP64RMFields().mmode.br)