[vector] implementation of single(...)
Paul Sandoz
paul.sandoz at oracle.com
Tue May 22 23:32:26 UTC 2018
> On May 22, 2018, at 4:27 PM, Lupusoru, Razvan A <razvan.a.lupusoru at intel.com> wrote:
>
> Yes - that looks correct to me. Thanks!
>
Ok, i'll push the implementation.
Thanks,
Paul.
> --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