Oopenvela-robotnuttx/atomic: use toolchain builtin atomic function
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
libs/libc/arm: add back __aeabi_mem* functions Add back these functions since clang will use them. This reverts "libs/libc/arm: use builtin routines instead of aliases of __aeabi_mem*" and adds source files to cmake. Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
libc/arm64: fix build error with clang nuttx/libs/libc/machine/arm64/arch_strrchr.S:153:11: error: invalid operand for instruction mov x10, v17.2d[0] ^ nuttx/libs/libc/machine/arm64/arch_strrchr.S:154:11: error: invalid operand for instruction mov x11, v5.2d[0] ^ nuttx/libs/libc/machine/arm64/arch_strrchr.S:161:11: error: invalid operand for instruction mov x10, v3.2d[0] ^ Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
libc/machine/renesas: Move all source files out of gnu folder and remove the empty CMakeLists.txt in the subdirectories. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc/machine/riscv: Move all source files out of gnu folder and remove the empty CMakeLists.txt in the subdirectories. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
sim: setjmp: fix longjmp with 0 as the second argument Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
nuttx/atomic: use toolchain builtin atomic function The reason for using builtin atomic is that in C++, when include <atomic> in <nuttx/atomic.h> easily conflicts with third-party function libraries. We wanted to completely separate the implementation of <nuttx/atomic.h>. There are two points: 1. use builtin function directly. 2. Without the standard library implementation, need implement "atomic_fetch_xxx", leading conflicts with the standard library used by third-party programs, introducing redefinition issues and requiring name changes. Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc/machine/x86_64: Remove libs/libc/machine/x86_64/gnu/CMakeLists.txt Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc/machine/xtensa: Rename mcount.S to arch_mcount.S Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc/machine: realize atomic based on hwspinlock Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
libc/machine: realize atomic based on hwspinlock Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
libc/machine: realize atomic based on hwspinlock Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
nuttx/atomic: use toolchain builtin atomic function The reason for using builtin atomic is that in C++, when include <atomic> in <nuttx/atomic.h> easily conflicts with third-party function libraries. We wanted to completely separate the implementation of <nuttx/atomic.h>. There are two points: 1. use builtin function directly. 2. Without the standard library implementation, need implement "atomic_fetch_xxx", leading conflicts with the standard library used by third-party programs, introducing redefinition issues and requiring name changes. Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
libc/arch_libc.c:fix bug for macro LIBC_ARCH_STRCHRNUL config ARM64_STRCHRNUL bool "Enable optimized strchrnul() for ARM64" default n select LIBC_ARCH_STRCHRNUL depends on ARCH_TOOLCHAIN_GNU ---help--- Enable optimized ARM64 specific strchrnul() library function Signed-off-by: yangao1 <yangao1@xiaomi.com> | 2 个月前 |