nuttx-mirror/arch
Huang Qi 00794b92c4 arch/risc-v: Improve LLVM CPU type detection with findstring
Use findstring instead of direct equality checks for LLVM_CPUTYPE
conditions to better handle ARCHCPUEXTFLAGS that may contain additional
ISA extensions. This makes the CPU type detection more robust when
dealing with extended instruction sets while still ensuring the required
base ISA extensions are present.

For example, ARCHCPUEXTFLAGS="imc_zicsr_zifencei" will now correctly
match as sifive-e20 rather than failing the exact match check.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-08 23:58:19 +08:00
..
arm arch/arm/stm32: fix stm32g4 enable pll code. 2025-01-08 10:41:22 +08:00
arm64 arm64/tbi: Unified TBI flags for MTE and software kasan 2025-01-07 21:44:18 +08:00
avr arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
ceva arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
dummy arch: Add custom arch chip build support 2020-10-20 14:48:16 +08:00
hc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
mips arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
renesas up_rtc_gettime: add spinlock to protect up_rtc_gettime 2025-01-06 23:07:58 +08:00
risc-v arch/risc-v: Improve LLVM CPU type detection with findstring 2025-01-08 23:58:19 +08:00
sim sim: Disable chained fixups for sim_macho_init.c 2025-01-07 23:28:30 +08:00
sparc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
tricore arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
x86 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
x86_64 up_rtc_gettime: add spinlock to protect up_rtc_gettime 2025-01-06 23:07:58 +08:00
xtensa esp32s3_wifi_adapter.c: Fix a deadlock 2025-01-08 23:56:43 +08:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00