RFR(XS): 8078113: 8011102 changes may cause incorrect results
sandhya.viswanathan at intel.com
Fri Apr 17 22:05:58 UTC 2015
We would like to contribute a patch for bug 8078113 from Intel.
With 32 byte width vectorization the JVM produces wrong results under certain circumstances for x86_64.
The Vzeroupper instruction introduced in String.equals, String.compareTo and OptimizeFill intrinsic/stubs in the following change set is the cause of the bug:
For 32 byte vectorization, YMM registers are used by the hotspot compiler and the register allocator can allocate these across intrinsic methods.
Vzeroupper in the intrinsic is clobbering upper 16 bytes in all the other YMM registers that are not touched in these methods and so our customers are
seeing unexpected results.
This patch fixes the problem on Linux.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev