From 20c9b737e35671e3b5b53dc95ae0d2a7a28967f1 Mon Sep 17 00:00:00 2001 From: "Paul A. Clarke" Date: Mon, 18 May 2020 13:04:05 -0500 Subject: [PATCH] Add example for vec_cnttz Fixes #59 Signed-off-by: Paul A. Clarke --- Intrinsics_Reference/ch_vec_reference.xml | 188 ++++++++++++++++++++++ 1 file changed, 188 insertions(+) diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index c049ac8..b285686 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -11597,6 +11597,194 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> set to the number of trailing zeros of the corresponding element of a. + An example for input a + of type vector unsigned char follows: + + + + + + + + + + + + + + + + + + + + + + + byte index + + + 0 + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + 8 + + + 9 + + + 10 + + + 11 + + + 12 + + + 13 + + + 14 + + + 15 + + + + + + + a + + + 00 + + + 10 + + + 20 + + + 30 + + + 48 + + + 58 + + + 64 + + + 74 + + + 82 + + + 92 + + + A1 + + + B1 + + + C0 + + + D0 + + + E0 + + + F0 + + + + + r + + + 08 + + + 04 + + + 05 + + + 04 + + + 03 + + + 03 + + + 02 + + + 02 + + + 01 + + + 01 + + + 00 + + + 00 + + + 06 + + + 04 + + + 05 + + + 04 + + + + + + + Endian considerations: None.