search for: __atomic_load_8

Displaying 5 results from an estimated 5 matches for "__atomic_load_8".

2019 Mar 12
1
Handling of __c11_atomic_is_lock_free({1, 2, 4, 8}) in compiler-rt atomic.c
...I think this more of a front-end issue than a compile-rt issue, but I’m also copying the llvm-dev list In compiler-rt the file lib/builtins/atomic.c seems to rely on determining at compile time if an atomic operation of size 1, 2, 4, or 8 is always lock free. For example, in the implementation of __atomic_load_8() we have something like this after macro expansion: void __atomic_load_8(…) { If (__c11_atomic_is_lock_free(8)) return __c11_atomic_load_8(..) /* otherwise lock-based implementation */ } Let’s say a target supports lock-free atomics for 8-byte objects. Then the front-end will lower __c11_...
2018 Aug 06
4
[Release-testers] [7.0.0 Release] rc1 has been tagged
...onfigure dies with: > > -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB > -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success > -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB > -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed > -- Looking for __atomic_load_8 in atomic > -- Looking for __atomic_load_8 in atomic - not found > CMake Error at cmake/modules/CheckAtomic.cmake:75 (message): > Host compiler appears to require libatomic, but cannot find it. > > Interestingly, Phase1 does *not* suffer from this, but there the "h...
2018 Aug 03
10
[7.0.0 Release] rc1 has been tagged
Dear testers, 7.0.0-rc1 was just tagged (from the branch at r338847). It's early in the release process, but I'd like to find out what the status is of the branch on our various platforms. Please run the test script, share the results, and upload binaries. Thanks, Hans
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
...CHAIN_FILE=../toolchain.txt \ -DCMAKE_C_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-gcc \ -DCMAKE_CXX_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-g++ \ -DCMAKE_ASM_COMPILER=${MYGNUARM_ROOT}/bin/arm-none-eabi-as \ ../llvm ... -- Looking for __atomic_load_8 in atomic -- Looking for __atomic_load_8 in atomic - not found CMake Error at cmake/modules/CheckAtomic.cmake:74 (message): Host compiler appears to require libatomic, but cannot find it. Call Stack (most recent call first): cmake/config-ix.cmake:350 (include) CMakeLists.txt:585 (include) ar...
2019 Nov 13
2
Compiling libc++ using GNU Arm Embedded Toolchain for arm-cortex-m4
...ARED:BOOL=OFF \ -DLLVM_DISABLE_PIC:BOOL=OFF \ -D_LIBCPP_HAS_NO_STDOUT:BOOL=ON \ -D_LIBCPP_HAS_NO_STDIN:BOOL=ON \ -DCMAKE_C_FLAGS="$C_AND_CXX_COMMON_FLAGS" \ -DCMAKE_CXX_FLAGS="$C_AND_CXX_COMMON_FLAGS" \ ../llvm Firstly, I encounter the known problem with __atomic_load_8. arm-cortex-m{3,4} most probably doesn't support 64bit atomic read/write, but as long as I don't use it, changing the line in CheckAtomic.cmake: message(FATAL_ERROR "Host compiler appears to require libatomic, but cannot find it.") to: message(WARNING "Host com...