From 59daa67ca0f5cbe163835b9bc702d318043a0cf0 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 | 48 ++++++++++++++++++++--- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index 306d64b..7eca1e4 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -11099,7 +11099,9 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> least-significant bit of zero. Endian considerations: - None. + The element numbering within a register is left-to-right for + big-endian targets, and right-to-left for little-endian + targets. @@ -11109,11 +11111,12 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> Supported type signatures for vec_cntlz_lsbb - + + @@ -11128,7 +11131,12 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> - Example Implementation + Example BE Implementation + + + + + Example LE Implementation @@ -11151,6 +11159,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> vclzlsbb r,a + + + vctzlsbb r,a + + ISA 3.0 or later @@ -11167,6 +11180,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> vclzlsbb r,a + + + vctzlsbb r,a + + ISA 3.0 or later @@ -11402,7 +11420,9 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> least-significant bit of zero. Endian considerations: - None. + The element numbering within a register is left-to-right for + big-endian targets, and right-to-left for little-endian + targets. @@ -11412,11 +11432,12 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref">
Supported type signatures for vec_cnttz_lsbb - + + @@ -11431,7 +11452,12 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> - Example Implementation + Example BE Implementation + + + + + Example LE Implementation @@ -11454,6 +11480,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> vctzlsbb r,a + + + vclzlsbb r,a + + ISA 3.0 or later @@ -11470,6 +11501,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> vctzlsbb r,a + + + vclzlsbb r,a + + ISA 3.0 or later