VectorAPI min and max intrinsics
Paul Sandoz
paul.sandoz at oracle.com
Tue Apr 17 00:54:55 UTC 2018
Hi,
I notice you have adjusted the the Vector Java implementations to differ from the the java.lang.Math.min/max implementations (<= to < etc) (for the floating point types i intended to adjust to call Math.min/max).
Ideally it would be best to align with Math.min/max behaviour if at all possible at least for the integral types. For the FP types i am unsure about how the instructions deal with NaNs and -0.0 and +0.0.
Can you describe the semantics of the vector instructions so i can compare with Math.min/max?
Thanks,
Paul.
> On Apr 16, 2018, at 4:28 PM, Rukmannagari, Shravya <shravya.rukmannagari at intel.com> wrote:
>
> Hi All,
>
>
>
> I would like to contribute a patch adding support for vector Intrinsics for Vector API min and max functions for all the datatypes.
>
> Could you please review the patch here: http://cr.openjdk.java.net/~srukmannagar/VectorAPI_minMax/webrev.01/
>
>
>
> Regards,
>
> Shravya.
>
More information about the panama-dev
mailing list