Skip to content

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)
@stephanosio stephanosio merged commit 9751261 into zephyrproject-rtos:zephyr-4.0 Aug 14, 2025
keith-packard added a commit to keith-packard/zephyr that referenced this pull request Aug 19, 2025
This patch has been accepted upstream ARM-software/CMSIS-DSP#265.
The module PR, zephyrproject-rtos/cmsis-dsp#7 is pending review.

Signed-off-by: Keith Packard <[email protected]>
keith-packard added a commit to keith-packard/zephyr that referenced this pull request Aug 20, 2025
This patch has been accepted upstream ARM-software/CMSIS-DSP#265 and
into the Zephyr module zephyrproject-rtos/cmsis-dsp#7

This PR is ready for review and merging.

Signed-off-by: Keith Packard <[email protected]>
kartben pushed a commit to zephyrproject-rtos/zephyr that referenced this pull request Aug 22, 2025
This patch has been accepted upstream ARM-software/CMSIS-DSP#265 and
into the Zephyr module zephyrproject-rtos/cmsis-dsp#7

This PR is ready for review and merging.

Signed-off-by: Keith Packard <[email protected]>
hlord2000 pushed a commit to hlord2000/zephyr that referenced this pull request Aug 24, 2025
This patch has been accepted upstream ARM-software/CMSIS-DSP#265 and
into the Zephyr module zephyrproject-rtos/cmsis-dsp#7

This PR is ready for review and merging.

Signed-off-by: Keith Packard <[email protected]>
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.

2 participants