Home
last modified time | relevance | path

Searched refs:cpu_exclusive_val (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.c2693 tcg_gen_extr_i128_i64(cpu_exclusive_val, in gen_load_exclusive()
2697 cpu_exclusive_val, t16); in gen_load_exclusive()
2699 tcg_gen_mov_i64(cpu_reg(s, rt), cpu_exclusive_val); in gen_load_exclusive()
2703 tcg_gen_qemu_ld_i64(cpu_exclusive_val, clean_addr, idx, memop); in gen_load_exclusive()
2704 tcg_gen_mov_i64(cpu_reg(s, rt), cpu_exclusive_val); in gen_load_exclusive()
2776 cpu_exclusive_val, tmp, in gen_store_exclusive()
2778 tcg_gen_setcond_i64(TCG_COND_NE, tmp, tmp, cpu_exclusive_val); in gen_store_exclusive()
2786 tcg_gen_concat_i64_i128(c16, cpu_exclusive_val, in gen_store_exclusive()
2791 cpu_exclusive_val); in gen_store_exclusive()
2805 tcg_gen_xor_i64(a, a, cpu_exclusive_val); in gen_store_exclusive()
[all …]
H A Dtranslate.h182 extern TCGv_i64 cpu_exclusive_val;
H A Dtranslate.c52 TCGv_i64 cpu_exclusive_val; variable
76 cpu_exclusive_val = tcg_global_mem_new_i64(tcg_env, in arm_translate_init()
3286 tcg_gen_mov_i64(cpu_exclusive_val, t64); in gen_load_exclusive()
3295 tcg_gen_extu_i32_i64(cpu_exclusive_val, tmp); in gen_load_exclusive()
3353 tcg_gen_atomic_cmpxchg_i64(o64, taddr, cpu_exclusive_val, n64, in gen_store_exclusive()
3356 tcg_gen_setcond_i64(TCG_COND_NE, o64, o64, cpu_exclusive_val); in gen_store_exclusive()
3360 tcg_gen_extrl_i64_i32(t2, cpu_exclusive_val); in gen_store_exclusive()
/openbmc/qemu/target/xtensa/
H A Dtranslate.c91 static TCGv_i32 cpu_exclusive_val; variable
230 cpu_exclusive_val = in xtensa_translate_init()
1658 tcg_gen_mov_i32(cpu_exclusive_val, arg[0].out); in translate_l32ex()
2214 tcg_gen_atomic_cmpxchg_i32(prev, cpu_exclusive_addr, cpu_exclusive_val, in translate_s32ex()
2216 tcg_gen_setcond_i32(TCG_COND_EQ, res, prev, cpu_exclusive_val); in translate_s32ex()
2217 tcg_gen_movcond_i32(TCG_COND_EQ, cpu_exclusive_val, in translate_s32ex()
2218 prev, cpu_exclusive_val, prev, cpu_exclusive_val); in translate_s32ex()