Skip to content

Commit

Permalink
fix: neon now compiles (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 authored Oct 30, 2024
1 parent d45f87e commit 9715996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dpp/isa/neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace dpp {
neon_float gain_vector = vdupq_n_f32(current_gain);
static constexpr float data[4] = { 0.0f, 1.0f, 2.0f, 3.0f };
neon_float floats = vld1q_f32(data);
neon_float increment_vector = vmulq_f32(vdupq_n_f32(increment), floats));
neon_float increment_vector = vmulq_f32(vdupq_n_f32(increment), floats);
neon_float current_samples_new = vmulq_f32(gathered_values, vaddq_f32(gain_vector, increment_vector));

// Clamping the values between int16_t min and max
Expand Down

0 comments on commit 9715996

Please sign in to comment.