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 <keithp@keithp.com>
(cherry picked from commit b7a49ac)
keith-packard added a commit to keith-packard/zephyr that referenced this pull request Aug 11, 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 <keithp@keithp.com>
@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 <keithp@keithp.com>
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 <keithp@keithp.com>
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 <keithp@keithp.com>
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 <keithp@keithp.com>
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