From f7af1b181398852b522b07357e9cd384258b069a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 13 Aug 2019 09:43:57 +0100 Subject: [PATCH] reorganise tables --- simple_v_extension/specification/mv.x.rst | 28 ++++++++++------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/simple_v_extension/specification/mv.x.rst b/simple_v_extension/specification/mv.x.rst index 916445e94..02f6d6a8c 100644 --- a/simple_v_extension/specification/mv.x.rst +++ b/simple_v_extension/specification/mv.x.rst @@ -19,27 +19,23 @@ swizzle needs a MV. see below for a potential way to use the funct7 to do a swi swizzle (only active on SV or P48/P64 when SUBVL!=0): -+-----+---+ -| 1:0 | x | -+-----+---+ -| 3:2 | y | -+-----+---+ -| 5:4 | z | -+-----+---+ -| 7:6 | w | -+-----+---+ ++-----+-----+-----+-----+ +| 7:6 | 5:4 | 3:2 | 1:0 | ++-----+-----+-----+-----+ +| w | y | z | z | ++-----+-----+-----+-----+ ---- potential MV.X? register-version of MV-swizzle? -+---------------+-------------+-------+----------+----------+--------+----------+--------+--------+ -| Encoding | 31:27 | 26:25 | 24:20 | 19:15 | 14:12 | 11:7 | 6:2 | 1:0 | -+---------------+-------------+-------+----------+----------+--------+----------+--------+--------+ -| RV32-R-type + funct7 + rs2[4:0] + rs1[4:0] + funct3 | rd[4:0] + opcode + 0b11 | -+---------------+-------------+-------+----------+----------+--------+----------+--------+--------+ -| RV32-R-type + 0b0000000 + rs2[4:0] + rs1[4:0] + 0b001 | rd[4:0] + OP-V + 0b11 | -+---------------+-------------+-------+----------+----------+--------+----------+--------+--------+ ++-------------+-------+-------+----------+----------+--------+----------+--------+--------+ +| Encoding | 31:27 | 26:25 | 24:20 | 19:15 | 14:12 | 11:7 | 6:2 | 1:0 | ++-------------+-------+-------+----------+----------+--------+----------+--------+--------+ +| RV32-R-type + funct7 + rs2[4:0] + rs1[4:0] + funct3 | rd[4:0] + opcode + 0b11 | ++-------------+-------+-------+----------+----------+--------+----------+--------+--------+ +| RV32-R-type + 0b0000000 + rs2[4:0] + rs1[4:0] + 0b001 | rd[4:0] + OP-V + 0b11 | ++-------------+-------+-------+----------+----------+--------+----------+--------+--------+ * funct3 = MV.X * OP-V = 0b1010111 -- 2.30.2