Skip to content

Conversation

@zephyrbot
Copy link

@zephyrbot zephyrbot commented Oct 31, 2024

Backport 63890e2~2..63890e2 from #80579.

Fixes #80542

Move the _main argument to the input list rather than the output one on
the asm block and change the spec to "r". The ASM block does not return,
so it does not make sense for it to expect any output.

Signed-off-by: Wilfried Chauveau <[email protected]>
Signed-off-by: Fabio Baltieri <[email protected]>
(cherry picked from commit 7015a0e)
Add "memory" to the clobber list"

From GCC 14 the compiler optimizes away memory accesses that do not
impact the asm block. Adding the memory to the clobber list lets the
compiler know that the memory state is to be preserved.

Signed-off-by: Wilfried Chauveau <[email protected]>
Signed-off-by: Fabio Baltieri <[email protected]>
(cherry picked from commit 63890e2)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: ARM ARM (32-bit) Architecture labels Oct 31, 2024
@henrikbrixandersen henrikbrixandersen added this to the v3.7.1 milestone Nov 4, 2024
@aescolar
Copy link
Member

@ithinuel please review this automatic backport

@nashif nashif merged commit 37363d5 into v3.7-branch Nov 14, 2024
27 of 28 checks passed
@nashif nashif deleted the backport-80579-to-v3.7-branch branch November 14, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ARM ARM (32-bit) Architecture Backport Backport PR and backport failure issues

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants