Intrinsics For Vector API

Deshpande, Vivek R vivek.r.deshpande at intel.com
Wed Aug 9 04:40:06 UTC 2017


Hi Paul

I have uploaded the rebased patch at this location:
 http://cr.openjdk.java.net/~vdeshpande/Panama/webrev.01/
Please take a look and let us know.

Regards,
Vivek

-----Original Message-----
From: Paul Sandoz [mailto:paul.sandoz at oracle.com] 
Sent: Thursday, August 03, 2017 3:22 PM
To: Deshpande, Vivek R <vivek.r.deshpande at intel.com>
Cc: panama-dev at openjdk.java.net; Viswanathan, Sandhya <sandhya.viswanathan at intel.com>
Subject: Re: Intrinsics For Vector API

Hi,

Nice work.

Would you mind updating the patch to be in sync with the recent refactoring i made to the draft spec API?

Notably, all classes are now under one package, com.oracle.vector, and the methods to create vector instance have been moved to the species e.g.:

FloatVector.FloatSpecies<Shapes.S256Bit> species = (FloatVector.FloatSpecies<Shapes.S256Bit>)
  Vector.speciesInstance(Float.class, Shapes.S_256_BIT); for (int i = 0; i < a.length; i += species.length()) {
    FloatVector<Shapes.S256Bit> av = species.fromArray(a, i);
    FloatVector<Shapes.S256Bit> bv = species.fromArray(b, i);
    av.add(bv).intoArray(c, i);
}

Thanks,
Paul.

> On 1 Aug 2017, at 17:12, Deshpande, Vivek R <vivek.r.deshpande at intel.com> wrote:
> 
> Hi All
> 
> We would like to share the webrev for the Intrinsics for Vector APIs, which add the partial intrinsification support to the APIs.
> Webrev: http://cr.openjdk.java.net/~vdeshpande/Panama/webrev.00/
> Code Contributed by:
> Razvan Lupusoru 
> (razvan.a.lupusoru at intel.com<mailto:razvan.a.lupusoru at intel.com>)
> Vivek Deshpande(vivek.r.deshpande at intel.com)
> 
> The AddTest.java in jdk\test\panama\vector-draft-spec\src\test\java can be run like this:
> java -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation  
> -XX:-CheckIntrinsics -XX:TypeProfileLevel=121 
> -XX:+UseVectorApiIntrinsics -XX:+DebugVectorApi AddTest
> 
> Thanks.
> Regards,
> Vivek
> 
> 
> 



More information about the panama-dev mailing list