diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index 09fdce9..a52478b 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -1223,15 +1223,19 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vec_all_eq - Vector ... Spelled Out Name TBD + Vector All Equal - r = vec_all_eq (ARG1, ARG2) + r = vec_all_eq (a, b) Purpose: - Tests whether all sets of corresponding elements of the given vectors are equal. + Tests whether all pairs of corresponding elements of the given vectors + are equal. - Result value: The result is 1 if each element of ARG1 is equal to the corresponding element of ARG2. Otherwise, the result is 0. + Result value: r is 1 if each + element of a is equal to the + corresponding element of b. Otherwise, + r is 0. Endian considerations: None. @@ -1245,19 +1249,19 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> - + r - + - ARG1 + a - + - ARG2 + b @@ -1277,7 +1281,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector bool char - sample implementation TBD + + vcmpequb. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1291,7 +1299,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed char - sample implementation TBD + + vcmpequb. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1305,7 +1317,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned char - sample implementation TBD + + vcmpequb. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1319,7 +1335,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector bool int - sample implementation TBD + + vcmpequw. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1333,7 +1353,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed int - sample implementation TBD + + vcmpequw. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1347,7 +1371,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned int - sample implementation TBD + + vcmpequw. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1361,7 +1389,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector bool long long - sample implementation TBD + + vcmpequd. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1375,7 +1407,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed long long - sample implementation TBD + + vcmpequd. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1389,7 +1425,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned long long - sample implementation TBD + + vcmpequd. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1403,7 +1443,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector pixel - sample implementation TBD + + vcmpequh. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1417,7 +1461,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector bool short - sample implementation TBD + + vcmpequh. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1431,7 +1479,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed short - sample implementation TBD + + vcmpequh. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1445,7 +1497,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned short - sample implementation TBD + + vcmpequh. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1459,7 +1515,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector double - sample implementation TBD + + xvcmpeqdp. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1473,7 +1533,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector float - sample implementation TBD + + xvcmpeqsp. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1485,15 +1549,20 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vec_all_ge - Vector ... Spelled Out Name TBD + Vector All Greater or Equal - r = vec_all_ge (ARG1, ARG2) + r = vec_all_ge (a, b) Purpose: - Tests whether all elements of the first argument are greater than or equal to the corresponding elements of the second argument. + Tests whether all elements of a are + greater than or equal to the corresponding elements of b. - Result value: The result is 1 if all elements of ARG1 are greater than or equal to the corresponding elements of ARG2. Otherwise, the result is 0. + Result value: r is 1 if each + element of a is greater than or equal + to the corresponding element of b. + Otherwise, r is 0. Endian considerations: None. @@ -1507,19 +1576,19 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> - + r - + - ARG1 + a - + - ARG2 + b @@ -1539,7 +1608,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed char - sample implementation TBD + + vcmpgtsb. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1553,7 +1626,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned char - sample implementation TBD + + vcmpgtub. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1567,7 +1644,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed int - sample implementation TBD + + vcmpgtsw. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1581,7 +1662,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned int - sample implementation TBD + + vcmpgtuw. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1595,7 +1680,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed long long - sample implementation TBD + + vcmpgtsd. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1609,7 +1698,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned long long - sample implementation TBD + + vcmpgtud. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1623,7 +1716,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed short - sample implementation TBD + + vcmpgtsh. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1637,7 +1734,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned short - sample implementation TBD + + vcmpgtuh. t,b,a + mfcr u,2 + rlwinm r,u,27,1 + @@ -1651,7 +1752,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector double - sample implementation TBD + + xvcmpgedp. t,a,b + mfcr u,2 + rlwinm r,u,27,1 + @@ -1665,7 +1770,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector float - sample implementation TBD + + xvcmpgesp. t,a,b + mfcr u,2 + rlwinm r,u,27,1 + @@ -1677,15 +1786,20 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vec_all_gt - Vector ... Spelled Out Name TBD + Vector All Greater Than - r = vec_all_gt (ARG1, ARG2) + r = vec_all_gt (a, b) Purpose: - Tests whether all elements of the first argument are greater than the corresponding elements of the second argument. + Tests whether all elements of a are + greater than the corresponding elements of b. - Result value: The result is 1 if all elements of ARG1 are greater than the corresponding elements of ARG2. Otherwise, the result is 0. + Result value: r is 1 if each + element of a is greater than the + corresponding element of b. Otherwise, + r is 0. Endian considerations: None. @@ -1699,19 +1813,19 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> - + r - + - ARG1 + a - + - ARG2 + b @@ -1731,7 +1845,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed char - sample implementation TBD + + vcmpgtsb. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1745,7 +1863,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned char - sample implementation TBD + + vcmpgtub. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1759,7 +1881,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed int - sample implementation TBD + + vcmpgtsw. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1773,7 +1899,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned int - sample implementation TBD + + vcmpgtuw. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1787,7 +1917,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed long long - sample implementation TBD + + vcmpgtsd. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1801,7 +1935,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned long long - sample implementation TBD + + vcmpgtud. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1815,7 +1953,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector signed short - sample implementation TBD + + vcmpgtsh. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1829,7 +1971,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector unsigned short - sample implementation TBD + + vcmpgtuh. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1843,7 +1989,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector double - sample implementation TBD + + xvcmpgtdp. t,a,b + mfcr u,2 + rlwinm r,u,25,1 + @@ -1857,7 +2007,11 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="section_vec_intrinsics"> vector float - sample implementation TBD + + xvcmpgtsp. t,a,b + mfcr u,2 + rlwinm r,u,25,1 +