nuttx/libs/libc/machine
yinshengkai 54040c6888 libs/libc/machine/arm: add Cortex-M0/M23 support to arch_mcount
Add support for ARMv6-M and ARMv8-M Baseline architectures
(Cortex-M0/M0+/M23) in the mcount profiling function. These cores
only support limited Thumb-1 instruction set and require different
assembly instructions compared to ARMv7-M and higher.

Changes:
- Use MOVS+BICS instead of BIC for bit clearing on M0/M23
- Separate register restore for limited push/pop instructions
- Use BX instead of direct POP to PC on M0/M23

Signed-off-by: yinshengkai <yinshengkai@bytedance.com>
2026-02-04 03:03:45 +08:00
..
arm libs/libc/machine/arm: add Cortex-M0/M23 support to arch_mcount 2026-02-04 03:03:45 +08:00
arm64 libc/arm64: add cfi for optimized func 2025-12-18 22:05:12 +08:00
renesas
risc-v libs/risc-v:add cfi for optimized compilation func 2025-12-18 22:05:12 +08:00
sim
sparc
tricore
x86
x86_64 arch/x86_64: Add gprof 2026-01-20 22:43:38 +08:00
xtensa
arch_atomic.c
arch_libc.c string:use builtin function to optimize libc function 2025-12-20 10:38:53 +08:00
CMakeLists.txt
Kconfig arch:use ARCH_64BIT to mark arch is support 64bit 2025-12-18 22:05:12 +08:00
Make.defs