Home
last modified time | relevance | path

Searched refs:imm (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_riscv.c341 uint_t imm = dis_riscv_sign_extend(DIS_RISCV_IIMM(instr), 11, &s); in dis_riscv_itype_32() local
346 dis_riscv_regs[DIS_RISCV_RS1(instr)], s, imm); in dis_riscv_itype_32()
350 dis_riscv_regs[DIS_RISCV_RS1(instr)], s, imm); in dis_riscv_itype_32()
361 uint_t imm = dis_riscv_sign_extend(bimm, 12, &s); in dis_riscv_btype_32() local
366 dis_riscv_regs[DIS_RISCV_RS1(instr)], s, imm); in dis_riscv_btype_32()
370 dis_riscv_regs[DIS_RISCV_RS1(instr)], s, imm); in dis_riscv_btype_32()
379 uint_t imm = dis_riscv_sign_extend(DIS_RISCV_IIMM(instr), 11, &s); in dis_riscv_load() local
384 s, imm, dis_riscv_regs[DIS_RISCV_RS1(instr)]); in dis_riscv_load()
388 s, imm, dis_riscv_regs[DIS_RISCV_RS1(instr)]); in dis_riscv_load()
427 uint_t imm = dis_riscv_sign_extend(jimm, 20, &s); in dis_riscv_jtype_32() local
[all …]
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dsimulator.c230 int imm; in do_unaligned() local
231 imm = inst & 0x1fff; /* mask out immediate field */ in do_unaligned()
232 imm <<= 19; /* sign extend it */ in do_unaligned()
233 imm >>= 19; in do_unaligned()
234 addr += imm; /* compute address */ in do_unaligned()
635 int imm; in simulate_lddstd() local
636 imm = inst & 0x1fff; /* mask out immediate field */ in simulate_lddstd()
637 imm <<= 19; /* sign extend it */ in simulate_lddstd()
638 imm >>= 19; in simulate_lddstd()
639 addr += imm; /* compute address */ in simulate_lddstd()
[all …]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dfasttrap_isa.c541 int32_t imm; in fasttrap_pid_probe() local
557 imm = tp->ftt_instr << 19; in fasttrap_pid_probe()
558 imm >>= 19; in fasttrap_pid_probe()
559 rp->r_g1 = rp->r_sp + imm; in fasttrap_pid_probe()
588 int32_t imm; in fasttrap_pid_probe() local
590 imm = tp->ftt_instr << 19; in fasttrap_pid_probe()
591 imm >>= 19; in fasttrap_pid_probe()
592 value = fasttrap_getreg(rp, RS1(tp->ftt_instr)) + imm; in fasttrap_pid_probe()
625 int32_t imm; in fasttrap_pid_probe() local
627 imm = tp->ftt_instr << 19; in fasttrap_pid_probe()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dbg_fw_funcs.c121 static u32 cond5(const u32 *r, const u32 *imm) { in cond5() argument
122 return (((r[0] & imm[0]) != imm[1]) && ((r[1] & imm[2]) != imm[3])); in cond5()
125 static u32 cond7(const u32 *r, const u32 *imm) { in cond7() argument
126 return (((r[0] >> imm[0]) & imm[1]) != imm[2]); in cond7()
129 static u32 cond14(const u32 *r, const u32 *imm) { in cond14() argument
130 return ((r[0] != imm[0]) && (((r[1] >> imm[1]) & imm[2]) == imm[3])); in cond14()
133 static u32 cond6(const u32 *r, const u32 *imm) { in cond6() argument
134 return ((r[0] & imm[0]) != imm[1]); in cond6()
137 static u32 cond9(const u32 *r, const u32 *imm) { in cond9() argument
138 return ((r[0] & imm[0]) >> imm[1]) != (((r[0] & imm[2]) >> imm[3]) | ((r[1] & imm[4]) << imm[5])); in cond9()
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sse.c295 inst->imm = ip[i++]; in __fex_parse_sse()
516 switch (inst->imm & 3) { in __fex_get_sse_op()
536 if (inst->imm & 4) in __fex_get_sse_op()
673 switch (inst->imm & 3) { in __fex_get_sse_op()
693 if (inst->imm & 4) in __fex_get_sse_op()
849 dummy.imm = inst->imm; in __fex_get_simd_op()
976 dummy.imm = inst->imm; in __fex_get_simd_op()
1350 dummy.imm = inst->imm; in __fex_st_simd_result()
1477 dummy.imm = inst->imm; in __fex_st_simd_result()
H A Dfex_handler.h196 int imm; member
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Ddriver.h68 uint32_t imm; /* immediate value */ member
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c153 cep->ce_data.imm = v; in sbp2_cfgrom_parse_dir()
H A Dsbp2.c237 q = ent->ce_data.imm; in sbp2_tgt_init_params()
277 q = ent->ce_data.imm; in sbp2_tgt_init_luns()
/illumos-gate/usr/src/uts/sfmmu/ml/
H A Dsfmmu_asm.S956 or %o3, %o2, %o3 ! set imm
962 or %o3, %o2, %o3 ! set imm
978 or %o3, %o2, %o3 ! set imm
995 and %o3, 0x3f, %o2 ! %o2 = existing imm value
996 add %o2, %o4, %o2 ! %o2 = new imm value
997 andn %o3, 0x3f, %o3 ! clear old imm value
998 and %o2, 0x3f, %o2 ! truncate new imm value
999 or %o3, %o2, %o3 ! set new imm value
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c158 vid = ent->ce_data.imm; in scsa1394_sbp2_detect_symbios()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h4916 imm, sol, sig, cksum, qp, strong, fccrc) \ argument
4927 tmp[3] = ntohl(imm); \