/openbmc/linux/tools/testing/selftests/rseq/ |
H A D | rseq.h | 242 intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 248 return rseq_cmpeqv_storev_relaxed_cpu_id(v, expect, newv, cpu); in rseq_cmpeqv_storev() 250 return rseq_cmpeqv_storev_relaxed_mm_cid(v, expect, newv, cpu); in rseq_cmpeqv_storev() 315 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() argument 321 return rseq_cmpeqv_trystorev_storev_relaxed_cpu_id(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev() 323 return rseq_cmpeqv_trystorev_storev_relaxed_mm_cid(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev() 329 return rseq_cmpeqv_trystorev_storev_release_cpu_id(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev() 343 intptr_t newv, int cpu) in rseq_cmpeqv_cmpeqv_storev() argument 349 return rseq_cmpeqv_cmpeqv_storev_relaxed_cpu_id(v, expect, v2, expect2, newv, cpu); in rseq_cmpeqv_cmpeqv_storev() 351 return rseq_cmpeqv_cmpeqv_storev_relaxed_mm_cid(v, expect, v2, expect2, newv, cpu); in rseq_cmpeqv_cmpeqv_storev() [all …]
|
H A D | rseq-arm64-bits.h | 35 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() 44 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 183 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 207 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() 218 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 257 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 282 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() 292 [newv] "r" (newv), in RSEQ_TEMPLATE_IDENTIFIER() 324 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 349 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-riscv-bits.h | 28 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() 37 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 165 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 188 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() 199 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 283 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 307 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() 317 [newv] "r" (newv), in RSEQ_TEMPLATE_IDENTIFIER() 346 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 369 RSEQ_ASM_OP_FINAL_STORE(newv, v, 3) in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-ppc-bits.h | 41 RSEQ_ASM_OP_FINAL_STORE(newv, v, 2) in RSEQ_TEMPLATE_IDENTIFIER() 50 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 209 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 241 RSEQ_ASM_OP_FINAL_STORE(newv, v, 2) in RSEQ_TEMPLATE_IDENTIFIER() 254 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 294 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 327 RSEQ_ASM_OP_FINAL_STORE(newv, v, 2) in RSEQ_TEMPLATE_IDENTIFIER() 340 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 371 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 408 RSEQ_ASM_OP_FINAL_STORE(newv, v, 2) in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-x86-bits.h | 49 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 300 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 339 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 379 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 409 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 485 [newv] "r" (newv), in RSEQ_TEMPLATE_IDENTIFIER() 561 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 756 [newv] "m" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 795 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 840 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-mips-bits.h | 14 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER() 50 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 192 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 238 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 272 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 318 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 344 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 429 [newv] "r" (newv), in RSEQ_TEMPLATE_IDENTIFIER()
|
H A D | rseq-arm-bits.h | 14 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER() 52 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 209 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 259 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 299 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 347 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 379 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 467 [newv] "r" (newv), in RSEQ_TEMPLATE_IDENTIFIER()
|
H A D | rseq-s390-bits.h | 9 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER() 43 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 201 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 245 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 286 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 327 [newv] "r" (newv) in RSEQ_TEMPLATE_IDENTIFIER() 359 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER() 436 [newv] "r" (newv), in RSEQ_TEMPLATE_IDENTIFIER()
|
/openbmc/qemu/tcg/ |
H A D | tcg-op-ldst.c | 835 tcg_gen_movcond_i32(TCG_COND_EQ, t2, t1, t2, newv, t1); in tcg_gen_nonatomic_cmpxchg_i32_int() 848 TCGv_i32 cmpv, TCGv_i32 newv, in tcg_gen_nonatomic_cmpxchg_i32_chk() argument 876 gen(retv, tcg_env, a64, cmpv, newv, tcg_constant_i32(oi)); in tcg_gen_atomic_cmpxchg_i32_int() 885 TCGv_i32 cmpv, TCGv_i32 newv, in tcg_gen_atomic_cmpxchg_i32_chk() argument 917 tcg_gen_movcond_i64(TCG_COND_EQ, t2, t1, t2, newv, t1); in tcg_gen_nonatomic_cmpxchg_i64_int() 930 TCGv_i64 cmpv, TCGv_i64 newv, in tcg_gen_nonatomic_cmpxchg_i64_chk() argument 974 TCGV_LOW(newv), idx, memop); in tcg_gen_atomic_cmpxchg_i64_int() 986 tcg_gen_extrl_i64_i32(n32, newv); in tcg_gen_atomic_cmpxchg_i64_int() 1002 TCGv_i64 cmpv, TCGv_i64 newv, in tcg_gen_atomic_cmpxchg_i64_chk() argument 1038 TCGV128_LOW(newv), TCGV128_LOW(oldv)); in tcg_gen_nonatomic_cmpxchg_i128_int() [all …]
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | cmpxchg-xchg.h | 28 u32 oldv, newv; in __xchg_cmpxchg() local 34 newv = (oldv & ~bitmask) | (x << bitoff); in __xchg_cmpxchg() 35 } while (__cmpxchg_u32(p, oldv, newv) != oldv); in __xchg_cmpxchg()
|
/openbmc/qemu/hw/xtensa/ |
H A D | mx_pic.c | 189 uint32_t oldv, newv; in xtensa_mx_pic_ext_reg_write() local 197 newv = mx->mieng; in xtensa_mx_pic_ext_reg_write() 205 newv = mx->mieng; in xtensa_mx_pic_ext_reg_write() 213 newv = mx->miasg; in xtensa_mx_pic_ext_reg_write() 221 newv = mx->miasg; in xtensa_mx_pic_ext_reg_write() 229 newv = mx->mipipart; in xtensa_mx_pic_ext_reg_write() 237 newv = mx->runstall; in xtensa_mx_pic_ext_reg_write() 260 oldv, newv); in xtensa_mx_pic_ext_reg_write()
|
/openbmc/qemu/accel/tcg/ |
H A D | atomic_template.h | 73 ABI_TYPE cmpv, ABI_TYPE newv, in ATOMIC_NAME() 81 ret = atomic16_cmpxchg(haddr, cmpv, newv); in ATOMIC_NAME() 83 ret = qatomic_cmpxchg__nocheck(haddr, cmpv, newv); in ATOMIC_NAME() 178 ABI_TYPE cmpv, ABI_TYPE newv, 186 ret = atomic16_cmpxchg(haddr, BSWAP(cmpv), BSWAP(newv)); 188 ret = qatomic_cmpxchg__nocheck(haddr, BSWAP(cmpv), BSWAP(newv));
|
H A D | atomic_common.c.inc | 30 TYPE oldv, TYPE newv, uint32_t oi) \ 31 { return cpu_atomic_##OP##_mmu(env, addr, oldv, newv, oi, GETPC()); } 52 Int128 cmpv, Int128 newv, uint32_t oi) 60 cpu_st16_mmu(env, addr, newv, oi, ra);
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | cmpxchg.h | 102 u32 oldv, newv; in xchg_small() local 108 newv = (oldv & ~bitmask) | (x << bitoff); in xchg_small() 109 } while (cmpxchg_u32(p, oldv, newv) != oldv); in xchg_small()
|
/openbmc/qemu/include/exec/ |
H A D | cpu_ldst.h | 222 uint32_t cmpv, uint32_t newv, 225 uint32_t cmpv, uint32_t newv, 228 uint32_t cmpv, uint32_t newv, 231 uint64_t cmpv, uint64_t newv, 234 uint32_t cmpv, uint32_t newv, 237 uint32_t cmpv, uint32_t newv, 240 uint64_t cmpv, uint64_t newv, 292 Int128 cmpv, Int128 newv, 295 Int128 cmpv, Int128 newv,
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 185 u32 oldv, newv; in xchg_small() local 191 newv = (oldv & ~bitmask) | (x << bitoff); in xchg_small() 192 } while (__cmpxchg_u32(p, oldv, newv) != oldv); in xchg_small()
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_privileged.c.inc | 248 TCGv src1, mask, oldv, newv, temp; 272 newv = tcg_temp_new(); 276 tcg_gen_and_tl(newv, src1, mask); 278 tcg_gen_or_tl(newv, newv, temp); 281 csr->writefn(oldv, tcg_env, newv); 283 tcg_gen_st_tl(newv, tcg_env, csr->offset);
|
/openbmc/qemu/target/hexagon/ |
H A D | hex_common.py | 733 newv = hvx_newv(tag) 803 newv = hvx_newv(tag) 838 newv = hvx_newv(tag) 864 newv = hvx_newv(tag) 930 newv = hvx_newv(tag)
|
/openbmc/qemu/target/i386/tcg/ |
H A D | emit.c.inc | 1486 TCGv newv = tcg_temp_new(); 1543 tcg_gen_and_tl(s->tmp0, s->tmp0, newv); 1565 tcg_gen_add_tl(newv, s->cc_srcT, s->T1); 1566 tcg_gen_movcond_tl(cond, newv, cmp_lhs, cmp_rhs, newv, s->cc_srcT); 1599 TCGv newv = tcg_temp_new(); 1603 tcg_gen_ext_tl(newv, s->T1, ot); 1616 tcg_gen_movcond_tl(TCG_COND_EQ, newv, oldv, cmpv, newv, oldv); 1617 gen_op_st_v(s, ot, newv, s->A0); 1628 dest = gen_op_deposit_reg_v(s, ot, decode->op[0].n, newv, newv); 2463 TCGv newv = tcg_temp_new(); [all …]
|
/openbmc/qemu/target/sparc/ |
H A D | translate.c | 1894 TCGv oldv, TCGv newv, TCGv cmpv, TCGv addr) in gen_cas_asi() argument 1900 tcg_gen_atomic_cmpxchg_tl(oldv, addr, cmpv, newv, in gen_cas_asi()
|