/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_atomic_msvc.h | 196 uptr xchg, in atomic_compare_exchange_strong() argument 200 (void*volatile*)&a->val_dont_use, (void*)xchg, (void*)cmpv); in atomic_compare_exchange_strong() 209 u16 xchg, in atomic_compare_exchange_strong() argument 213 (volatile short*)&a->val_dont_use, (short)xchg, (short)cmpv); in atomic_compare_exchange_strong() 222 u32 xchg, in atomic_compare_exchange_strong() argument 226 (volatile long*)&a->val_dont_use, (long)xchg, (long)cmpv); in atomic_compare_exchange_strong() 235 u64 xchg, in atomic_compare_exchange_strong() argument 239 (volatile long long*)&a->val_dont_use, (long long)xchg, (long long)cmpv); in atomic_compare_exchange_strong() 249 typename T::Type xchg, in atomic_compare_exchange_weak() argument 251 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
H A D | sanitizer_atomic_clang.h | 75 typename T::Type xchg, in atomic_compare_exchange_strong() argument 81 return __atomic_compare_exchange(&a->val_dont_use, cmp, &xchg, false, in atomic_compare_exchange_strong() 88 typename T::Type xchg, in atomic_compare_exchange_weak() argument 90 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
H A D | sanitizer_atomic_clang_mips.h | 67 atomic_uint64_t::Type xchg, in atomic_compare_exchange_strong() argument 82 ptr->val_dont_use = xchg; in atomic_compare_exchange_strong()
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_dense_alloc.h | 133 u64 xchg; in Refill() local 140 xchg = ptr->next | (cmp & kCounterMask); in Refill() 141 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg, in Refill() 161 u64 xchg; in Drain() local 165 xchg = head_idx | (cmp & kCounterMask) + kCounterInc; in Drain() 166 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg, in Drain()
|
/openbsd/lib/libcrypto/perlasm/ |
H A D | x86asm.pl | 60 &xchg(&HB(@_),&LB(@_)); 62 &xchg(&HB(@_),&LB(@_)); 73 sub ::exch { &xchg(@_); }
|
/openbsd/gnu/gcc/gcc/config/i386/ |
H A D | sync.md | 104 ;; operand 4. This breaks, as the xchg will move the PIC register contents 122 "xchg{l}\t%%ebx, %3\;lock\;cmpxchg8b\t%1\;xchg{l}\t%%ebx, %3") 220 "xchg{l}\t%%ebx, %3\;lock\;cmpxchg8b\t%1\;xchg{l}\t%%ebx, %3") 233 ;; Recall that xchg implicitly sets LOCK#, so adding it again wastes space. 241 "xchg{<modesuffix>}\t{%1, %0|%0, %1}")
|
/openbsd/lib/libcrypto/aes/asm/ |
H A D | vpaes-x86.pl | 753 &xchg ($base,"esp"); # alloca 779 &xchg ($base,"esp"); # alloca 816 &xchg ($base,"esp"); # alloca 837 &xchg ($base,"esp"); # alloca 858 &xchg ($base,"esp"); # alloca
|
/openbsd/sys/dev/pci/drm/i915/ |
H A D | intel_wakeref.c | 34 wakeref = xchg(&wf->wakeref, 0); in __intel_wakeref_get_first() 64 wakeref = xchg(&wf->wakeref, 0); in ____intel_wakeref_put_last()
|
H A D | i915_sw_fence.c | 433 fence = xchg(&cb->base.fence, NULL); in timer_i915_sw_fence_wake() 454 fence = xchg(&cb->base.fence, NULL); in dma_i915_sw_fence_wake_timer()
|
/openbsd/sys/dev/pci/drm/i915/gt/ |
H A D | intel_gt_requests.c | 64 struct intel_timeline *tl = xchg(&engine->retire, NULL); in engine_retire() 67 struct intel_timeline *next = xchg(&tl->retire, NULL); in engine_retire()
|
H A D | intel_engine_heartbeat.c | 214 if (xchg(&engine->heartbeat.blocked, serial) == serial) in heartbeat() 301 old = xchg(&engine->props.heartbeat_interval_ms, delay); in set_heartbeat()
|
H A D | intel_gt_buffer_pool.c | 64 if (!xchg(&node->age, 0)) in pool_free_older_than()
|
H A D | intel_ggtt_fencing.c | 232 old = xchg(&fence->vma, NULL); in fence_update()
|
H A D | selftest_hangcheck.c | 1857 error = xchg(&global->first_error, (void *)-1); in igt_handle_error() 1861 xchg(&global->first_error, error); in igt_handle_error()
|
/openbsd/sys/dev/pci/drm/include/linux/ |
H A D | atomic.h | 90 #define xchg(v, n) __sync_lock_test_and_set(v, n) macro 409 #define __smp_store_mb(var, value) do { (void)xchg(&var, value); } while (0) 419 #define __smp_store_mb(var, value) do { (void)xchg(&var, value); } while (0)
|
/openbsd/sys/netinet/ |
H A D | tcp_subr.c | 326 #define xchg(a,b,type) do { type t; t=a; a=b; b=t; } while (0) in tcp_respond() macro 336 xchg(ip6->ip6_dst, ip6->ip6_src, struct in6_addr); in tcp_respond() 349 xchg(ip->ip_dst.s_addr, ip->ip_src.s_addr, u_int32_t); in tcp_respond() 356 xchg(th->th_dport, th->th_sport, u_int16_t); in tcp_respond() 359 #undef xchg in tcp_respond()
|
/openbsd/gnu/gcc/gcc/ |
H A D | gthr-win32.h | 379 __gthr_i486_lock_cmp_xchg(long *dest, long xchg, long comperand) in __gthr_i486_lock_cmp_xchg() argument 386 : "0" (comperand), "m" (*dest), "r" (xchg) in __gthr_i486_lock_cmp_xchg()
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | run_amd64.S | 34 xchg %bx, %bx
|
/openbsd/gnu/gcc/gcc/config/ia64/ |
H A D | sync.md | 169 "xchg<modesuffix> %0 = %1, %2"
|
/openbsd/sys/dev/pci/drm/i915/selftests/ |
H A D | i915_active.c | 320 fence = xchg(__active_fence_slot(active), NULL); in active_flush()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.td | 2144 "xchg{w}\t{$src2, $src1|$src1, $src2}", []>, 2148 "xchg{l}\t{$src2, $src1|$src1, $src2}", []>, 2159 "xchg{w}\t{$src, %ax|ax, $src}", []>, OpSize16; 2162 "xchg{l}\t{$src, %eax|eax, $src}", []>, OpSize32; 2165 "xchg{q}\t{$src, %rax|rax, $src}", []>; 3769 def : InstAlias<"xchg{b}\t{$mem, $val|$val, $mem}", 3771 def : InstAlias<"xchg{w}\t{$mem, $val|$val, $mem}", 3773 def : InstAlias<"xchg{l}\t{$mem, $val|$val, $mem}", 3775 def : InstAlias<"xchg{q}\t{$mem, $val|$val, $mem}", 3786 def : InstAlias<"xchg{l}\t{%eax, %eax|eax, eax}", [all …]
|
/openbsd/gnu/usr.bin/binutils/opcodes/ |
H A D | ia64-ic.tbl | 62 mem-readers-int; IC:cmpxchg, IC:fetchadd, IC:xchg, IC:ld 66 mem-writers-int; IC:cmpxchg, IC:fetchadd, IC:xchg, IC:st 220 … sub, sum, IC:sxt, sync, tak, tbit, thash, tnat, tpa, ttag, IC:unpack, IC:xchg, xma, xmpy, xor, IC… 249 xchg; xchg1, xchg2, xchg4, xchg8
|
/openbsd/gnu/usr.bin/binutils-2.17/opcodes/ |
H A D | ia64-ic.tbl | 62 mem-readers-int; IC:cmpxchg, IC:fetchadd, IC:xchg, IC:ld 66 mem-writers-int; IC:cmpxchg, IC:fetchadd, IC:xchg, IC:st 223 …, sum, IC:sxt, sync, tak, tbit, tf, thash, tnat, tpa, ttag, IC:unpack, IC:xchg, xma, xmpy, xor, IC… 252 xchg; xchg1, xchg2, xchg4, xchg8
|
/openbsd/gnu/llvm/llvm/utils/vim/syntax/ |
H A D | llvm.vim | 37 syn keyword llvmStatement urem va_arg xchg xor zext
|
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrAtomics.td | 323 WebAssemblyBinRMW<I32, "i32.atomic.rmw.xchg", 0x41>; 325 WebAssemblyBinRMW<I64, "i64.atomic.rmw.xchg", 0x42>;
|