Home
last modified time | relevance | path

Searched refs:cmpxchg (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
H A DLocked.cpp346 __ 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 DLocked.cpp373 __ 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 DMakefile2 obj-m += test-cmpxchg-nolock.o
H A Dtest-cmpxchg-nolock.c21 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 Dmixtest.c57 #define cmpxchg(ptr,o,n)\ macro
168 if (cmpxchg(dst, 0, 1) == 0) in mix_areas2()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_module.c2991 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 Ddxil_internal.h246 struct dxil_instr_cmpxchg cmpxchg; member
/third_party/mesa3d/src/freedreno/ir3/
H A Ddisasm-a3xx.c346 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 DLLLexer.cpp512 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 Dmidgard_compile.c2171 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 DIceAssemblerX8632.h856 void cmpxchg(Type Ty, const AsmAddress &address, GPRRegister reg,
H A DIceAssemblerX8664.h852 void cmpxchg(Type Ty, const AsmAddress &address, GPRRegister reg,
H A DIceInstX8632.cpp1465 "cmpxchg"
1483 Asm->cmpxchg(Ty, Addr, Reg, this->Locked);
1493 Str << "cmpxchg." << this->getSrc(0)->getType() << " ";
H A DIceInstX8664.cpp1467 "cmpxchg"
1485 Asm->cmpxchg(Ty, Addr, Reg, this->Locked);
1495 Str << "cmpxchg." << this->getSrc(0)->getType() << " ";
H A DIceAssemblerX8632.cpp2933 void AssemblerX8632::cmpxchg(Type Ty, const AsmAddress &address, in cmpxchg() function in Ice::X8632::AssemblerX8632
H A DIceAssemblerX8664.cpp3088 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 Dcode-generator-ia32.cc3598 __ 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 Dassembler-ia32.h557 void cmpxchg(Operand dst, Register src);
H A Dassembler-ia32.cc798 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 Dliftoff-assembler-ia32.h747 // 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 Dassembler-x64.h298 V(cmpxchg) \

Completed in 61 milliseconds