This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20123] [powerpc] Enable libmvec vector math library on POWER VSX
- From: "waic9e at protonmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 06 Feb 2018 22:57:28 +0000
- Subject: [Bug math/20123] [powerpc] Enable libmvec vector math library on POWER VSX
- Auto-submitted: auto-generated
- References: <bug-20123-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20123
--- Comment #6 from Book Moons <waic9e at protonmail dot com> ---
Came across this document last night after some more searching.
Power Architecture 64-Bit ELF V2 ABI Specification
https://openpowerfoundation.org/wp-content/uploads/2016/03/ABI64BitOpenPOWERv1.1_16July2015_pub4.pdf
It has a whole section 6 that defines Vector Programming Interfaces. And an
appendix A that gives Predefined Functions for Vector Programming. More high
level support than I anticipated really.
If there's compiler support for this, I wonder if implementing against it is
suitable? Especially the vector data types and vectorized operators seem like
they would make it easier to work with. There are builtin functions defined
that compile down to individual VSX instructions, so full power should be
accessible.
--
You are receiving this mail because:
You are on the CC list for the bug.