From 1585547d0c57c264e53f240570dfa534fba238e0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 21 Feb 2021 13:08:32 +0000 Subject: [PATCH 1/1] add comments for Mode field in SVP64Asm --- src/soc/sv/trans/svp64.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/sv/trans/svp64.py b/src/soc/sv/trans/svp64.py index 58404b53..63fa38ac 100644 --- a/src/soc/sv/trans/svp64.py +++ b/src/soc/sv/trans/svp64.py @@ -223,8 +223,11 @@ class SVP64Asm: field = int(field[0]) # actual register number print (" ", regmode, field, end=" ") + # see Mode field https://libre-soc.org/openpower/sv/svp64/ # XXX TODO: the following is a bit of a laborious repeated # mess, which could (and should) easily be parameterised. + # XXX also TODO: the LD/ST modes which are different + # https://libre-soc.org/openpower/sv/ldst/ # encode SV-GPR field into extra, v3.0field if regtype == 'GPR': -- 2.30.2