From 65d43e624a92de66123eca0e9cc7e284545202ba Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 30 Jun 2019 11:41:46 +0100 Subject: [PATCH] --- .../sv_prefix_proposal/discussion.rst | 86 ++++++++++--------- 1 file changed, 47 insertions(+), 39 deletions(-) diff --git a/simple_v_extension/sv_prefix_proposal/discussion.rst b/simple_v_extension/sv_prefix_proposal/discussion.rst index 0bbb5f8a2..26b4503f9 100644 --- a/simple_v_extension/sv_prefix_proposal/discussion.rst +++ b/simple_v_extension/sv_prefix_proposal/discussion.rst @@ -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 ========= -- 2.30.2