From fa1dc28534718127c94bc5ce2003b342a9ab42e0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 4 Aug 2019 09:11:15 +0100 Subject: [PATCH] move funct5=00100 table --- rv_major_opcode_1010011.mdwn | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/rv_major_opcode_1010011.mdwn b/rv_major_opcode_1010011.mdwn index 0c09dc10d..5852f9aec 100644 --- a/rv_major_opcode_1010011.mdwn +++ b/rv_major_opcode_1010011.mdwn @@ -65,24 +65,6 @@ funct5 | SDHQ | rs2 | rs1 | funct3 | rd | opcode | name | 11111 | xx | rs2 | rs1 | yyy | rd | 1010011 | ? | """]] -## funct5 = 00100 - -This table uses funct3 for encoding 2-operand FP operations - -[[!table data=""" -31..27 | 26..25 | 24..20 |19..15| 14...12| 11..7 | 6....0 | function | -funct5 | SDHQ | rs2 | rs1 | funct3 | rd | opcode | name | - 5 | 2 | 5 | 5 | 3 | 5 | 7 | | -00100 | xx | rs2 | rs1 | 000 | rd | 1010011 | FSGNJ.xx | -00100 | xx | rs2 | rs1 | 001 | rd | 1010011 | FSGNJN.xx | -00100 | xx | rs2 | rs1 | 010 | rd | 1010011 | FSGNJX.xx | -00100 | xx | rs2 | rs1 | 011 | rd | 1010011 | ?f3=011 | -00100 | xx | rs2 | rs1 | 100 | rd | 1010011 | ?f3=100 | -00100 | xx | rs2 | rs1 | 101 | rd | 1010011 | ?f3=101 | -00100 | xx | rs2 | rs1 | 110 | rd | 1010011 | ?f3=110 | -00100 | xx | rs2 | rs1 | 111 | rd | 1010011 | ?f3=111 | -"""]] - ## funct5 = 00000 - FADD No brownfield encodings available. @@ -103,6 +85,24 @@ No brownfield encodings available. Brownfield encodings available. +## funct5 = 00100 + +This table uses funct3 for encoding 2-operand FP operations + +[[!table data=""" +31..27 | 26..25 | 24..20 |19..15| 14...12| 11..7 | 6....0 | function | +funct5 | SDHQ | rs2 | rs1 | funct3 | rd | opcode | name | + 5 | 2 | 5 | 5 | 3 | 5 | 7 | | +00100 | xx | rs2 | rs1 | 000 | rd | 1010011 | FSGNJ.xx | +00100 | xx | rs2 | rs1 | 001 | rd | 1010011 | FSGNJN.xx | +00100 | xx | rs2 | rs1 | 010 | rd | 1010011 | FSGNJX.xx | +00100 | xx | rs2 | rs1 | 011 | rd | 1010011 | ?f3=011 | +00100 | xx | rs2 | rs1 | 100 | rd | 1010011 | ?f3=100 | +00100 | xx | rs2 | rs1 | 101 | rd | 1010011 | ?f3=101 | +00100 | xx | rs2 | rs1 | 110 | rd | 1010011 | ?f3=110 | +00100 | xx | rs2 | rs1 | 111 | rd | 1010011 | ?f3=111 | +"""]] + ## funct5 = 00101 This table uses funct3 for encoding 2-operand FP operations where the result -- 2.30.2