[object Object][object Object][object Object]undefined
[object Object]

Converts the float type to the fp8_e4m3fn_t type, supporting the RINT rounding mode.

Based on the magnitude of the input data, the operation is divided into non-saturation mode and saturation mode.

  • Non-saturation mode:
    • When the input data exceeds the maximum or minimum value of the output type, the corresponding signed inf value of the output type is returned.
    • When the input data is +/-inf, +/-inf is returned.
    • When the input data is nan, nan is returned.
  • Saturation mode:
    • When the input data exceeds the maximum or minimum value of the output type, the corresponding maximum or minimum value of the output type is returned.
    • When the input data is +/-inf, the corresponding maximum or minimum value of the output type is returned.
    • When the input data is nan, 0 is returned.

Since the bit-width ratio of the source operand type to the destination operand type is 4:1, when writing data, the data of one VL size needs to be divided into four parts, and index 0, index 1, index 2, or index 3 is selected according to different interfaces.

[object Object]
[object Object]
[object Object][object Object]undefined

For detailed descriptions of vector data registers and mask registers, see .

[object Object]

None

[object Object]

PIPE_V

[object Object]
  • To enable the saturation mode and non-saturation mode, the ctrl register must be configured. For detailed descriptions of the ctrl register, see .
[object Object]
[object Object]