Frozen
|
The XTheadMemIdx extension is stable .
|
The XTheadMemIdx
ISA extension provides indexed memory operations.
for GP registers.
Extension version: 1.0.
The table below gives an overview of the instructions:
RV32 | RV64 | Mnemonic | Instruction |
---|---|---|---|
Y |
Y |
th.lbia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lbib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lbuia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lbuib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lhia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lhib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lhuia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lhuib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lwia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lwib rd, (rs1), imm5, imm2 |
|
N |
Y |
th.lwuia rd, (rs1), imm5, imm2 |
|
N |
Y |
th.lwuib rd, (rs1), imm5, imm2 |
|
N |
Y |
th.ldia rd, (rs1), imm5, imm2 |
|
N |
Y |
th.ldib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.sbia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.sbib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.shia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.shib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.swia rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.swib rd, (rs1), imm5, imm2 |
|
N |
Y |
th.sdia rd, (rs1), imm5, imm2 |
|
N |
Y |
th.sdib rd, (rs1), imm5, imm2 |
|
Y |
Y |
th.lrb rd, rs1, rs2, imm2 |
|
Y |
Y |
th.lrbu rd, rs1, rs2, imm2 |
|
Y |
Y |
th.lrh rd, rs1, rs2, imm2 |
|
Y |
Y |
th.lrhu rd, rs1, rs2, imm2 |
|
Y |
Y |
th.lrw rd, rs1, rs2, imm2 |
|
N |
Y |
th.lrwu rd, rs1, rs2, imm2 |
|
N |
Y |
th.lrd rd, rs1, rs2, imm2 |
|
Y |
Y |
th.srb rd, rs1, rs2, imm2 |
|
Y |
Y |
th.srh rd, rs1, rs2, imm2 |
|
Y |
Y |
th.srw rd, rs1, rs2, imm2 |
|
N |
Y |
th.srd rd, rs1, rs2, imm2 |
|
N |
Y |
th.lurb rd, rs1, rs2, imm2 |
|
N |
Y |
th.lurbu rd, rs1, rs2, imm2 |
|
N |
Y |
th.lurh rd, rs1, rs2, imm2 |
|
N |
Y |
th.lurhu rd, rs1, rs2, imm2 |
|
N |
Y |
th.lurw rd, rs1, rs2, imm2 |
|
N |
Y |
th.lurwu rd, rs1, rs2, imm2 |
|
N |
Y |
th.lurd rd, rs1, rs2, imm2 |
|
N |
Y |
th.surb rd, rs1, rs2, imm2 |
|
N |
Y |
th.surh rd, rs1, rs2, imm2 |
|
N |
Y |
th.surw rd, rs1, rs2, imm2 |
|
N |
Y |
th.surd rd, rs1, rs2, imm2 |
The XTheadMemIdx
extension’s availability can be probed via the
th.sxstatus
.THEADISAEE bit (bit 22).
The XTheadMemIdx
extension is available if and only if this bit is 1
.
Refer to [xtheadsxstatus] for more information about the th.sxstatus
CSR.
xtheadmemidx/lbia.adoc <<< xtheadmemidx/lbib.adoc <<< xtheadmemidx/lbuia.adoc <<< xtheadmemidx/lbuib.adoc <<< xtheadmemidx/lhia.adoc <<< xtheadmemidx/lhib.adoc <<< xtheadmemidx/lhuia.adoc <<< xtheadmemidx/lhuib.adoc <<< xtheadmemidx/lwia.adoc <<< xtheadmemidx/lwib.adoc <<< xtheadmemidx/lwuia.adoc <<< xtheadmemidx/lwuib.adoc <<< xtheadmemidx/ldia.adoc <<< xtheadmemidx/ldib.adoc <<< xtheadmemidx/sbia.adoc <<< xtheadmemidx/sbib.adoc <<< xtheadmemidx/shia.adoc <<< xtheadmemidx/shib.adoc <<< xtheadmemidx/swia.adoc <<< xtheadmemidx/swib.adoc <<< xtheadmemidx/sdia.adoc <<< xtheadmemidx/sdib.adoc <<< xtheadmemidx/lrb.adoc <<< xtheadmemidx/lrbu.adoc <<< xtheadmemidx/lrh.adoc <<< xtheadmemidx/lrhu.adoc <<< xtheadmemidx/lrw.adoc <<< xtheadmemidx/lrwu.adoc <<< xtheadmemidx/lrd.adoc <<< xtheadmemidx/srb.adoc <<< xtheadmemidx/srh.adoc <<< xtheadmemidx/srw.adoc <<< xtheadmemidx/srd.adoc <<< xtheadmemidx/lurb.adoc <<< xtheadmemidx/lurbu.adoc <<< xtheadmemidx/lurh.adoc <<< xtheadmemidx/lurhu.adoc <<< xtheadmemidx/lurw.adoc <<< xtheadmemidx/lurwu.adoc <<< xtheadmemidx/lurd.adoc <<< xtheadmemidx/surb.adoc <<< xtheadmemidx/surh.adoc <<< xtheadmemidx/surw.adoc <<< xtheadmemidx/surd.adoc