From 1c8b6734ca15fb08e4c94294ed4c63527198db32 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 13 Aug 2019 12:02:01 +0100 Subject: [PATCH] add swizzle pseudocode example --- simple_v_extension/abridged_spec.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/simple_v_extension/abridged_spec.mdwn b/simple_v_extension/abridged_spec.mdwn index 0bab079dd..69c7af8c8 100644 --- a/simple_v_extension/abridged_spec.mdwn +++ b/simple_v_extension/abridged_spec.mdwn @@ -238,10 +238,10 @@ if this occurs. Pseudocode when SUBVL=4 and swizzle is set on rd: # decode the swizzle table entry for rd - x = swizzle[0:1] - y = swizzle[2:3] - z = swizzle[4:5] - w = swizzle[6:7] + x = swizzle[0:1] # sub-element 0 + y = swizzle[2:3] # sub-element 1 + z = swizzle[4:5] # sub-element 2 + w = swizzle[6:7] # sub-element 3 # loop on VL: SUBVL loop is unrolled for (i in 0; i < VL; i++) -- 2.30.2