| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| 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()
|
| D | sanitizer_atomic_clang.h | 75 typename T::Type xchg, in atomic_compare_exchange_strong() argument 80 prev = __sync_val_compare_and_swap(&a->val_dont_use, cmpv, xchg); in atomic_compare_exchange_strong() 89 typename T::Type xchg, in atomic_compare_exchange_weak() argument 91 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
| 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()
|
| /freebsd-12-stable/sys/dev/pms/RefTisa/tisa/sassata/sas/tgt/ |
| D | ttdglobl.h | 62 #define TD_XCHG_GET_STATE(xchg) (xchg->state) argument 63 #define TD_XCHG_SET_STATE(xchg, val) (xchg->state) = (val) argument
|
| /freebsd-12-stable/contrib/gcc/config/i386/ |
| 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}")
|
| /freebsd-12-stable/crypto/openssl/crypto/perlasm/ |
| D | x86asm.pl | 60 &xchg(&HB(@_),&LB(@_)); 62 &xchg(&HB(@_),&LB(@_)); 73 sub ::exch { &xchg(@_); }
|
| /freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/ |
| D | z_Windows_NT-586_asm.asm | 257 lock xchg BYTE PTR [ecx], al 278 lock xchg WORD PTR [ecx], ax 299 lock xchg DWORD PTR [ecx], eax 333 lock xchg DWORD PTR [esi], eax 844 lock xchg BYTE PTR [rcx], al 869 lock xchg WORD PTR [rcx], ax 893 lock xchg DWORD PTR [rcx], eax 917 lock xchg QWORD PTR [rcx], rax 1085 lock xchg DWORD PTR [rcx], eax 1112 lock xchg QWORD PTR [rcx], rax
|
| /freebsd-12-stable/crypto/openssl/crypto/aes/asm/ |
| D | vpaes-x86.pl | 766 &xchg ($base,"esp"); # alloca 790 &xchg ($base,"esp"); # alloca 823 &xchg ($base,"esp"); # alloca 842 &xchg ($base,"esp"); # alloca 863 &xchg ($base,"esp"); # alloca
|
| /freebsd-12-stable/contrib/gcc/ |
| 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()
|
| /freebsd-12-stable/crypto/openssl/crypto/bn/asm/ |
| D | via-mont.pl | 147 &xchg ("ebp","esp"); # alloca
|
| /freebsd-12-stable/crypto/openssl/crypto/sha/ |
| D | sha512.c | 461 _asm xchg dh, dl in __pull64be() 462 _asm xchg ah, al in __pull64be() 465 _asm xchg dh, dl in __pull64be() 466 _asm xchg ah, al in __pull64be()
|
| /freebsd-12-stable/stand/i386/boot2/ |
| D | boot1.S | 320 xchg %ax,%cx # number 342 xchg %bx,%ax # Block count
|
| /freebsd-12-stable/sys/netinet/ |
| D | tcp_subr.c | 1383 #define xchg(a,b,type) { type t; t=a; a=b; b=t; } in tcp_respond() macro 1389 xchg(ip6->ip6_dst, ip6->ip6_src, struct in6_addr); in tcp_respond() 1396 xchg(ip->ip_dst.s_addr, ip->ip_src.s_addr, uint32_t); in tcp_respond() 1400 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond() 1415 xchg(ip6->ip6_dst, ip6->ip6_src, struct in6_addr); in tcp_respond() 1420 xchg(ip->ip_dst.s_addr, ip->ip_src.s_addr, uint32_t); in tcp_respond() 1432 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond() 1433 #undef xchg in tcp_respond()
|
| /freebsd-12-stable/sys/compat/linuxkpi/common/include/asm/ |
| D | atomic.h | 234 #define xchg(ptr, new) ({ \ macro
|
| /freebsd-12-stable/stand/i386/btx/btx/ |
| D | btx.S | 166 xchg %ax,%cx # as word 169 xchg %ax,%dx # P:DPL:type 171 xchg %ax,%bx # set
|
| /freebsd-12-stable/contrib/gcc/config/ia64/ |
| D | sync.md | 169 "xchg<modesuffix> %0 = %1, %2"
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86InstrInfo.td | 2086 // Atomic swap. These are just normal xchg instructions. But since a memory 2119 defm XCHG : ATOMIC_SWAP<0x86, 0x87, "xchg", "atomic_swap">, NotMemoryFoldable; 2126 "xchg{b}\t{$src2, $src1|$src1, $src2}", []>, NotMemoryFoldable; 2129 "xchg{w}\t{$src2, $src1|$src1, $src2}", []>, 2133 "xchg{l}\t{$src2, $src1|$src1, $src2}", []>, 2137 "xchg{q}\t{$src2, $src1|$src1, $src2}", []>, NotMemoryFoldable; 2144 "xchg{w}\t{$src, %ax|ax, $src}", []>, OpSize16; 2147 "xchg{l}\t{$src, %eax|eax, $src}", []>, OpSize32; 2150 "xchg{q}\t{$src, %rax|rax, $src}", []>; 3692 // xchg: We accept "xchgX <reg>, <mem>" and "xchgX <mem>, <reg>" as synonyms. [all …]
|
| /freebsd-12-stable/contrib/binutils/opcodes/ |
| 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
|
| D | i386-opc.tbl | 97 // xchg commutes: we allow both operand orders. 99 // In the 64bit code, xchg rax, rax is reused for new nop instruction. 100 xchg, 2, 0x90, None, 0, ShortForm|No_bSuf|No_sSuf|No_xSuf, { Reg16|Reg32|Reg64, Acc } 101 xchg, 2, 0x90, None, 0, ShortForm|No_bSuf|No_sSuf|No_xSuf, { Acc, Reg16|Reg32|Reg64 } 102 xchg, 2, 0x86, None, 0, W|Modrm|No_sSuf|No_xSuf, { Reg8|Reg16|Reg32|Reg64, Reg8|Reg16|Reg32|Reg64|B… 103 xchg, 2, 0x86, None, 0, W|Modrm|No_sSuf|No_xSuf, { Reg8|Reg16|Reg32|Reg64|BaseIndex|Disp8|Disp16|Di… 473 // nop is actually "xchg %ax,%ax" in 16bit mode, "xchg %eax,%eax" in 474 // 32bit mode and "xchg %rax,%rax" in 64bit mode.
|
| D | ChangeLog | 432 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
|
| /freebsd-12-stable/sys/geom/part/ |
| D | g_part.c | 2354 uintptr_t *xchg; in g_part_unload_event() local 2360 xchg = arg; in g_part_unload_event() 2362 scheme = (void *)(*xchg); in g_part_unload_event() 2386 *xchg = error; in g_part_unload_event()
|
| /freebsd-12-stable/sys/dev/mlx5/mlx5_core/ |
| D | mlx5_health.c | 274 if (xchg(&dev->state, MLX5_DEVICE_STATE_INTERNAL_ERROR) == in mlx5_enter_error_state()
|
| /freebsd-12-stable/contrib/binutils/gas/ |
| D | ChangeLog | 682 xchg for xchg %rax,%rax. 693 "xchg %eax, %eax".
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/ |
| D | LLLexer.cpp | 728 KEYWORD(xchg); KEYWORD(nand); KEYWORD(max); KEYWORD(min); KEYWORD(umax); in LexIdentifier()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyInstrAtomics.td | 547 WebAssemblyBinRMW<I32, "i32.atomic.rmw.xchg", 0x41>; 549 WebAssemblyBinRMW<I64, "i64.atomic.rmw.xchg", 0x42>;
|