RFR (M) 8222074: Enhance auto vectorization for x86
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Mon Apr 8 20:37:41 UTC 2019
I tried to submit it for testing and spotted a build failure w/ clang:
.../src/hotspot/cpu/x86/x86.ad:1515:26: error: '&&' within '||'
[-Werror,-Wlogical-op-parentheses]
(vlen == 64) && (VM_Version::supports_avx512bw() == false))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../src/hotspot/cpu/x86/x86.ad:1515:26: note: place parentheses around
the '&&' expression to silence this warning
(vlen == 64) && (VM_Version::supports_avx512bw() == false))
^
( )
I'll let you know how the testing is going.
Best regards,
Vladimir Ivanov
On 05/04/2019 18:18, Viswanathan, Sandhya wrote:
> 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