From: lkcl Date: Mon, 14 Oct 2019 14:58:45 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~3851 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78a2a206d099d604aa7f81777cfd89acc645b1aa;p=libreriscv.git --- diff --git a/simple_v_extension/vector_ops.mdwn b/simple_v_extension/vector_ops.mdwn index 9ef2fb398..1d1b9e232 100644 --- a/simple_v_extension/vector_ops.mdwn +++ b/simple_v_extension/vector_ops.mdwn @@ -63,6 +63,10 @@ Result is the cross product of x and y. SUBVL must be set to 3, and all regs must be vectors. VL nonzero produces multiple results in vd. +| Instr | result | src1 | src2 | SUBVL | VL | +| ------------------ | ------ | ---- | ---- | ----- | -- | +| VCROSS vd, vs1, vs2 | vec3 | vec3 | vec3 | 3 | any | + The resulting components are, in order: x[1] * y[2] - y[1] * x[2] @@ -93,7 +97,6 @@ Assembler: ## Vector dot product - * VDOT rd, vs1, vs2 Computes the dot product of two vectors. Internal accuracy must be