diff --git a/Intrinsics_Reference/bk_main.xml b/Intrinsics_Reference/bk_main.xml index d54a28e..90285c5 100644 --- a/Intrinsics_Reference/bk_main.xml +++ b/Intrinsics_Reference/bk_main.xml @@ -1,6 +1,6 @@ - - + + + diff --git a/Intrinsics_Reference/ch_biendian.xml b/Intrinsics_Reference/ch_biendian.xml new file mode 100644 index 0000000..cd8e808 --- /dev/null +++ b/Intrinsics_Reference/ch_biendian.xml @@ -0,0 +1,43 @@ + + + + + The Power Bi-Endian Programming Model + +
+ Purpose + filler +
+ +
+ Examples + filler +
+ +
+ Limitations + + vec_sld + + + vec_perm + +
+ +
diff --git a/Intrinsics_Reference/ch_intro.xml b/Intrinsics_Reference/ch_intro.xml new file mode 100644 index 0000000..68b439d --- /dev/null +++ b/Intrinsics_Reference/ch_intro.xml @@ -0,0 +1,38 @@ + + + + + Introduction to Vector Programming on Power + +
+ A Brief History + filler +
+ +
+ The Unified Vector Register Set + filler +
+ +
+ Useful Links + filler +
+ +
diff --git a/Intrinsics_Reference/ch_isa_intrin_xref.xml b/Intrinsics_Reference/ch_isa_intrin_xref.xml index 663f791..54cc2b8 100644 --- a/Intrinsics_Reference/ch_isa_intrin_xref.xml +++ b/Intrinsics_Reference/ch_isa_intrin_xref.xml @@ -1,5 +1,5 @@ + + + + Vector Programming Techniques + +
+ Help the Compiler Help You + + Start with scalar code, which is the most portable. Use various + tricks for helping the compiler vectorize scalar code. Make + sure you align your data on 16-byte boundaries wherever + possible, and tell the compiler it's aligned. Use __restrict__ + pointers to promise data does not alias. + +
+ +
+ Use Portable Intrinsics + + Individual compilers may provide other intrinsic support. Only + the intrinsics in this manual are guaranteed to be portable + across compliant compilers. + + + Some compilers may provide compatibility headers for use with + other architectures. Recent GCC and Clang compilers support + compatibility headers for the lower levels of the x86 vector + architecture. These can be used initially for ease of porting, + but for best performance, it is preferable to rewrite important + sections of code with native Power intrinsics. + +
+ +
+ Use Assembly Code Sparingly + filler +
+ +
diff --git a/Intrinsics_Reference/ch_vec_reference.xml b/Intrinsics_Reference/ch_vec_reference.xml index 9966981..01e54f8 100644 --- a/Intrinsics_Reference/ch_vec_reference.xml +++ b/Intrinsics_Reference/ch_vec_reference.xml @@ -1,5 +1,5 @@ Vector Intrinsic Reference - Some front matter should go here, describing conventions - used throughout the chapter. - +
+ How to Use This Reference + + Brief description of the format of the entries, the cross-reference + index, and so forth. + +
+ +
Built-In Vector Functions - Some front matter should go here, describing conventions - specific to this section. - vec_abs Vector Absolute Value