Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 962 Bytes

xtheadcondmov.adoc

File metadata and controls

31 lines (23 loc) · 962 Bytes

Conditional move (XTheadCondMov)

Frozen
The XTheadCondMov extension is stable.

The XTheadCondMov ISA extension provides conditional move instructions.

Extension version: 1.0.

The table below gives an overview of the instructions:

RV32 RV64 Mnemonic Instruction

Y

Y

th.mveqz rd, rs1, rs2

[xtheadcondmov-insns-mveqz]

Y

Y

th.mvnez rd, rs1, rs2

[xtheadcondmov-insns-mvnez]

Availability

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