Skip to content

arm_biquad_cascade_df1_32x64_q31: asrl(val, -shift) -> lsll(val, shift) #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: zephyr-4.0
Choose a base branch
from

Conversation

keith-packard
Copy link

@keith-packard keith-packard commented Aug 11, 2025

This code was using asrl with an intentionally negative value. GCC 14 doesn't turn that into a left shift, instead it produces 0 for the result.

Use lsll instead to get the desired result.
(cherry picked from commit b7a49ac)

Upstream PR: ARM-software#265 (closed)

…t) (ARM-software#265)

This code was using asrl with an intentionally negative value. GCC 14
doesn't turn that into a left shift, instead it produces 0 for the
result.

Use lsll instead to get the desired result.

Signed-off-by: Keith Packard <[email protected]>
(cherry picked from commit b7a49ac)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant