Searched refs:tb_diff (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/misc/macio/ |
H A D | cuda.c | 74 uint64_t tb_diff = muldiv64(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL), in cuda_get_counter_value() local 78 return (tb_diff * 0xBF401675E5DULL) / (cs->tb_frequency << 24); in cuda_get_counter_value()
|
/openbmc/qemu/tcg/ppc/ |
H A D | tcg-target.c.inc | 1139 intptr_t tb_diff; 1155 tb_diff = ppc_tbrel_diff(s, (void *)arg); 1156 if (!in_prologue && USE_REG_TB && tb_diff == (int16_t)tb_diff) { 1157 tcg_out32(s, ADDI | TAI(ret, TCG_REG_TB, tb_diff)); 1232 if (!in_prologue && USE_REG_TB && tb_diff == (int32_t)tb_diff) { 1233 tcg_out_mem_long(s, ADDI, ADD, ret, TCG_REG_TB, tb_diff);
|
/openbmc/qemu/tcg/sparc64/ |
H A D | tcg-target.c.inc | 1241 intptr_t tb_diff = tcg_tbrel_diff(s, (void *)a0); 1242 if (check_fit_ptr(tb_diff, 13)) { 1245 tcg_out_arithi(s, TCG_REG_O0, TCG_REG_O1, tb_diff, ARITH_ADD);
|