26 #include "lv_common.h"
27 #include "lv_math_orc.h"
32 return (n > 0) && !(n & (n - 1));
53 simd_mul_floats_float (dest, src, k, (
int) count);
58 simd_add_floats_float (dest, src, adder, (
int) count);
61 void visual_math_simd_mul_floats_floats (
float *LV_RESTRICT dest,
const float *LV_RESTRICT src1,
const float *LV_RESTRICT src2, visual_size_t count)
63 simd_mul_floats_floats (dest, src1, src2, (
int) count);
68 simd_floats_to_int32s ((uint32_t *LV_RESTRICT) ints, flts, (
int) count);
73 simd_int32s_to_floats (flts, (
const uint32_t *LV_RESTRICT) ints, (
int) count);
78 simd_floats_to_int32s_mul_float ((uint32_t *LV_RESTRICT) ints, flts, k, (
int) count);
83 simd_int32s_to_floats_mul_float (flts, (
const uint32_t *LV_RESTRICT) ints, k, (
int) count);
88 simd_denorm_floats_to_int32s ((uint32_t *LV_RESTRICT) ints, flts, k, (
int) count);
93 simd_denorm_neg_floats_to_int32s ((uint32_t *LV_RESTRICT) ints, flts, k, (
int) count);
98 simd_sqrt_floats (dest, src, (
int) count);
103 simd_complex_norm (dest, real, imag, (
int) count);
108 simd_complex_scaled_norm (dest, real, imag, k, (
int) count);