Browse Source

Cleanups; also address issue #64.

Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
master
Bill Schmidt 2 years ago
parent
commit
469f5267c5
  1. 4
      Intrinsics_Reference/ch_mma_reference.xml
  2. 243
      Intrinsics_Reference/ch_vec_reference.xml

4
Intrinsics_Reference/ch_mma_reference.xml

@ -32,6 +32,10 @@ @@ -32,6 +32,10 @@
functions to access these instructions are described in this
chapter.
</para>
<para>
<emphasis role="bold">Review status:</emphasis> This chapter is
not yet reviewed by anyone.
</para>
</section>

<section>

243
Intrinsics_Reference/ch_vec_reference.xml

@ -27472,6 +27472,10 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> @@ -27472,6 +27472,10 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref">
<para><emphasis role="bold">Endian considerations:</emphasis>
None.
</para>
<para revisionflag="added">
<emphasis role="bold">Endian considerations:</emphasis>
Changes not yet reviewed.
</para>
<indexterm>
<primary>vmsummbm</primary>
@ -27489,6 +27493,10 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> @@ -27489,6 +27493,10 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref">
<primary>vmsumuhm</primary>
<secondary>vec_msum</secondary>
</indexterm>
<indexterm>
<primary>vmsumudm</primary>
<secondary>vec_msum</secondary>
</indexterm>

<table frame="all">
<title>Supported type signatures for vec_msum</title>
@ -27602,6 +27610,44 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> @@ -27602,6 +27610,44 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref">
</programlisting>
</entry>
</row>
<row revisionflag="added">
<entry align="center" valign="middle">
<para>vector signed __int128</para>
</entry>
<entry align="center" valign="middle">
<para>vector signed long long</para>
</entry>
<entry align="center" valign="middle">
<para>vector signed long long</para>
</entry>
<entry align="center" valign="middle">
<para>vector signed __int128</para>
</entry>
<entry>
<programlisting>
vmsumudm r,a,b,c
</programlisting>
</entry>
</row>
<row revisionflag="added">
<entry align="center" valign="middle">
<para>vector unsigned __int128</para>
</entry>
<entry align="center" valign="middle">
<para>vector unsigned long long</para>
</entry>
<entry align="center" valign="middle">
<para>vector unsigned long long</para>
</entry>
<entry align="center" valign="middle">
<para>vector unsigned __int128</para>
</entry>
<entry>
<programlisting>
vmsumudm r,a,b,c
</programlisting>
</entry>
</row>
</tbody>
</tgroup>
</table>
@ -44179,203 +44225,6 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref"> @@ -44179,203 +44225,6 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="VIPR.vec-ref">
</section>
<?hard-pagebreak?>

<section xml:id="vec_stril_p" revisionflag="added">
<title>vec_stril_p</title>
<subtitle>Vector String Isolate Left-Justified (Predicate)</subtitle>
<programlisting>
r = vec_stril_p (a)
</programlisting>

<para><emphasis role="bold">Purpose:</emphasis>
Returns a nonzero value if and only if the input vector contains
at least one zero element.
</para>
<para><emphasis role="bold">Result value:</emphasis>
<emphasis role="bold">r</emphasis> contains a nonzero value if
and only if <emphasis role="bold">a</emphasis> contains at least
one nonzero value.
</para>
<para><emphasis role="bold">Endian considerations:</emphasis>
None.
</para>
<para><emphasis role="bold">Notes:</emphasis>
I suggest renaming this to <code>vec_any_zero</code>, and not
having <code>vec_strir_p</code>.
</para>
<para><emphasis role="bold">Review status:</emphasis>
Not yet reviewed.
</para>
<indexterm>
<primary>vstribr</primary>
<secondary>vec_stril_p</secondary>
</indexterm>
<indexterm>
<primary>vstribl</primary>
<secondary>vec_stril_p</secondary>
</indexterm>
<indexterm>
<primary>vstrihr</primary>
<secondary>vec_stril_p</secondary>
</indexterm>
<indexterm>
<primary>vstrihl</primary>
<secondary>vec_stril_p</secondary>
</indexterm>
<indexterm>
<primary>mfocrf</primary>
<secondary>vec_stril_p</secondary>
</indexterm>
<indexterm>
<primary>rlwinm</primary>
<secondary>vec_stril_p</secondary>
</indexterm>

<table frame="all">
<title>Supported type signatures for vec_stril_p</title>
<tgroup cols="5">
<colspec colname="c1" colwidth="20*" />
<colspec colname="c2" colwidth="20*" />
<colspec colname="c3" colwidth="20*" />
<colspec colname="c4" colwidth="20*" />
<colspec colname="c5" colwidth="20*" />
<thead>
<row>
<entry align="center" valign="middle">
<para>
<emphasis role="bold">r</emphasis>
</para>
</entry>
<entry align="center" valign="middle">
<para>
<emphasis role="bold">a</emphasis>
</para>
</entry>
<entry align="center" valign="middle">
<para>
<emphasis role="bold">Example LE Implementation</emphasis>
</para>
</entry>
<entry align="center" valign="middle">
<para>
<emphasis role="bold">Example BE Implementation</emphasis>
</para>
</entry>
<entry align="center" valign="middle">
<para>
<emphasis role="bold">Restrictions</emphasis>
</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry align="center" valign="middle">
<para>vector unsigned char</para>
</entry>
<entry align="center" valign="middle">
<para>vector unsigned char</para>
</entry>
<entry>
<programlisting>
vstribr. t,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry>
<programlisting>
vstribl. r,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry align="center" valign="middle">
<para>ISA 3.1 or later</para>
</entry>
</row>
<row>
<entry align="center" valign="middle">
<para>vector signed char</para>
</entry>
<entry align="center" valign="middle">
<para>vector signed char</para>
</entry>
<entry>
<programlisting>
vstribr. r,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry>
<programlisting>
vstribl. r,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry align="center" valign="middle">
<para>ISA 3.1 or later</para>
</entry>
</row>
<row>
<entry align="center" valign="middle">
<para>vector unsigned short</para>
</entry>
<entry align="center" valign="middle">
<para>vector unsigned short</para>
</entry>
<entry>
<programlisting>
vstrihr. r,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry>
<programlisting>
vstrihl. r,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry align="center" valign="middle">
<para>ISA 3.1 or later</para>
</entry>
</row>
<row>
<entry align="center" valign="middle">
<para>vector signed short</para>
</entry>
<entry align="center" valign="middle">
<para>vector signed short</para>
</entry>
<entry>
<programlisting>
vstrihr. r,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry>
<programlisting>
vstrihl. r,a
mfocrf u,2
rlwinm r,u,25,1
</programlisting>
</entry>
<entry align="center" valign="middle">
<para>ISA 3.1 or later</para>
</entry>
</row>
</tbody>
</tgroup>
</table>

</section>
<?hard-pagebreak?>

<section xml:id="vec_strir" revisionflag="added">
<title>vec_strir</title>
<subtitle>Vector String Isolate Right-Justified</subtitle>

Loading…
Cancel
Save