JDK-8222074 : Enhance auto vectorization for x86
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: x86
  • Submitted: 2019-04-06
  • Updated: 2022-02-07
  • Resolved: 2019-05-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.9Fixed 13 b20Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Add support for the following additional vector operations for x86:
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

Comments
[~phh] I think there's a typo in your above comment. This needs to go in with JDK-8224234. Anyway, I'm approving this.
21-07-2020

Thanks for catching that. I've updated the comment.
21-07-2020

Fix Request (11u). Review approval and discussion: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-June/003339.html This is a vector performance backport that is first in a series with the ultimate aim of backporting JDK-8230591, which is an aarch64 vector performance backport that primarily depends on this one and JDK-8226721. JDK-8222074: Enhance auto vectorization for x86 JDK-8224234: compiler/codegen/TestCharVect2.java fails in test_mulc JDK-8226721: Missing intrinsics for Math.ceil, floor, rint JDK-8231713: x86_32 build failures after JDK-8226721 (Missing intrinsics for Math.ceil, floor, rint) JDK-8230591: AArch64: Missing intrinsics for Math.ceil, floor, rint The patch for JDK-8224234 and this backport should be applied at the same time to avoid test failure.
21-07-2020

URL: http://hg.openjdk.java.net/jdk/jdk/rev/1851a532ddfe User: vdeshpande Date: 2019-05-07 20:35:04 +0000
07-05-2019