From 4787b5e9fd93608cda04fcbbb5a43af1e7f00e78 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Mon, 18 Jun 2018 16:58:40 -0500 Subject: [PATCH] Updates through vec_sll. Signed-off-by: Bill Schmidt --- Intrinsics_Reference/ch_vec_reference.xml | 368 ++++++++++++++++------ 1 file changed, 264 insertions(+), 104 deletions(-) diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index a52633a..69a0888 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -18342,27 +18342,32 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vec_signede - Vector ... Spelled Out Name TBD + Vector Convert Double-Precision to Signed Word Even - r = vec_signede (ARG1) + r = vec_signede (a) Purpose: - Converts an input vector to a vector of signed integers. - - Result value: The even target elements are obtained by truncating the source elements to signed integers as follows: -Target elements 0 and 2 contain the converted values of the - input vector. + Converts elements of an input vector to signed integers and stores + them in the even-numbered elements of the result vector. + + Result value: Element 0 of + r contains element 0 of a, truncated to a signed integer. Element 2 of + r contains element 1 of a, truncated to a signed integer. 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. Supported type signatures for vec_signede - + + @@ -18372,11 +18377,16 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> - ARG1 + a - Example Implementation + Example LE + Implementation + + + Example BE + Implementation @@ -18389,7 +18399,16 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector double - sample implementation TBD + + xvdvdpsxws t,a + vsldoi r,t,t,12 + + + + + xvdvdpsxws t,a + + @@ -18401,27 +18420,32 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vec_signedo - Vector ... Spelled Out Name TBD + Vector Convert Double-Precision to Signed Word Odd - r = vec_signedo (ARG1) + r = vec_signedo (a) Purpose: - Converts an input vector to a vector of signed integers. - - Result value: The odd target elements are obtained by truncating the source elements to signed integers as follows: -Target elements 1 and 3 contain the converted values of the - input vector. + Converts elements of an input vector to signed integers and stores them + in the odd-numbered elements of the result vector. + + Result value: Element 1 of + r contains element 0 of a, truncated to a signed integer. Element 3 of + r contains element 1 of a, truncated to a signed integer. 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.