| Summary: | RISC-V FP Reciprocal (inverse) square root ISA extension needed | ||
|---|---|---|---|
| Product: | Libre-SOC's first SoC | Reporter: | Luke Kenneth Casson Leighton <lkcl> |
| Component: | Specification | Assignee: | Luke Kenneth Casson Leighton <lkcl> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | CC: | libre-soc-bugs, programmerjake |
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| NLnet milestone: | NLnet.2019.02.012 | total budget (EUR) for completion of task and all subtasks: | 0 |
| budget (EUR) for this task, excluding subtasks' budget: | 0 | parent task for budget allocation: | |
| child tasks for budget allocation: | The table of payments (in EUR) for this task; TOML format: | ||
| Bug Depends on: | |||
| Bug Blocks: | 44 | ||
|
Description
Luke Kenneth Casson Leighton
2019-07-12 09:34:01 BST
FRSQRT.S would need to be funct7=0b0111100 FRSQRT.D would need to be funct7=0b0111101 FRSQRT.Q would need to be funct7=0b0111111 FRSQRT.H would need to be funct7=0b0111110 lower 2 bits of funct7 select the bitwidth. upper 5 bits set the function. (edited to use correct funct7 values) +----------+---------+-------+-----+--------+----+---------+ | Mnemonic | funct7 | rs2 | rs1 | funct3 | rd | opcode | +==========+=========+=======+=====+========+====+=========+ | fsqrt.s | 0111100 | 00000 | rs1 | rm | rd | 1010011 | +----------+---------+-------+-----+--------+----+---------+ | fsqrt.d | 0111101 | 00000 | rs1 | rm | rd | 1010011 | +----------+---------+-------+-----+--------+----+---------+ | fsqrt.q | 0111110 | 00000 | rs1 | rm | rd | 1010011 | +----------+---------+-------+-----+--------+----+---------+ | fsqrt.h | 0111111 | 00000 | rs1 | rm | rd | 1010011 | +----------+---------+-------+-----+--------+----+---------+ needed for Power ISA instead |