Skip to content

Commit 71964f5

Browse files
committed
Noted that the new abs function in noSimd.h needs to be tested in SimdTest.cpp and optimized in simd.h when direct intrinsics are available.
1 parent fe6bea6 commit 71964f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/test/tests/SimdTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include "../../DFPSR/base/simd.h"
44
#include "../../DFPSR/base/endian.h"
55

6+
// TODO: Write tests for the abs function in noSimd.h, using SIMD vectors.
7+
// Implement the abs function directly to override the template functoin when hardware is available for the vector type.
68
// TODO: Set up a test where SIMD is disabled to force using the reference implementation.
79
// TODO: Keep the reference implementation alongside the SIMD types during brute-force testing with millions of random inputs.
810

0 commit comments

Comments
 (0)