(no commit message)
authorlkcl <lkcl@web>
Sun, 30 Jun 2019 10:41:46 +0000 (11:41 +0100)
committerIkiWiki <ikiwiki.info>
Sun, 30 Jun 2019 10:41:46 +0000 (11:41 +0100)
simple_v_extension/sv_prefix_proposal/discussion.rst

index 0bbb5f8a2ee6b77237246ec9444b08fca1e5c1a4..26b4503f95ec6f5f853d1ac978e7d0d29b38f11a 100644 (file)
@@ -43,45 +43,53 @@ Or, just "to hell with it" and just take the entire opcode and stuff C into it,
 
 P48:
 
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| Encoding      | 17     | 16     | 15       | 14  | 13     | 12          | 11:7 | 6      | 5:0    |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| P32C-LD-type  | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| P32C-ST-type  |vitp7[6]| rs1[5] | rs2[5]   | vs2 | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| P32C-R-type   | rd[5]  | rs1[5] | rs2[5]   | vs2 | vs1    | vitp6              | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
-| P32C-I-type   | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
-| P32C-U-type   | rd[5]  | *Rsvd* | *Rsvd*   | vd  | *Rsvd* | vitp6              | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| P32C-FR-type  | rd[5]  | rs1[5] | rs2[5]   | vs2 | vs1    | *Rsvd*      | vtp5 | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| P32C-FI-type  | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| P32C-FR4-type | rd[5]  | rs1[5] | rs2[5]   | vs2 | rs3[5] | vs3 [#fr4]_ | vtp5 | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-
-P32C:
-
-P48:
-
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| Encoding      | 17     | 16     | 15       | 14  | 13     | 12          | 11:7 | 6      | 5:0    |
-+---------------+--------+--------+----------+-----+--------+-------------+------+--------+--------+
-| P32C-CL-type  | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
-| P32C-CS-type  |vitp7[6]| rs1[5] | rs2[5]   | vs2 | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
-| P32C-CR-type  | rd[5]  | rs1[5] | *Rsvd*   | vd  | vs1    | vitp6              | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
-| P32C-CI1-type | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
-| P32C-CI2-type | rd[5]  | *Rsvd* | *Rsvd*   | vd  | *Rsvd* | vitp6              | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
-| P32C-CMv-type | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         | *Rsvd* | 011111 |
-+---------------+--------+--------+----------+-----+--------+--------------------+--------+--------+
++---------------+--------+--------+----------+-----+--------+-------------+------+
+| Encoding      | 17     | 16     | 15       | 14  | 13     | 12          | 11:7 |
++---------------+--------+--------+----------+-----+--------+-------------+------+
+| P32C-LD-type  | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         |
++---------------+--------+--------+----------+-----+--------+-------------+------+
+| P32C-ST-type  |vitp7[6]| rs1[5] | rs2[5]   | vs2 | vs1    | vitp7[5:0]         |
++---------------+--------+--------+----------+-----+--------+-------------+------+
+| P32C-R-type   | rd[5]  | rs1[5] | rs2[5]   | vs2 | vs1    | vitp6              |
++---------------+--------+--------+----------+-----+--------+--------------------+
+| P32C-I-type   | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         |
++---------------+--------+--------+----------+-----+--------+--------------------+
+| P32C-U-type   | rd[5]  | *Rsvd* | *Rsvd*   | vd  | *Rsvd* | vitp6              |
++---------------+--------+--------+----------+-----+--------+-------------+------+
+| P32C-FR-type  | rd[5]  | rs1[5] | rs2[5]   | vs2 | vs1    | *Rsvd*      | vtp5 |
++---------------+--------+--------+----------+-----+--------+-------------+------+
+| P32C-FI-type  | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0]         |
++---------------+--------+--------+----------+-----+--------+-------------+------+
+| P32C-FR4-type | rd[5]  | rs1[5] | rs2[5]   | vs2 | rs3[5] | vs3 [#fr4]_ | vtp5 |
++---------------+--------+--------+----------+-----+--------+-------------+------+
+
+P32C Prefix:
+
++---------------+--------+--------+----------+-----+--------+------------+
+| Encoding      | 31     | 30     | 29       | 28  | 27     | 26:21      |
++---------------+--------+--------+----------+-----+--------+------------+
+| P32C-CL-type  | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0] |
++---------------+--------+--------+----------+-----+--------+------------+
+| P32C-CS-type  |vitp7[6]| rs1[5] | rs2[5]   | vs2 | vs1    | vitp7[5:0] |
++---------------+--------+--------+----------+-----+--------+------------+
+| P32C-CR-type  | rd[5]  | rs1[5] | *Rsvd*   | vd  | vs1    | vitp6      |
++---------------+--------+--------+----------+-----+--------+------------+
+| P32C-CI1-type | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0] |
++---------------+--------+--------+----------+-----+--------+------------+
+| P32C-CI2-type | rd[5]  | *Rsvd* | *Rsvd*   | vd  | *Rsvd* | vitp6      |
++---------------+--------+--------+----------+-----+--------+------------+
+| P32C-CMv-type | rd[5]  | rs1[5] | vitp7[6] | vd  | vs1    | vitp7[5:0] |
++---------------+--------+--------+----------+-----+--------+------------+
+
++-------------+--------+-----------+----------+
+| Encoding    | 31:21  | 20:7      | 6:0      |
++-------------+--------+-----------+----------+
+| P32C RVC-Q0 | P32-*  | RVC[15:2] | OPCODE-0 |
++-------------+--------+-----------+----------+
+| P32C RVC-Q1 | P32-*  | RVC[15:2] | OPCODE-1 |
++-------------+--------+-----------+----------+
+| P32C RVC-Q2 | P32-*  | RVC[15:2] | OPCODE-2 |
++-------------+--------+-----------+----------+
 
 Questions
 =========