Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 2.06 KB

xtheadfmemidx.adoc

File metadata and controls

54 lines (45 loc) · 2.06 KB

Indexed memory operations for floating-point registers (XTheadFMemIdx)

Frozen
The XTheadFMemIdx extension is stable.

The XTheadFMemIdx ISA extension provides indexed memory operations for floating-point registers.

Extension version: 1.0.

The table below gives an overview of the instructions:

RV32 RV64 F D Mnemonic Instruction

Y

Y

N

Y

th.flrd rd, rs1, rs2, imm2

[xtheadfmemidx-insns-flrd]

Y

Y

Y

Y

th.flrw rd, rs1, rs2, imm2

[xtheadfmemidx-insns-flrw]

N

Y

N

Y

th.flurd rd, rs1, rs2, imm2

[xtheadfmemidx-insns-flurd]

N

Y

Y

Y

th.flurw rd, rs1, rs2, imm2

[xtheadfmemidx-insns-flurw]

Y

Y

N

Y

th.fsrd rd, rs1, rs2, imm2

[xtheadfmemidx-insns-fsrd]

Y

Y

Y

Y

th.fsrw rd, rs1, rs2, imm2

[xtheadfmemidx-insns-flrw]

N

Y

N

Y

th.fsurd rd, rs1, rs2, imm2

[xtheadfmemidx-insns-fsurd]

N

Y

Y

Y

th.fsurw rd, rs1, rs2, imm2

[xtheadfmemidx-insns-flurw]

The first four columns show the requirements of the instructions. E.g. th.flurd is only available on harts that implement the rv64i base and the D double-precision floating-point extensions.

Availability

The XTheadFMemIdx extension’s availability can be probed via the th.sxstatus.THEADISAEE bit (bit 22). The XTheadFMemIdx extension is available if and only if this bit is 1. Refer to [xtheadsxstatus] for more information about the th.sxstatus CSR.