Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.05 KB

xtheadmac.adoc

File metadata and controls

34 lines (29 loc) · 1.05 KB

Multiply-accumulate instructions (XTheadMac)

Frozen
The XTheadMac extension is stable.

The XTheadMac ISA extension provides multiply-accumulate instructions.

The table below gives an overview of the instructions:

RV32 RV64 Mnemonic Instruction

Y

Y

th.mula rd, rs1, rs2

[xtheadmac-insns-mula]

Y

Y

th.mulah rd, rs1, rs2

[xtheadmac-insns-mulah]

N

Y

th.mulaw rd, rs1, rs2

[xtheadmac-insns-mulaw]

Y

Y

th.muls rd, rs1, rs2

[xtheadmac-insns-muls]

Y

Y

th.mulsh rd, rs1, rs2

[xtheadmac-insns-mulsh]

Y

Y

th.mulsw rd, rs1, rs2

[xtheadmac-insns-mulsw]