From: lkcl Date: Sun, 30 Jun 2019 09:04:14 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~4324 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73d048db820d4fb3773888df4724f1092d0260be;p=libreriscv.git --- diff --git a/simple_v_extension/sv_prefix_proposal/discussion.rst b/simple_v_extension/sv_prefix_proposal/discussion.rst index 877a7b51f..00f70e34b 100644 --- a/simple_v_extension/sv_prefix_proposal/discussion.rst +++ b/simple_v_extension/sv_prefix_proposal/discussion.rst @@ -12,16 +12,27 @@ Taking an entire major 32 bit opcode (or two) seems logical (RV128 space). I typ Or, just "to hell with it" and just take the entire opcode and stuff C into it, no regard for R/I/U/S and instead do whatever we like. -| 15 14 13 | 12 | 11 10 9 8 7 | 6 5 4 3 2 | 1 0 - funct4 rd/rs1 rs2 op -funct3 imm rd/rs1 imm op -funct3 imm rs2 op -funct3 imm rd ′ op -funct3 imm rs1 ′ imm rd ′ op -funct3 imm rs1 ′ imm rs2 ′ op - funct6 rd ′ /rs1 ′ funct2 rs2 ′ op -funct3 offset rs1 ′ offset op -funct3 jump target op ++----------+------+---------------------+---------------------+-------+ +| 15 14 13 | 12 | 11 10 9 8 7 | 6 5 4 3 2 | 1 0 | ++----------+------+---------------------+---------------------+-------+ +| funct4 | rd/rs1 | rs2 | op | ++----------+------+---------------------+---------------------+-------+ +|funct3 | imm | rd/rs1 | imm | op | ++----------+------+---------------------+---------------------+-------+ +|funct3 | imm | rs2 | op | ++----------+----------------------------+---------+-----------+-------+ +|funct3 | imm | rd' | op | ++----------+----------------------------+---------+-----------+-------+ +|funct3 | imm | rs1' | imm | rd' | op | ++----------+----------------+-----------+---------+-----------+-------+ +|funct3 | imm | rs1' | imm | rs2' | op | ++----------+----------------+-----------+---------+-----------+-------+ +| funct6 | rd'/rs1' | funct2 | rs2' | op | ++----------+----------------+-----------+---------+-----------+-------+ +|funct3 | offset | rs1' | offset | op | ++----------+----------------+-----------+---------------------+-------+ +|funct3 | jump target | op | ++----------+--------------------------------------------------+-------+ Questions =========