From ac1fff4e6b79b7c9c700a6c766c435c2fe165402 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 5 Oct 2019 10:21:17 +0100 Subject: [PATCH] --- simple_v_extension/vector_ops.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) 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. -- 2.30.2