From abcf5fd283a560308665f381de5199a794fa1273 Mon Sep 17 00:00:00 2001 From: "Paul A. Clarke" Date: Tue, 5 May 2020 05:23:57 -0500 Subject: [PATCH] Add examples for vec_double{e,h,l,o} Fixes #16. Signed-off-by: Paul A. Clarke --- Intrinsics_Reference/ch_vec_reference.xml | 180 ++++++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index 71ae3b8..dd65f8e 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -11627,6 +11627,51 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> the converted values of elements 0 and 2 of a. + An example where a + is of type vector signed int follows: + + + + + + + + + + + + + a + + + 00000001 + + + (ignored) + + + FFFFFFFF + + + (ignored) + + + + + r + + + 1.0 + + + -1.0 + + + + + + + Endian considerations: Differences in element numbering require different implementations for big- and little-endian code generation. @@ -11779,6 +11824,51 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> the converted values of elements 0 and 1 of a. + An example where a + is of type vector signed int follows: + + + + + + + + + + + + + a + + + 00000001 + + + FFFFFFFF + + + (ignored) + + + (ignored) + + + + + r + + + 1.0 + + + -1.0 + + + + + + + Endian considerations: Differences in element numbering require different implementations for big- and little-endian code generation. @@ -11937,6 +12027,51 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> the converted values of elements 2 and 3 of a. + An example where a + is of type vector signed int follows: + + + + + + + + + + + + + a + + + (ignored) + + + (ignored) + + + 00000001 + + + FFFFFFFF + + + + + r + + + 1.0 + + + -1.0 + + + + + + + Endian considerations: Differences in element numbering require different implementations for big- and little-endian code generation. @@ -12095,6 +12230,51 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> the converted values of elements 1 and 3 of a. + An example where a + is of type vector signed int follows: + + + + + + + + + + + + + a + + + (ignored) + + + 00000001 + + + (ignored) + + + FFFFFFFF + + + + + r + + + 1.0 + + + -1.0 + + + + + + + Endian considerations: Differences in element numbering require different implementations for big- and little-endian code generation.