-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address itPRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug
Description
What is the error?
/opt/arm/ethosu/cmsis/CMSIS-NN/Source/SoftmaxFunctions/arm_softmax_s8.c: In function 'arm_exp_on_negative_values_mve_32x4':
/opt/arm/ethosu/cmsis/CMSIS-NN/Source/SoftmaxFunctions/arm_softmax_s8.c:74:1: internal compiler error: in trunc_int_for_mode, at explow.cc:59
74 | }
| ^
0x169d629 internal_error(char const*, ...)
???:0
0x667b60 fancy_abort(char const*, int, char const*)
???:0
0x895993 trunc_int_for_mode(long, machine_mode)
???:0
0x8959b8 trunc_int_for_mode(poly_int<1u, long>, machine_mode)
???:0
0x88a1c8 gen_int_mode(poly_int<1u, long>, machine_mode)
???:0
...
at_mult_nt_t_s8.c
In file included from /opt/zephyrproject/modules/hal/cmsis/CMSIS/Core/Include/cmsis_compiler.h:54,
from /opt/arm/ethosu/cmsis/CMSIS-NN/Include/arm_nn_math_types.h:90,
from /opt/arm/ethosu/cmsis/CMSIS-NN/Include/arm_nnsupportfunctions.h:33,
from /opt/arm/ethosu/cmsis/CMSIS-NN/Source/NNSupportFunctions/arm_nn_mat_mult_nt_t_s8.c:31:
/opt/arm/ethosu/cmsis/CMSIS-NN/Source/NNSupportFunctions/arm_nn_mat_mult_nt_t_s8.c: In function 'arm_nn_mat_mult_nt_t_s8':
/opt/zephyrproject/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h:41:50: error: 'asm' operand has impossible constraints
41 | #define __ASM __asm
| ^~~~~
/opt/arm/ethosu/cmsis/CMSIS-NN/Source/NNSupportFunctions/arm_nn_mat_mult_nt_t_s8.c:102:13: note: in expansion of macro '__ASM'
102 | __ASM volatile(" vldrb.8 q0, [%[col]], #16 \n"
| ^~~~~
ninja: build stopped: subcommand failed.
How to reproduce?
Use ci_cortexm docker image:
cd apps/microtvm/zephyr_cmsisnn
./run_demo.shEnvironment
Zephyr 3.2
Zephyr-SDK 0.15.2
CMSIS SHA: 51263182d16c92649a48144ba56c0945f9fce60e
CMSIS NN SHA: v4.0.0
Metadata
Metadata
Labels
needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address itPRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug