From 0db620d5df60b47dd619641b0eea51583ff6947f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 4 Aug 2019 07:41:16 +0100 Subject: [PATCH] move FPRSQRT to funct5=01011, rs2=00001 --- rv_major_opcode_1010011.mdwn | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/rv_major_opcode_1010011.mdwn b/rv_major_opcode_1010011.mdwn index 55db98392..a60c00e19 100644 --- a/rv_major_opcode_1010011.mdwn +++ b/rv_major_opcode_1010011.mdwn @@ -75,23 +75,13 @@ funct5 | SDHQ | rs2 | rs1 | funct3 | rd | opcode | | # funct5 = 01011 [[!table data=""" -31..27 | 26..25 | 24..20 |19..15| 14...12| 11..7 | 6....0 | function | -funct5 | SDHQ | rs2 | rs1 | funct3 | rd | opcode | | - 5 | 2 | 5 | 5 | 3 | 5 | 7 | | ------- | ----- | ----- | -----| ----- | ----- | ------- | -------- | -01011 | xx | 00000 | rs1 | yyy | rd | 1010011 | FSQRT.xx | -01011 | xx | rs2!=0 | rs1 | yyy | rd | 1010011 | ?rs2 | -"""]] - -# funct5 = 01111 - -[[!table data=""" -31..27 | 26..25 | 24..20 |19..15| 14...12| 11..7 | 6....0 | function | -funct5 | SDHQ | rs2 | rs1 | funct3 | rd | opcode | | - 5 | 2 | 5 | 5 | 3 | 5 | 7 | | ------- | ----- | ----- | -----| ----- | ----- | ------- | -------- | -01111 | xx | 00000 | rs1 | yyy | rd | 1010011 | FRSQRT.xx | -01111 | xx | rs2!=0 | rs1 | yyy | rd | 1010011 | ?rs2 | +31..27 | 26..25 | 24..20 |19..15| 14...12| 11..7 | 6....0 | function | +funct5 | SDHQ | rs2 | rs1 | funct3 | rd | opcode | | + 5 | 2 | 5 | 5 | 3 | 5 | 7 | | +------ | ----- | ----- | -----| ----- | ----- | ------- | -------- | +01011 | xx | 00000 | rs1 | yyy | rd | 1010011 | FSQRT.xx | +01011 | xx | 00001 | rs1 | yyy | rd | 1010011 | **FRSQRT.xx** | +01011 | xx | rs2!=0 | rs1 | yyy | rd | 1010011 | ?rs2 | """]] # funct5 = 10100 -- 2.30.2