Vector API Mask Boolean Operation Support
Paul Sandoz
paul.sandoz at oracle.com
Thu Nov 16 01:41:27 UTC 2017
Here is an initial patch:
http://cr.openjdk.java.net/~psandoz/panama/specialize-mask/webrev/ <http://cr.openjdk.java.net/~psandoz/panama/specialize-mask/webrev/>
I can roll in Razvan’s changes into this. Unsure if i have perturbed any intrinsics as a result.
Paul.
> On 15 Nov 2017, at 12:35, Paul Sandoz <Paul.Sandoz at oracle.com> wrote:
>
>
>
>> On 15 Nov 2017, at 06:22, Viswanathan, Sandhya <sandhya.viswanathan at intel.com> wrote:
>>
>> Hi Paul,
>>
>> Having species specific classes for Mask would be very helpful both from the Mask operation support and Mask boxing point of view.
>>
>
> Ok, I’ll sort it out this week.
>
> Paul.
>
>> 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