search for: __kernel_dmb

Displaying 3 results from an estimated 3 matches for "__kernel_dmb".

2009 Sep 08
0
[LLVMdev] sys::MemoryFence() using __sync_synchronize() with GCC on ARM does not generate a memory fence
...lti-threading. http://gcc.gnu.org/ml/gcc-patches/2009-08/msg00600.html basically using __sync_synchronize() with GCC on ARM does not generate any code for the fence. For what I know: The only working fix for this issue on Linux would be to create a call to a high address Linux kernel helper named __kernel_dmb located at 0xffff0fa0 that performs the memory fence correctly dependent on what kind of ARM CPU the Linux kernel are built against. I belive ARM Darwin might have a similar issue but i dont know how to fix it on that platform. ARM Darwin gurus please enlighten me how memory barriers are performed...
2012 Oct 23
4
[LLVMdev] Here need your help
...paramters in make_function with the similar action with the following one 3 ,Is there a function similar with "nop" which can return a address in LLVM or Shark , Value* SharkBuilder::memory_barrier() { return make_function( #if defined(ARM) (address) 0xffff0fa0, // __kernel_dmb #else "llvm.memory.barrier", #endif // ARM "11111", "v"); } what's more the Dir of the function is :/openjdk-ecj/hotspot/src/share/vm/shark/sharkBuild.cpp Thank you very much and looking forward to your reply BR//Amiko -------------- next...
2016 May 17
3
llvm-toolchain-3.8 on lower arm targets, specifically Debian armel and Raspbian.
llvm-toolchain-3.8 seems to have problems on debian armel and raspbian. On raspbian it builds but our armv7 contamination checker blocked it from entering the repo. Further investigation showed that "compiler-rt" was being built with -march=armv7 . I was able to remove the -march with some build-system hacker but then I got a failure on