From 7cd2163641f683819415bb0cb9be3f7ab3e5ceaf Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Tue, 12 May 2020 08:03:40 -0500 Subject: [PATCH] Add LE implementations for vec_cnt[tl]z_lsbb Signed-off-by: Bill Schmidt --- Intrinsics_Reference/ch_vec_reference.xml | 579 ++++++++++++++++++++++ 1 file changed, 579 insertions(+) diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index 7eca1e4..1925ca8 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -10891,6 +10891,193 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> set to the number of leading zeros of the corresponding element of a. + An example 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 + + + 03 + + + 02 + + + 02 + + + 01 + + + 01 + + + 01 + + + 01 + + + 00 + + + 00 + + + 00 + + + 00 + + + 00 + + + 00 + + + 00 + + + 00 + + + + + + + Endian considerations: None. @@ -11098,6 +11285,202 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> element) of a that have a least-significant bit of zero. + An example follows: + + + + + + + + + + + + + + + + + + + + + + + + byte index n + + + 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 + + + + + least-significant bit of an + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 1 + + + 1 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + r + + + 0x0A (10) + + + + + + + Endian considerations: The element numbering within a register is left-to-right for big-endian targets, and right-to-left for little-endian @@ -11419,6 +11802,202 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> element) of a that have a least-significant bit of zero. + An example follows: + + + + + + + + + + + + + + + + + + + + + + + + byte index n + + + 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 + + + + + least-significant bit of an + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 1 + + + 1 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + r + + + 0x04 (4) + + + + + + + Endian considerations: The element numbering within a register is left-to-right for big-endian targets, and right-to-left for little-endian