On Wed, 8 Mar 2023 13:48:16 GMT, Quan Anh Mai <qa...@openjdk.org> wrote:

>> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java 
>> line 2289:
>> 
>>> 2287:             getClass(), byte.class, length(),
>>> 2288:             this, that, origin,
>>> 2289:             new VectorSliceOp<ByteVector>() {
>> 
>> Change from inner class to lambda expression?
>
> We still need this method to be inlined and I don't know if there is a way to 
> annotate the lambda function.

Yes, i wondered about the inline and how important it might be. You want the 
fallback to inline so as not to perturb platforms without the intrinsic. Can 
you add a comment on the anon class?

-------------

PR: https://git.openjdk.org/jdk/pull/12909

Reply via email to