/openbmc/qemu/target/tricore/ |
H A D | op_helper.c | 267 int64_t t1 = sextract64(r1, 0, 32); in helper_add_ssov() 268 int64_t t2 = sextract64(r2, 0, 32); in helper_add_ssov() 423 int64_t t1 = sextract64(r1, 0, 32); in helper_sub_ssov() 424 int64_t t2 = sextract64(r2, 0, 32); in helper_sub_ssov() 578 int64_t t1 = sextract64(r1, 0, 32); in helper_mul_ssov() 579 int64_t t2 = sextract64(r2, 0, 32); in helper_mul_ssov() 597 int64_t t1 = sextract64(r1, 0, 32); in helper_sha_ssov() 598 int32_t t2 = sextract64(r2, 0, 6); in helper_sha_ssov() 633 int64_t t1 = sextract64(r1, 0, 32); in helper_absdif_ssov() 634 int64_t t2 = sextract64(r2, 0, 32); in helper_absdif_ssov() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | instmap.h | 305 | (sextract64(inst, 31, 1) << 12)) 308 | (sextract64(inst, 25, 7) << 5)) 313 | (sextract64(inst, 31, 1) << 20)) 322 #define GET_IMM(inst) sextract64(inst, 20, 12) 332 | (sextract64(inst, 12, 1) << 5)) 343 | (sextract64(inst, 12, 1) << 9)) 368 | (sextract64(inst, 12, 1) << 11)) 373 | (sextract64(inst, 12, 1) << 8))
|
/openbmc/qemu/target/hppa/ |
H A D | op_helper.c | 369 int f1 = sextract64(r1, i, 16); in HELPER() 370 int f2 = sextract64(r2, i, 16); in HELPER() 386 int f2 = sextract64(r2, i, 16); in HELPER() 415 int f1 = sextract64(r1, i, 16); in HELPER() 416 int f2 = sextract64(r2, i, 16); in HELPER() 432 int f2 = sextract64(r2, i, 16); in HELPER() 447 int f1 = sextract64(r1, i, 16); in HELPER() 448 int f2 = sextract64(r2, i, 16); in HELPER() 463 int f1 = sextract64(r1, i, 16); in HELPER() 464 int f2 = sextract64(r2, i, 16); in HELPER()
|
H A D | mem_helper.c | 43 return sextract64(addr, 0, TARGET_PHYS_ADDR_SPACE_BITS); in hppa_abs_to_phys_pa2_w1() 547 ent->pa = sextract64(ent->pa, 0, TARGET_PHYS_ADDR_SPACE_BITS); in itlbt_pa20()
|
/openbmc/qemu/tests/unit/ |
H A D | test-bitops.c | 55 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64() 62 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | pauth_helper.c | 339 ext = sextract64(ptr, 55, 1); in pauth_addpac() 341 ext = sextract64(ptr, 63, 1); in pauth_addpac() 355 test = sextract64(ptr, bot_bit, top_bit - bot_bit); in pauth_addpac() 433 && ((result ^ sextract64(result, 55, 1)) & cmp_mask)) { in pauth_auth()
|
H A D | helper-a64.c | 873 new_pc = sextract64(new_pc, 0, 56); in HELPER()
|
H A D | mve_helper.c | 2452 extval = sextract64(val, 0, 48); in do_sqrshl48_d() 2457 extval = sextract64(src << shift, 0, 48); in do_sqrshl48_d()
|
/openbmc/qemu/target/arm/ |
H A D | hyp_gdbstub.c | 61 .bvr = sextract64(addr, 0, 53) in insert_hw_breakpoint()
|
H A D | internals.h | 1577 ptr &= sextract64(ptr, 0, 56); in useronly_clean_ptr() 1585 int64_t clean_ptr = sextract64(ptr, 0, 56); in useronly_maybe_clean_ptr()
|
H A D | helper.c | 2879 sextract64(value, 0, 32); in gt_tval_write() 5085 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_vae2_write() 5101 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_vae3_write() 5111 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_vae1is_write() 5128 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_vae1_write() 5143 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_vae2is_write() 5153 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_vae3is_write() 5178 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_ipas2e1_write() 5192 uint64_t pageaddr = sextract64(value << 12, 0, 56); in tlbi_aa64_ipas2e1is_write() 5226 uint64_t select = sextract64(value, 36, 1); in tlbi_aa64_get_range() [all …]
|
H A D | cpu.h | 3377 x &= sextract64(x, 0, 56); in cpu_untagged_addr()
|
/openbmc/qemu/target/hexagon/ |
H A D | op_helper.c | 362 int xv = sextract64(RxxV, i * 16, 16); in HELPER() 363 int sv = sextract64(RssV, i * 16, 16); in HELPER() 364 int tv = sextract64(RttV, i * 16, 16); in HELPER() 380 int xv = sextract64(RxxV, i * 16, 16); in HELPER() 381 int sv = sextract64(RssV, i * 16, 16); in HELPER() 382 int tv = sextract64(RttV, i * 16, 16); in HELPER()
|
H A D | macros.h | 272 #define fSXTN(N, M, VAL) (((N) != 0) ? sextract64((VAL), 0, (N)) : 0LL)
|
/openbmc/qemu/hw/ppc/ |
H A D | ppc.c | 757 return sextract64(decr, 0, pcc->lrg_decr_bits); in _cpu_ppc_load_decr() 785 return sextract64(hdecr, 0, pcc->lrg_decr_bits); in _cpu_ppc_load_hdecr() 855 signed_value = sextract64(value, 0, nr_bits); in __cpu_ppc_store_decr() 856 signed_decr = sextract64(decr, 0, nr_bits); in __cpu_ppc_store_decr()
|
/openbmc/qemu/target/loongarch/ |
H A D | cpu_helper.c | 218 addr_high = sextract64(address, TARGET_VIRT_ADDR_SPACE_BITS, 16); in get_physical_address()
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 453 static inline int64_t sextract64(uint64_t value, int start, int length) in sextract64() function
|
/openbmc/qemu/hw/timer/ |
H A D | sse-timer.c | 300 s->cntp_cval = sse_cntpct(s) + sextract64(value, 0, 32); in sse_timer_write()
|
/openbmc/qemu/include/hw/ |
H A D | registerfields.h | 72 sextract64((storage), R_ ## reg ## _ ## field ## _SHIFT, \
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 87 if (offset == sextract64(offset, 0, 26)) { 101 if (offset == sextract64(offset, 0, 19)) { 113 if (offset == sextract64(offset, 0, 14)) { 1134 if (disp == sextract64(disp, 0, 21)) { 1139 if (disp == sextract64(disp, 0, 21)) { 1409 tcg_debug_assert(offset == sextract64(offset, 0, 26)); 1416 if (offset == sextract64(offset, 0, 26)) { 2056 if (offset == sextract64(offset, 0, 26)) { 2077 tcg_debug_assert(i_off == sextract64(i_off, 0, 21)); 2094 if (d_offset == sextract64(d_offset, 0, 28)) {
|
/openbmc/qemu/tcg/ |
H A D | optimize.c | 1228 al = sextract64(a, 0, 32); in fold_addsub2() 1229 ah = sextract64(a, 32, 32); in fold_addsub2() 2430 t = sextract64(t, pos, len); in fold_sextract() 2435 z_mask = sextract64(z_mask, pos, len); in fold_sextract() 2439 s_mask = sextract64(s_mask_old, pos, len); in fold_sextract()
|
H A D | tci.c | 878 regs[r0] = sextract64(regs[r1], pos, len); in tcg_qemu_tb_exec()
|
/openbmc/qemu/tcg/loongarch64/ |
H A D | tcg-target.c.inc | 182 return sextract64(val, pos, len); 210 int64_t vec_val = sextract64(val, 0, 8 << vece); 1760 int64_t value = sextract64(v64, 0, 8 << vece); 1801 int64_t value = sextract64(a2, 0, 8 << vece); 2004 int64_t value = sextract64(a2, 0, 8 << vece);
|
/openbmc/qemu/hw/arm/ |
H A D | smmu-common.c | 376 sextract64(iova, 64 - cfg->tt[1].tsz, cfg->tt[1].tsz - tbi_byte) == -1) { in select_tt()
|
/openbmc/qemu/tcg/ppc/ |
H A D | tcg-target.c.inc | 230 return target == sextract64(target, 0, 26); 278 if (disp == sextract64(disp, 0, 34)) { 1164 if (arg == sextract64(arg, 0, 34)) { 1171 if (tmp == sextract64(tmp, 0, 34)) { 1545 && offset == sextract64(offset, 0, 34)) {
|