[vector] Mask and Shuffle construction
Viswanathan, Sandhya
sandhya.viswanathan at intel.com
Thu May 24 23:18:43 UTC 2018
Hi Paul,
Efficient optimized implementation for maskFromValues and shuffleFromValue is challenging so we should remove those two methods.
Best Regards,
Sandhya
-----Original Message-----
From: panama-dev [mailto:panama-dev-bounces at openjdk.java.net] On Behalf Of Paul Sandoz
Sent: Thursday, May 24, 2018 3:45 PM
To: panama-dev at openjdk.java.net
Subject: [vector] Mask and Shuffle construction
Hi,
What plans do we have to optimize construction of Mask and Shuffle? i cannot recall where we are on this.
As a summary here are the methods on Species:
public abstract Mask<E, S> maskFromValues(boolean... bits);
public abstract Mask<E, S> maskFromArray(boolean[] a, int i);
public abstract Shuffle<E, S> shuffleFromValues(int... indexes);
public abstract Shuffle<E, S> shuffleFromArray(int[] a, int i);
Thanks,
Paul.
More information about the panama-dev
mailing list