[vector] implementation of single(...)
Lupusoru, Razvan A
razvan.a.lupusoru at intel.com
Tue May 22 23:27:15 UTC 2018
Yes - that looks correct to me. Thanks!
--Razvan
-----Original Message-----
From: panama-dev [mailto:panama-dev-bounces at openjdk.java.net] On Behalf Of Paul Sandoz
Sent: Tuesday, May 22, 2018 4:25 PM
To: panama-dev at openjdk.java.net
Subject: [vector] implementation of single(...)
Hi,
With the advent of intrinsic with is the following a viable implementation of single on the public primitive vector types?
@ForceInline
public final IntVector<S> single(int e) {
return zero().with(0, e);
}
Paul.
More information about the panama-dev
mailing list