Skip to content

V.DIV

64-bit V. **Group:** Division  |  Ch 20   VEC — Vector / SIMD Execution (lx64)  |  **Length:** 64  |  **Decode:**

Assembly Syntax

  • v.div SrcL, SrcR, ->Dst

Encoding

V.DIV encoding
Bitfield encoding diagram. MSB is on the left, LSB on the right.

Description

[64-bit V.] Signed integer division.

Pseudocode (informative)

rd = (rs2 != 0) ? (rs1 / rs2) : 0;

Encoding Notes

No additional encoding notes.

Full Catalog Forms

Assembly Length Decode
v.div SrcL, SrcR, ->Dst 64
← [Division](../groups/division.md)    [Index](../index.md)    [All instructions](index.md) →