SFPMUL
tenstorrent_tt_isa)Tenstorrent Wormhole B0 & Blackhole A0
main
userTensix, Vector Unit, BlackholeA0, WormholeB0Summary
Identical to SFPMAD, but is the preferred opcode when VC == 9, as this causes the computation to be lanewise FP32 VD = VA * VB + 0 (see the definition of [LReg[9]](LReg.md)). Do not use this instruction unless VC == 9; use SFPMAD instead for other cases.
Syntax / Encoding
TT_SFPMUL(/* u4 */ VA, /* u4 */ VB, /* u4 */ VC, /* u4 */ VD, /* u4 */ Mod1)
Binary Encodings (1)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | Tensix-32b | 10000110xxxxxxxxxxxxxxxxxxxxxxxx | 0xff000000 / 0x86000000 |
Operands
| Name | Description |
|---|---|
VA | |
VB | |
VC | |
VD | |
Mod1 |
Reference Notes
# `SFPMUL` (Vectorized floating-point multiply) **Summary:** Identical to [`SFPMAD`](SFPMAD.md), but is the preferred opcode when `VC == 9`, as this causes the computation to be lanewise FP32 `VD = VA * VB + 0` (see the definition of [`LReg[9]`](LReg.md)). Do not use this instruction unless `VC == 9`; use `SFPMAD` instead for other cases. **Backend execution unit:** [Vector Unit (SFPU)](VectorUnit.md), MAD sub-unit ## Syntax ```c TT_SFPMUL(/* u4 */ VA, /* u4 */ VB, /* u4 */ VC, /* u4 */ VD, /* u4 */ Mod1) ``` ## Encoding  ## Functional model As per [`SFPMAD`](SFPMAD.md#functional-model). ## IEEE754 conformance / divergence As per [`SFPMAD`](SFPMAD.md#ieee754-conformance--divergence). ## Instruction scheduling If `SFPMUL` is used, software must ensure that on the next cycle, the Vector Unit (SFPU) does not execute an instruction which reads from any location written to by the `SFPMUL`. An [`SFPNOP`](SFPNOP.md) instruction can be inserted to ensure this.