VectorAPI abs intrinsic for Byte,Short and Long

Paul Sandoz paul.sandoz at oracle.com
Mon Apr 16 17:37:46 UTC 2018


Excuse my ignorance:

src/hotspot/cpu/x86/x86.ad
--

1321 if (is_integral_type(bt) && size_in_bits == 256 && UseAVX < 2) { ret_value = false; }

Should that be:

  size_in_bits > 128

?

Paul.

> On Apr 16, 2018, at 10:13 AM, Halimi, Jean-Philippe <jean-philippe.halimi at intel.com> wrote:
> 
> Hi all,
> 
> I would like to share a patch adding support for abs intrinsic for byte, short and long types in VectorAPI.
> 
> Could you please review the patch here:
> http://cr.openjdk.java.net/~jphalimi/webrev_abs_byte_short_long_v1.0/var/www/html/tmp/webrev_abs_byte_short_long_v1.0/
> 
> Thank you,
> 
> Jp



More information about the panama-dev mailing list