search for: atomiccmpswap

Displaying 4 results from an estimated 4 matches for "atomiccmpswap".

2011 Mar 10
3
[LLVMdev] Building VMKit
...oday (a Sheevaplug - armv5te) (native, not cross compiled), and got this error: llvm[3]: Building LLVM assembly with /home/debio/build/vmkit-build/vmkit/lib/Mvm/Runtime/LLVMAssembly.ll /home/debio/build/vmkit-build/vmkit/lib/Mvm/Runtime/LLVMAssembly64.ll ExpandIntegerResult #0: 0x16fbf88: i64,ch = AtomicCmpSwap 0x16e8d84, 0x16fbf00, 0x16fc3c8, 0x16fc1a8<Volatile LDST8[%ptr]> [ORD=4] [ID=0] Do not know how to expand the result of this operator! UNREACHABLE executed at LegalizeIntegerTypes.cpp:982! Stack dump: 0. Program arguments: /home/debio/build/vmkit-build/vmkit/../llvm//Debug+Asserts/bin/l...
2009 Mar 27
0
[LLVMdev] atomic operations for ARM
...;llvm-as | llc". With the above definition I expected "do_something" to appears in the assembler output when -march=arm. Unfortunately atm I still get the error, telling me that the selection failed: llvm-as < Atomics-32.ll | llc -march=arm Cannot yet select: 0x1f7c540: i32,ch = AtomicCmpSwap 0x1f7cd00:1, 0x1f7cd00, 0x1f7c448, 0x1f7c350 <0x1f6fbe8:0> <volatile> alignment=4 Stack dump: 0. Program arguments: llc -march=arm 1. Running pass 'ARM Instruction Selection' on function '@test_compare_and_swap' I took a look at how the atomic_compare_swap implementatio...
2009 Mar 26
3
[LLVMdev] atomic operations for ARM
Hi, I am missing atomic operations support for the ARM backend (see PR #3887) and started trying to implement them. Since this is the first time that I work on such stuff (and llvm) I am going to take the supposedly easy route and provide an implementation that will work on Linux systems. This involves calling a special function which the kernel handles itself. Details here:
2009 Mar 27
1
[LLVMdev] atomic operations for ARM
...ith the above definition I expected "do_something" to appears in the > assembler output when -march=arm. Unfortunately atm I still get the > error, telling me that the selection failed: > > llvm-as < Atomics-32.ll | llc -march=arm > Cannot yet select: 0x1f7c540: i32,ch = AtomicCmpSwap 0x1f7cd00:1, > 0x1f7cd00, 0x1f7c448, 0x1f7c350 <0x1f6fbe8:0> <volatile> alignment=4 > Stack dump: > 0. Program arguments: llc -march=arm > 1. Running pass 'ARM Instruction Selection' on function > '@test_compare_and_swap' It's hard to guess what the p...