MCPcopy Create free account
hub / github.com/FastLED/FastLED / compare_u32

Function compare_u32

examples/AutoResearch/AutoResearchSimd.h:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35inline bool compare_u32(const uint32_t* a, const uint32_t* b, size_t n) {
36 for (size_t i = 0; i < n; i++) {
37 if (a[i] != b[i]) return false;
38 }
39 return true;
40}
41
42inline bool compare_f32(const float* a, const float* b, size_t n, float eps = 0.001f) {
43 for (size_t i = 0; i < n; i++) {

Callers 15

test_load_store_u32_4Function · 0.85
test_set1_u32_4Function · 0.85
test_set1_u32_4_zeroFunction · 0.85
test_set_u32_4Function · 0.85
test_xor_u32_4Function · 0.85
test_and_u32_4Function · 0.85
test_or_u32_4Function · 0.85
test_srl_u32_4Function · 0.85
test_sll_u32_4Function · 0.85
test_unpacklo_u32_4Function · 0.85

Calls

no outgoing calls

Tested by 15

test_load_store_u32_4Function · 0.68
test_set1_u32_4Function · 0.68
test_set1_u32_4_zeroFunction · 0.68
test_set_u32_4Function · 0.68
test_xor_u32_4Function · 0.68
test_and_u32_4Function · 0.68
test_or_u32_4Function · 0.68
test_srl_u32_4Function · 0.68
test_sll_u32_4Function · 0.68
test_unpacklo_u32_4Function · 0.68