diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index 7fdcff8..4d31864 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -11627,51 +11627,6 @@ 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. @@ -11824,51 +11779,6 @@ 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. @@ -12027,51 +11937,6 @@ 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. @@ -12230,51 +12095,6 @@ 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. @@ -13388,6 +13208,130 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> interpreted as 16-bit floating-point numbers in IEEE format, and extended to single-precision format, returning a vector with four single-precision IEEE numbers. + An example follows: + + + + + + + + + + + + + + + + + + + halfword index + + + 0 + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + + + word index + + + 0 + + + 1 + + + 2 + + + 3 + + + + + + + a + + + 3800 + (0.5) + + + 4200 + (3.0) + + + 4700 + (7.0) + + + 4B80 + (15.0) + + + 4FC0 + (31.0) + + + 53E0 + (63.0) + + + 57F0 + (127.0) + + + 5BF8 + (255.0) + + + + + r + + + 0.5 + + + 3.0 + + + 7.0 + + + 15.0 + + + + + + + Endian considerations: The element numbering within a register is left-to-right for big-endian targets, and right-to-left for little-endian targets. @@ -13489,6 +13433,130 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> interpreted as 16-bit floating-point numbers in IEEE format, and extended to single-precision format, returning a vector with four single-precision IEEE numbers. + An example follows: + + + + + + + + + + + + + + + + + + + halfword index + + + 0 + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + + + word index + + + 0 + + + 1 + + + 2 + + + 3 + + + + + + + a + + + 3800 + (0.5) + + + 4200 + (3.0) + + + 4700 + (7.0) + + + 4B80 + (15.0) + + + 4FC0 + (31.0) + + + 53E0 + (63.0) + + + 57F0 + (127.0) + + + 5BF8 + (255.0) + + + + + r + + + 31.0 + + + 63.0 + + + 127.0 + + + 255.0 + + + + + + + Endian considerations: The element numbering within a register is left-to-right for big-endian targets, and right-to-left for little-endian targets. @@ -23578,16 +23646,16 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> - xvcvsphp t,a - xvcvsphp u,b - vpkuwum r,t,u + vctuxs t,a,0 + vctuxs u,b,0 + vpkswss r,u,t - xvcvsphp t,a - xvcvsphp u,b - vpkuwum r,u,t + vctuxs t,a,0 + vctuxs u,b,0 + vpkswss r,t,u