From: Jacob Lifshay Date: Fri, 12 Mar 2021 22:52:16 +0000 (-0800) Subject: add setvl to decoder X-Git-Tag: convert-csv-opcode-to-binary~44 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79841478f9a503e3b567caf1d0958891e094fa6e;p=soc.git add setvl to decoder --- diff --git a/src/soc/decoder/power_decoder.py b/src/soc/decoder/power_decoder.py index 268a1ef1..23954142 100644 --- a/src/soc/decoder/power_decoder.py +++ b/src/soc/decoder/power_decoder.py @@ -557,6 +557,8 @@ def create_pdecode(name=None, col_subset=None, row_subset=None): opint=True, bitsel=(0, 2), suffix=None, subdecoders=[]), Subdecoder(pattern=62, opcodes=get_csv("minor_62.csv"), opint=True, bitsel=(0, 2), suffix=None, subdecoders=[]), + Subdecoder(pattern=22, opcodes=get_csv("minor_22.csv"), + opint=True, bitsel=(1, 5), suffix=None, subdecoders=[]), ] # top level: extra merged with major diff --git a/src/soc/decoder/power_enums.py b/src/soc/decoder/power_enums.py index b8c7fe46..faa8cfc1 100644 --- a/src/soc/decoder/power_enums.py +++ b/src/soc/decoder/power_enums.py @@ -81,6 +81,7 @@ class Function(Enum): SPR = 1 << 10 MMU = 1 << 11 SV = 1 << 12 # Simple-V https://libre-soc.org/openpower/sv + VL = 1 << 13 # setvl @unique