From: lkcl Date: Sat, 5 Oct 2019 09:21:17 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~3897 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac1fff4e6b79b7c9c700a6c766c435c2fe165402;p=libreriscv.git --- diff --git a/simple_v_extension/vector_ops.mdwn b/simple_v_extension/vector_ops.mdwn index b54730a03..e45b9642f 100644 --- a/simple_v_extension/vector_ops.mdwn +++ b/simple_v_extension/vector_ops.mdwn @@ -97,6 +97,15 @@ Pseudocode: vec3 p = t3 * t4; vec3 cross = t1 * t2 - p; +Assembler: + + fpermute,2130 F4, F1 + fpermute,1320 F5, F1 + fpermute,2130 F6, F2 + fpermute,1320 F7, F2 + fmul F8, F5, F6 + fmulsub F3, F4, F7, F8 + ## Vector dot product * SUBVL ignored on rd. SUBVL=2,3,4 vs1,vs2, if all vectors, multiple results generated. If rd scalar, only first (unpredicated) SUBVector is used.