3 ms·
I expect they are referring to the "Vector API" described in JEP 426: Vector API [1]. From the summary: Introduce an API to express vector computations th
by rotifer 3y ago
I expect they are referring to the "Vector API" described in JEP 426: Vector API [1]. From the summary:
Introduce an API to express vector computations that reliably compile at runtime to optimal vector instructions on supported CPU architectures, thus achieving performance superior to equivalent scalar computations.
[1] https://openjdk.org/jeps/426 https://openjdk.org/jeps/426
- brewmarche 3y agoYes. Where does it expose the AVX or ARM intrinsics? I only see generic add/neg/mul methods (thus the comparison to .NET Vector<T>) and not the intrinsics exposed thhemselves; here is a random pick from the .NET ones: https://learn.microsoft.com/en-us/dotnet/api/system.runtime.intrinsics.x86.avx2.loadalignedvector256nontemporal?view=net-7.0#system-runtime-intrinsics-x86-avx2-loadalignedvector256nontemporal(system-uint32 https://learn.microsoft.com/en-us/dotnet/api/system.runtime....*)