Skip to content
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

'asm operand has impossible constraint' - GCC 11.3 #50

Closed
felix-johnny opened this issue Mar 22, 2023 · 0 comments · Fixed by #51
Closed

'asm operand has impossible constraint' - GCC 11.3 #50

felix-johnny opened this issue Mar 22, 2023 · 0 comments · Fixed by #51
Assignees
Labels
bug Something isn't working

Comments

@felix-johnny
Copy link
Contributor

GCC version : arm-none-eabi-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712

Reproducer: arm-none-eabi-gcc -mcpu=cortex-m55 -Os -I../../Include/ -mfloat-abi=hard -mfpu=auto -S arm_nn_mat_mult_nt_t_s8.c

The issue is not seen in newer releases or other optimization levels.

@felix-johnny felix-johnny self-assigned this Mar 22, 2023
@felix-johnny felix-johnny added the bug Something isn't working label Mar 22, 2023
felix-johnny added a commit to felix-johnny/CMSIS-NN that referenced this issue Mar 24, 2023
'asm operand has impossible constraint' error is seen
in an inline assembly section for certain optimization
levels.
Toolchain version: Arm GNU Toolchain 11.3.1

Fix targets simplification of  constraints for register allocator.

Fixes ARM-software#50

Change-Id: I476827857897eb972ca92be2750b0395678993d4
felix-johnny added a commit that referenced this issue Mar 24, 2023
'asm operand has impossible constraint' error is seen in an inline
assembly section for certain optimization levels.
Toolchain version: Arm GNU Toolchain 11.3.1

Fix targets simplification of  constraints for register allocator.

Fixes #50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant