[vector] Add implementation note on hardware platform limitations
Paul Sandoz
paul.sandoz at oracle.com
Tue May 12 18:51:28 UTC 2020
Hi,
Please review the following change adding an implementation note on hardware platform limitations:
http://cr.openjdk.java.net/~psandoz/panama/vector-impl-restrictions/webrev/ <http://cr.openjdk.java.net/~psandoz/panama/vector-impl-restrictions/webrev/>
[1]
I am not sure I got this quite right, appreciate guidance from Intel and ARM folks.
This change is in response to reviews in preparation for integration into jdk/jdk.
Paul.
[1]
"
Currently the implementation is optimized to work best on:
• Intel x64 platforms supporting at least AVX2 up to AVX-512. Masking using mask registers and mask accepting hardware instructions on AVX-512 are not currently supported.
• ARM AArch64 platforms supporting NEON. Although the API has been designed to ensure ARM SVE instructions can be supported (vector sizes between 128 to 2048 bits) there is currently no implementation of such instructions and the general masking capability.
The implementation currently supports masked lane-wise operations in a cross-platform manner by composing the unmasked lane-wise operation with blend as in the expression a.blend(a.lanewise(op, b), m), where a and b are vectors, op is the vector operation, and m is the mask.
The implementation does not currently support optimal vectorized instructions for floating point transcendental functions (such as operators SIN and LOG).
"
More information about the panama-dev
mailing list