FastLED 3.10.9
Loading...
Searching...
No Matches

◆ test_crossval_aligned_load_store()

bool autoresearch::simd_check::test_crossval_aligned_load_store ( )
inline

Definition at line 1038 of file AutoResearchSimd.h.

1038 {
1039 FL_ALIGNAS(16) uint32_t src[4] = {0x80000000, 0x7FFFFFFF, 0xDEADBEEF, 0x00000000};
1040 FL_ALIGNAS(16) uint32_t dst[4] = {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF};
1041 simd_u32x4 v = load_u32_4_aligned(src);
1042 store_u32_4_aligned(dst, v);
1043 return compare_u32(src, dst, 4);
1044}
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: