Commit Graph

128 Commits (03b142e07a93a4b0a2d1e7827e122227116022cf)

Author SHA1 Message Date
Bill Schmidt 03b142e07a Address a few review comments from Will Schmidt. 3 years ago
Bill Schmidt 49e3ac00e5 Various updates 3 years ago
Bill Schmidt c8feea2569 Many more P10 updates
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt 16a91014e0 Fix up cross-reference to Fortran data types table.
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt 06943c54cc Add missing MMA instructions
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt 446b6227cf Fix issue #74 problems with vec_cpsgn
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt d61bb0f96a Fix issue #75 with vec_round
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt 81e159f662 Comply with latest branding guidelines
Also includes a few fixes for comments from Paul Clarke.

Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt 321ac9e713 Incorporate changes following Paul Clarke's admirable review
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt ae4cd5ccc6 Publish the PVIPR Errara; corrections to PVIPR 2.0 draft
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
3 years ago
Bill Schmidt c5fee541fb Add vec_stri[lr]_p
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt c51f95c61b Miscellaneous updates
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt f766c63456 Update endian-sensitive builtins table
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt dd66bbd6c0 Introduce "build" interfaces for MMA
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt b1151856bb Fix issue #66
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt bce1abd913 Fix issue #72
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt c62808ced9 Address issue #70
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt 469f5267c5 Cleanups; also address issue #64.
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt f821556104 Add MMA chapter
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt a1b4a3c084 Finish first draft of V3.1 builtins added to chapter 4.
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt fd3dfb21e2 Document built-ins for RFC 2613.
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt 98c2d19534 Completed draft work for RFC 2608
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt 2fb400dd56 Partial implementation of RFC 2608, not yet reviewed
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt 5f420b5f84 Partial implementation of RFC 2608, not yet reviewed
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt ece58121d7 Incorporate errata for "signed long" offsets
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Jinsong Ji 685961196f Rebase to v2 4 years ago
Bill Schmidt abfbfce8c5 Review changes related to RFC 2602
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt dedea3224e Changes for RFC 2602, Vector Integer Multiply-Divide-Modulo
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt dece59320c Create workgroup draft with annotations of necessary changes.
Signed-off-by:  Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt a20ef9da2b Prepare for final publication
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt 9fe273cabd Add empty subtitle to avoid weird artifact in HTML header
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
4 years ago
Bill Schmidt c2df43b6e1 vec_gb doesn't have endian considerations
Fixes #60.

Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
5 years ago
Paul Clarke 20c9b737e3 Add example for vec_cnttz
Fixes #59

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Bill Schmidt 4a2bfc428e Set document to 1.0.0_prd3
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
5 years ago
Paul Clarke db465c1266 Change references to intrinsics into links
Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke 3f20e7da56 Add examples for vec_unpack[hl]
Fixes #28.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke 73fc82ce13 Consistently specify type of input in examples
Change occurrences of "An example follows" to
"An example for input _i_ of type _t_ follows",
in cases where an intrinsic has more than one possible input type.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke 8495713af8 Add example for `vec_re`
Fixes #21.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke 2aa416198a Add example for `vec_parity_lsbb`
Fixes #19.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke 0d686a2a8f Add examples for "match" intrinsics
Add examples for
- `vec_first_match_index`
- `vec_first_match_index_or_eos`
- `vec_first_mismatch_index`
- `vec_first_mismatch_index_or_eos`

Also, `vec_first_match_index` implmentations in this document and
in GCC were behaving like `vec_first_match_or_eos_index`.
Correct this document.  GCC PR94833 was already opened.

Fixes #18.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Bill Schmidt 7cd2163641 Add LE implementations for vec_cnt[tl]z_lsbb
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
5 years ago
Bill Schmidt af84de2d55 Add LE implementations for vec_cnt[tl]z_lsbb
Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
5 years ago
Paul Clarke c78c224df0 Clarify content regarding operators
- Explicitly mention that there are no default conversions.
- Clarify that binary operations are on like types.
- Clarify requirements for the ternary operator and add an example.

Asserting that the clarified content is clear enough,
Fixes #11.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke a87ff8bd02 Add example initializer for vector __int128
Since there isn't a straightforward way of initializing `__int128` type
variables, provide an example for initializing `vector __int128` here.

Fixes #10.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke 8ca90e8fd6 Add example for vec_bperm
vec_bperm is a challenge for showing an example using just tables,
but I've made an attempt.

Three tables are used:
- The values of the input vectors *a* and *b*.
- A zoomed in view of the last two bytes of *a* and the bit
  manipulations therein that leads to the intermediate result.
- The result vector *r*.

Only one example has been provided, but it's getting big.

Fixes #14.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Paul Clarke 4a1a0f6613 Add headers for new examples
In the absence of sufficient context, the new examples added to:
- vec_double{e,h,l,o}
- vec_permxor
- vec_pmsum_be
- vec_slv
- vec_srv
- vec_sum2s
- vec_sum4s
- vec_sums
- vec_unsigned{e,o}
may appear to be strictly big-endian.

Add headers to these examples showing the element indicies,
which hopefully provides sufficient context.

Fixes #44.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Bill Schmidt f754baafa3 Fix description of vec_bperm
Fixes #47.

Signed-off-by: Bill Schmidt <wschmidt@linux.ibm.com>
5 years ago
Paul Clarke b3e24f0f1b Add examples for vec_extract_fp32_from_short{h,l}
Also added table headers to more clearly indicate element ordering.

Fixes #17.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago
Bill Schmidt 5945421289 Fix code generation for vec_pack_to_short_fp32
Fixes #45.
5 years ago
Paul Clarke abcf5fd283 Add examples for vec_double{e,h,l,o}
Fixes #16.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
5 years ago