search for: __c11_atomic_fetch_add

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

2013 Mar 17
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
...re/mat.hpp:117:9: error: cannot compile this atomic library call yet CV_XADD(refcount, 1); ^~~~~~~~~~~~~~~~~~~~ /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38: note: expanded from macro 'CV_XADD' #define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), (delta), __ATOMIC_SEQ_CST) Could someone please suggest what I am missing here, or what the error indicates? Thank you all. -- View this message in context: http://llvm.1065342.n5.nabble.com/Running-cross-compiled-binaries-for-ARM-on-gem5-tp55767p56023.html Sent from th...
2013 Mar 18
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
...pile this atomic library call yet > CV_XADD(refcount, 1); > ^~~~~~~~~~~~~~~~~~~~ > > /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38: > note: expanded from macro 'CV_XADD' > #define CV_XADD(addr, delta) > __c11_atomic_fetch_add((_Atomic(int)*)(addr), (delta), __ATOMIC_SEQ_CST) > This is odd. This atomic is implemented in CGAtomic.cpp, but it's being lowered as a library call because "UseLibcall" is true: bool UseLibcall = (Size != Align || getContext().toBits(sizeChars) > MaxInli...
2013 Mar 18
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
...brary call yet > CV_XADD(refcount, 1); > ^~~~~~~~~~~~~~~~~~~~ > /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38: > note: expanded from macro 'CV_XADD' > #define CV_XADD(addr, delta) > __c11_atomic_fetch_add((_Atomic(int)*)(addr), (delta), > __ATOMIC_SEQ_CST) > > > This is odd. This atomic is implemented in CGAtomic.cpp, but it's > being lowered as a library call because "UseLibcall" is true: > > bool UseLibcall = (Size != Align || > getCo...
2013 Mar 11
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
Hi Silky, If I got correctly, you seem to be trying to run a bare-metal image on your model, but you compile with linux-gnueabi GCC. I don't know if that will make a difference, but I'd try to use none-eabi GCC toolchain and set the -target armv7a-none-eabi just in case. On 10 March 2013 00:26, Silky Arora <silkyar at umich.edu> wrote: > Most of the search results talk about
2013 Mar 10
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
Hi, I am trying to optimize some benchmarks using LLVM and run them on gem5 simulator (build for ARM). I am using Sourcery Codebench cross-compiler for ARM on my x-86 machine. My steps up till now have been using the following commands. 1. clang -static -emit-llvm -march=armv7-a -mfloat-abi=soft -target arm-elf a.cpp -c -integrated-as \