From 78a2a206d099d604aa7f81777cfd89acc645b1aa Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 14 Oct 2019 15:58:45 +0100 Subject: [PATCH] --- simple_v_extension/vector_ops.mdwn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2