RFR(XS) 8076523: assert(((ABS(iv_adjustment_in_bytes) % elt_size) == 0)) fails in superword.cpp
vladimir.kozlov at oracle.com
Thu Apr 2 23:01:37 UTC 2015
Thank you, Igor
On 4/2/15 3:59 PM, Igor Veresov wrote:
> Looks good.
>> On Apr 2, 2015, at 3:33 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>> The problem was caused by JDK-8026049 changes. Vectorization assumes that offset in array is aligned to size of memory operations (which access element of array). With UseUnalignedAccesses Long load/store operations could be used to access byte array without alignment to sizeof(jlong).
>> Vectorization has code which verifies alignment - it should be adjusted to check that offset % mem_oper_size == 0.
>> Fix tested with failed tests and JPRT.
More information about the hotspot-compiler-dev