[vector] Prototype of apply() method on Vector

Kharbas, Kishor kishor.kharbas at intel.com
Sun Feb 17 00:02:42 UTC 2019


Hi Brian, John, Vladimir and others,
There has been discussion on this mail thread before (did not find the mail thread to reply to it) about having an apply() on vectors.

The idea is to reduce the api surface by defining a apply() method which takes the kind of operation to be performed. Here is an attempt to prototype this method,
http://cr.openjdk.java.net/~kkharbas/vector-api/webrev-apply.00

This prototype does generate optimal vector code just like operation specific methods.

Please let me know your thoughts.

Thanks,
Kishor


More information about the panama-dev mailing list