Neg intrinsics for byte, short and long types

Paul Sandoz paul.sandoz at oracle.com
Mon Apr 30 23:12:40 UTC 2018


X-VectorBits.java.template
—

The template looks out of sync with the generated code.

E.g.  "#end[intOrFP]” moved from line 379 to line 350.


Just a thought. I suppose we could have implemented neg in the concrete Vector implementations as: 

  SPECIES.zero().sub(this);

Can that produce similar code as vpxor and vpsub* ? 

Thanks,
Paul.

> On Apr 30, 2018, at 9:39 AM, Halimi, Jean-Philippe <jean-philippe.halimi at intel.com> wrote:
> 
> Hi all,
> 
> I would like to share a patch adding support for neg intrinsic for byte, short and long types in VectorAPI.
> 
> Could you please review the patch here:
> http://cr.openjdk.java.net/~jphalimi/webrev_neg_byte_short_long_v1.2/
> 
> Please let me know your thoughts!
> 
> Thank you,
> 
> Jp



More information about the panama-dev mailing list