Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
JVM is quite strict on the code schema which may executed with SIMD instructions, take a loop in ColOrCol.java for example,
for (int i = 0; i != n; i++) { outputVector[i] = vector1[0] | vector2[i]; }
The "vector1[0]" reference would prevent JVM to execute this part of code with vectorized instructions, we need to assign the "vector1[0]" to a variable outside of loop, and use that variable in loop.
This issues covers AND, OR, NOT logical operators.