/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
H A D | Locked.cpp | 346 __ cmpxchg(IceType_i##Size, dwordAddress(T0), \ in TEST_F() 401 // Ensures that cmpxchg emits a lock prefix accordingly. in TEST_F() 403 __ cmpxchg(IceType_i8, Address(0x1FF00, AssemblerFixup::NoFixup), in TEST_F() 411 __ cmpxchg(IceType_i8, Address(0x1FF00, AssemblerFixup::NoFixup), in TEST_F() 421 __ cmpxchg(IceType_i16, Address(0x1FF00, AssemblerFixup::NoFixup), in TEST_F() 429 __ cmpxchg(IceType_i16, Address(0x1FF00, AssemblerFixup::NoFixup), in TEST_F() 439 __ cmpxchg(IceType_i32, Address(0x1FF00, AssemblerFixup::NoFixup), in TEST_F() 447 __ cmpxchg(IceType_i32, Address(0x1FF00, AssemblerFixup::NoFixup), in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
H A D | Locked.cpp | 373 __ cmpxchg(IceType_i##Size, dwordAddress(T0), Encoded_GPR_##Src(), \ in TEST_F() 442 // Ensures that cmpxchg emits a lock prefix accordingly. in TEST_F() 444 __ cmpxchg(IceType_i8, Address::Absolute(0x1FF00), Encoded_GPR_r14(), in TEST_F() 453 __ cmpxchg(IceType_i8, Address::Absolute(0x1FF00), Encoded_GPR_r14(), in TEST_F() 464 __ cmpxchg(IceType_i16, Address::Absolute(0x1FF00), Encoded_GPR_r14(), in TEST_F() 473 __ cmpxchg(IceType_i16, Address::Absolute(0x1FF00), Encoded_GPR_r14(), in TEST_F() 484 __ cmpxchg(IceType_i32, Address::Absolute(0x1FF00), Encoded_GPR_r14(), in TEST_F() 493 __ cmpxchg(IceType_i32, Address::Absolute(0x1FF00), Encoded_GPR_r14(), in TEST_F()
|
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/ |
H A D | Makefile | 2 obj-m += test-cmpxchg-nolock.o
|
H A D | test-cmpxchg-nolock.c | 21 insmod test-cmpxchg-nolock.ko 22 insmod: error inserting 'test-cmpxchg-nolock.ko': 27 /* test-cmpxchg-nolock.c 29 * Compare local cmpxchg with irq disable / enable. 85 ret = cmpxchg(&test_val, 0, 0); in do_test_sync_cmpxchg() 93 printk(KERN_ALERT "test results: time for locked cmpxchg\n"); in do_test_sync_cmpxchg() 97 printk(KERN_ALERT "-> locked cmpxchg takes %llu cycles\n", time); in do_test_sync_cmpxchg() 120 printk(KERN_ALERT "test results: time for non locked cmpxchg\n"); in do_test_cmpxchg() 124 printk(KERN_ALERT "-> non locked cmpxchg takes %llu cycles\n", time); in do_test_cmpxchg()
|
/third_party/alsa-lib/test/ |
H A D | mixtest.c | 57 #define cmpxchg(ptr,o,n)\ macro 168 if (cmpxchg(dst, 0, 1) == 0) in mix_areas2()
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_module.c | 2991 instr->cmpxchg.cmpval = cmpval; in dxil_emit_cmpxchg() 2992 instr->cmpxchg.newval = newval; in dxil_emit_cmpxchg() 2993 instr->cmpxchg.ptr = ptr; in dxil_emit_cmpxchg() 2994 instr->cmpxchg.is_volatile = is_volatile; in dxil_emit_cmpxchg() 2995 instr->cmpxchg.ordering = ordering; in dxil_emit_cmpxchg() 2996 instr->cmpxchg.syncscope = syncscope; in dxil_emit_cmpxchg() 3278 assert(instr->value.id > instr->cmpxchg.cmpval->id); in emit_cmpxchg() 3279 assert(instr->value.id > instr->cmpxchg.newval->id); in emit_cmpxchg() 3280 assert(instr->value.id > instr->cmpxchg.ptr->id); in emit_cmpxchg() 3282 instr->value.id - instr->cmpxchg in emit_cmpxchg() [all...] |
H A D | dxil_internal.h | 246 struct dxil_instr_cmpxchg cmpxchg; member
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | disasm-a3xx.c | 346 OPC(6, OPC_ATOMIC_CMPXCHG, atomic.cmpxchg), 357 OPC(6, OPC_ATOMIC_B_CMPXCHG, atomic.b.cmpxchg), 368 OPC(6, OPC_ATOMIC_S_CMPXCHG, atomic.s.cmpxchg), 379 OPC(6, OPC_ATOMIC_G_CMPXCHG, atomic.g.cmpxchg),
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 512 KEYWORD(weak); // Use as a linkage, and a modifier for "cmpxchg". in LexIdentifier() 881 INSTKEYWORD(cmpxchg, AtomicCmpXchg); in LexIdentifier()
|
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_compile.c | 2171 ATOMIC_CASE(ctx, instr, comp_swap, cmpxchg); in emit_intrinsic() 2182 IMAGE_ATOMIC_CASE(ctx, instr, comp_swap, cmpxchg); in emit_intrinsic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceAssemblerX8632.h | 856 void cmpxchg(Type Ty, const AsmAddress &address, GPRRegister reg,
|
H A D | IceAssemblerX8664.h | 852 void cmpxchg(Type Ty, const AsmAddress &address, GPRRegister reg,
|
H A D | IceInstX8632.cpp | 1465 "cmpxchg" 1483 Asm->cmpxchg(Ty, Addr, Reg, this->Locked); 1493 Str << "cmpxchg." << this->getSrc(0)->getType() << " ";
|
H A D | IceInstX8664.cpp | 1467 "cmpxchg" 1485 Asm->cmpxchg(Ty, Addr, Reg, this->Locked); 1495 Str << "cmpxchg." << this->getSrc(0)->getType() << " ";
|
H A D | IceAssemblerX8632.cpp | 2933 void AssemblerX8632::cmpxchg(Type Ty, const AsmAddress &address, in cmpxchg() function in Ice::X8632::AssemblerX8632
|
H A D | IceAssemblerX8664.cpp | 3088 void AssemblerX8664::cmpxchg(Type Ty, const AsmAddress &address, in cmpxchg() function in Ice::X8664::AssemblerX8664
|
/third_party/node/deps/v8/src/compiler/backend/ia32/ |
H A D | code-generator-ia32.cc | 3598 __ cmpxchg(i.MemoryOperand(2), i.InputRegister(1)); in AssembleArchInstruction() 3633 ASSEMBLE_ATOMIC_BINOP(inst, mov, cmpxchg); \ in AssembleArchInstruction()
|
/third_party/node/deps/v8/src/codegen/ia32/ |
H A D | assembler-ia32.h | 557 void cmpxchg(Operand dst, Register src);
|
H A D | assembler-ia32.cc | 798 void Assembler::cmpxchg(Operand dst, Register src) { in cmpxchg() function in v8::internal::Assembler
|
/third_party/node/deps/v8/src/wasm/baseline/ia32/ |
H A D | liftoff-assembler-ia32.h | 747 // The cmpxchg instruction uses eax to store the old value of the in AtomicBinop32() 829 __ cmpxchg(dst_op, scratch); in AtomicBinop32() 1035 // The cmpxchg instruction uses eax to store the old value of the in AtomicCompareExchange() 1077 cmpxchg(dst_op, value_reg); in AtomicCompareExchange()
|
/third_party/node/deps/v8/src/codegen/x64/ |
H A D | assembler-x64.h | 298 V(cmpxchg) \
|