Displaying 3 results from an estimated 3 matches for "__sync_fetch_and_add_16".
2008 Feb 27
0
[LLVMdev] ABI for i128 on x86-32?
> Anton mentioned that Fortran uses i128 on 32-bit systems, Anton do you
> know if they can be returned, and if so what ABI they use?
Looks like, that warning is generated during emission of decl of
__sync_fetch_and_add_16. I don't have any gcc 4.2.x+ here, so if
somebody have it available on 32-bit machine - please check the stuff.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2008 Feb 27
6
[LLVMdev] ABI for i128 on x86-32?
Hello,
Does anyone know of any precedent for handling i128 in the
calling convention on x86-32? I'm trying to write a testcase
that returns an i128 value, and LLVM currently has only two
32-bit GPRs designated for returning integer values on x86-32.
Dan
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...+2,7 @@
define void @test(i128* %a) nounwind {
entry:
; CHECK: __sync_val_compare_and_swap_16
- %0 = cmpxchg i128* %a, i128 1, i128 1 seq_cst
+ %0 = cmpxchg i128* %a, i128 1, i128 1 seq_cst seq_cst
; CHECK: __sync_lock_test_and_set_16
%1 = atomicrmw xchg i128* %a, i128 1 seq_cst
; CHECK: __sync_fetch_and_add_16
diff --git a/test/Instrumentation/AddressSanitizer/test64.ll b/test/Instrumentation/AddressSanitizer/test64.ll
index 5b30fae..6390644 100644
--- a/test/Instrumentation/AddressSanitizer/test64.ll
+++ b/test/Instrumentation/AddressSanitizer/test64.ll
@@ -26,7 +26,7 @@ entry:
define void @example_c...