<html><head></head><body><div class="ydp3d5e47b8yahoo-style-wrap" style="font-family:verdana, helvetica, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hello everyone,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am a Java veteran user, but a completely disoriented bug reporter. While working on building a tensor library leveraging VectorAPI and concurrency, I went into what it looks like a bug. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">The scenario is simple, I simulate two strided arrays and compute dot product between them. For vectorized computation I take values from the strided array using fromArray in it's simple form if the stride is 1 or the complex form with indexes if we have non unit stride. Since I know from the beginning if a strided vector is unitary or not, I tried to take out the condition outside the loop. That causes problems (it looks like from time to time it goes to the wrong branch and calls the other function. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I have built a small reproducible example which you can find it here: <a href="https://github.com/padreati/rapaio/blob/master/rapaio-experiment/src/bugs/VectorTest.java" rel="nofollow" target="_blank">https://github.com/padreati/rapaio/blob/master/rapaio-experiment/src/bugs/VectorTest.java</a>. I have also hs_err files if needed. It has the same behavior on OpenJdk, Corretto, Zulu, others not tested. I use Linux Ubuntu, i7 gen11, 8 cores.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">It is possible to guide me into how to report that, if I may? Or if somebody can reproduce also? Or perhaps I made a mistake that I am not aware of and I might learn from that?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am astonished of your work and it is the first time I take enough courage to bother you with issues I have. </div><div dir="ltr" data-setdir="false">Best regards, Aurelian Tutuianu</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div></div></body></html>