Vector API Mask Boolean Operation Support

Viswanathan, Sandhya sandhya.viswanathan at intel.com
Wed Nov 15 14:22:42 UTC 2017


Hi Paul,

Having species specific classes for Mask would be very helpful both from the Mask operation support and Mask boxing point of view.

Best Regards,
Sandhya


-----Original Message-----
From: panama-dev [mailto:panama-dev-bounces at openjdk.java.net] On Behalf Of Paul Sandoz
Sent: Tuesday, November 14, 2017 6:00 PM
To: Lupusoru, Razvan A <razvan.a.lupusoru at intel.com>
Cc: panama-dev at openjdk.java.net
Subject: Re: Vector API Mask Boolean Operation Support

I presume the binary ops need to check that the species is the same?

Do you require that we explicitly transform GenericMask into a bunch of species specific classes to optimize the detection of the species? That’s easy to do with the template infrastructure.

An alternative strategy that might help is to annotate the species field with @Stable.

Paul.

> On 14 Nov 2017, at 17:23, Lupusoru, Razvan A <razvan.a.lupusoru at intel.com> wrote:
> 
> Hello,
> 
> I have added boolean operation support for masks (and, or, not) in order to support vectorization of nested control flow. Please check out patch and if there are no concerns by tomorrow, I will go ahead and merge it.
> http://cr.openjdk.java.net/~rlupusoru/panama/webrev_maskbool_00/
> 
> Thanks,
> Razvan
> 



More information about the panama-dev mailing list