From 32996cd264c52268e250bb6c96b8f27d40b72410 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 18 Sep 2019 08:25:27 +0100 Subject: [PATCH] add elwidth override on MV.X --- simple_v_extension/specification/mv.x.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/simple_v_extension/specification/mv.x.rst b/simple_v_extension/specification/mv.x.rst index 37eadc4c0..916742cf3 100644 --- a/simple_v_extension/specification/mv.x.rst +++ b/simple_v_extension/specification/mv.x.rst @@ -30,6 +30,7 @@ swizzle (only active on SV or P48/P64 when SUBVL!=0): Pseudocode for element width part of MV.X: :: + def mv_x(rd, rs1, funct4): elwidth = (funct4>>2) & 0x3 bitwidth = {0:XLEN, 1:8, 2:16, 3:32}[elwidth] # get bits per el -- 2.30.2