RFR(XS) 8076523: assert(((ABS(iv_adjustment_in_bytes) % elt_size) == 0)) fails in superword.cpp
igor.veresov at oracle.com
Thu Apr 2 22:59:08 UTC 2015
> 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