reorganise tables
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 13 Aug 2019 08:43:57 +0000 (09:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 13 Aug 2019 08:43:57 +0000 (09:43 +0100)
simple_v_extension/specification/mv.x.rst

index 916445e947135ca8a9bc9157d18987a06d664b57..02f6d6a8cc56f6d3ed2a6663b914faec9c6b267b 100644 (file)
@@ -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