Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Long*CompareLong* classes can be optimized with subtraction and bitwise operators for better SIMD optimization.
for(int i = 0; i != n; i++) { outputVector[i] = vector1[0] > vector2[i] ? 1 : 0; }
This issue will cover following classes;
- LongColEqualLongColumn
- LongColNotEqualLongColumn
- LongColGreaterLongColumn
- LongColGreaterEqualLongColumn
- LongColLessLongColumn
- LongColLessEqualLongColumn
- LongScalarEqualLongColumn
- LongScalarNotEqualLongColumn
- LongScalarGreaterLongColumn
- LongScalarGreaterEqualLongColumn
- LongScalarLessLongColumn
- LongScalarLessEqualLongColumn
- LongColEqualLongScalar
- LongColNotEqualLongScalar
- LongColGreaterLongScalar
- LongColGreaterEqualLongScalar
- LongColLessLongScalar
- LongColLessEqualLongScalar