Displaying 3 results from an estimated 3 matches for "uselibcall".
2013 Mar 18
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
...p: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) > MaxInlineWidthInBits);
I don't think it should in your case. That looks like a bug, but I'm not an
atomic library expert. Can you create a bug in bugzilla (
http://www.llvm.org/bugs...
2013 Mar 17
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
Thanks Renato and Giang.
I was able to run a simple HelloWorld program on gem5 (in SE mode) by using
-target -arm-none-linux-gnueabi as the option during cross compilation.
I am trying to cross compile some Computer Vision algorithms, which use
OpenCV libraries, and I tried using the same command line options -
clang++ *-emit-llvm -static -c -Wall -g -O0 -mfpu=vfp -mfloat-abi=soft
2013 Mar 18
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
...m 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) >
> MaxInlineWidthInBits);
>
> I don't think it should in your case. That looks like a bug, but I'm
> not an atomic library expert. Can you create a bug in...