FastLED 3.9.15
Loading...
Searching...
No Matches

◆ test_crossval_aligned_load_store()

bool autoresearch::simd_check::test_crossval_aligned_load_store ( )
inline

Definition at line 1037 of file AutoResearchSimd.h.

1037 {
1038 FL_ALIGNAS(16) uint32_t src[4] = {0x80000000, 0x7FFFFFFF, 0xDEADBEEF, 0x00000000};
1039 FL_ALIGNAS(16) uint32_t dst[4] = {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF};
1040 simd_u32x4 v = load_u32_4_aligned(src);
1041 store_u32_4_aligned(dst, v);
1042 return compare_u32(src, dst, 4);
1043}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
platforms::simd_u32x4 simd_u32x4
Definition types.h:26
#define FL_ALIGNAS(N)

References compare_u32(), and FL_ALIGNAS.

Referenced by getTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: