RFR(L): Vector API Compare Intrinsics

Paul Sandoz paul.sandoz at oracle.com
Fri Mar 9 18:49:03 UTC 2018



> On Mar 9, 2018, at 10:24 AM, Lupusoru, Razvan A <razvan.a.lupusoru at intel.com> wrote:
> 
> Hi everyone,
> 
> Rahul and I have implemented all the code sequences for compares (<,>,<=,>=,==,!=) for all vector types and sizes. Please take a look at the patch:
> http://cr.openjdk.java.net/~rlupusoru/panama/webrev_veccompares_04/
> 

Java bits look good.


> Please note that I also added the necessary tests to exercise this functionality. Likely they can be cleaned up once the infrastructure has a template for using data providers.
> 

Yes. I would be tempted to write the mask results into an array and assert after the loop e.g. either store the booleans of the mask directly into a boolean array or do a blend-with-the-mask+store into a resulting element array (the advantage of the latter is an existing array assertion method can be reused). 

Paul.


More information about the panama-dev mailing list