RFR (M) 8222074: Enhance auto vectorization for x86

Yang Zhang (Arm Technology China) Yang.Zhang at arm.com
Tue Apr 9 08:04:01 UTC 2019


Hi Sandhya

Thanks for proposing this enhancement.
I have tested this patch in our internal ci. There is a new failure. But I didn't check the details.
java/math/BigDecimal/DivideMcTests.java

In addition,  there are trailing spaces in the following files.
src/hotspot/cpu/x86/assembler_x86.cpp
src/hotspot/cpu/x86/stubGenerator_x86_32.cpp
src/hotspot/cpu/x86/x86.ad
src/hotspot/cpu/x86/x86_32.ad
src/hotspot/share/opto/superword.cpp

In file src/hotspot/share/classfile/vmSymbols.hpp, there are some unaligned lines.
In file test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java, there are new test functions. Are these new functions needed by byte/short/long?

Regards,
Yang


-----Original Message-----
From: hotspot-compiler-dev <hotspot-compiler-dev-bounces at openjdk.java.net> On Behalf Of Viswanathan, Sandhya
Sent: Saturday, April 6, 2019 9:18 AM
To: hotspot-compiler-dev at openjdk.java.net; Vladimir Kozlov <vladimir.kozlov at oracle.com>
Subject: RFR (M) 8222074: Enhance auto vectorization for x86


Please find below a link to the webrev which enhances super-word auto vectorization for x86.
The following additional operations are supported:

1)      Absolute for all data types

2)      Shifts for byte data types

3)      Shift right arithmetic for long data type

4)      Byte multiply

5)      Negate for float/double

JBS: https://bugs.openjdk.java.net/browse/JDK-8222074
Webrev: http://cr.openjdk.java.net/~sviswanathan/8222074/webrev.00/

The compiler jtreg tests pass with UseAVX=0,1,2,3 and KNL.
Your review and comments are welcome.

Best Regards,
Sandhya



More information about the hotspot-compiler-dev mailing list