Searched refs:instr (Results 1 - 25 of 81) sorted by relevance

1234

/src/sys/arch/sparc64/include/
H A Dinstr.h1 /* $NetBSD: instr.h,v 1.4 2002/07/20 11:52:21 mrg Exp $ */
3 #include <sparc/instr.h>
H A DMakefile11 idprom.h ieee.h ieeefp.h instr.h intr.h \
/src/games/backgammon/backgammon/
H A Dbacklocal.h34 extern const char *const instr[];
H A Dtext.c44 const char *const instr[] = { variable in typeref:typename:const char * const[]
/src/games/cribbage/
H A DMakefile9 SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
15 FILESNAME=cribbage.instr
/src/lib/libnvmm/
H A Dlibnvmm_x86.c1824 node_overflow(struct x86_decode_fsm *fsm, struct x86_instr *instr) argument
1853 resolve_special_register(struct x86_instr *instr, uint8_t enc, size_t regsize) argument
1860 return &gpr_map__special[instr->rexpref.present][enc][regsize-1];
1868 node_movs(struct x86_decode_fsm *fsm, struct x86_instr *instr) argument
1872 adrsize = instr->address_size;
1875 instr->src.type = STORE_REG;
1876 instr->src.u.reg = &gpr_map__special[1][2][adrsize-1];
1877 instr->src.disp.type = DISP_0;
1880 instr->dst.type = STORE_REG;
1881 instr
1897 node_cmps(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
1924 node_stlo(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
1961 node_dmo(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2007 node_immediate(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2040 node_disp(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2080 node_dual(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2117 get_register_idx(struct x86_instr * instr,uint8_t index) argument
2134 get_register_bas(struct x86_instr * instr,uint8_t base) argument
2150 node_sib(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2203 get_register_reg(struct x86_instr * instr,const struct x86_opcode * opcode) argument
2220 get_register_rm(struct x86_instr * instr,const struct x86_opcode * opcode) argument
2242 has_sib(struct x86_instr * instr) argument
2250 is_rip_relative(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2258 is_disp32_only(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2267 is_disp16_only(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2275 is_dual(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2283 get_disp_type(struct x86_instr * instr) argument
2303 node_regmodrm(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2432 get_operand_size(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2462 get_address_size(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2486 node_primary_opcode(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2529 node_secondary_opcode(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2573 node_main(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2608 node_rex_prefix(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2635 node_legacy_prefix(struct x86_decode_fsm * fsm,struct x86_instr * instr) argument
2676 x86_decode(uint8_t * inst_bytes,size_t inst_len,struct x86_instr * instr,struct nvmm_x64_state * state) argument
3029 gpr_read_address(struct x86_instr * instr,struct nvmm_x64_state * state,int gpr) argument
3040 store_to_gva(struct nvmm_x64_state * state,struct x86_instr * instr,struct x86_store * store,gvaddr_t * gvap,size_t size) argument
3188 assist_mem_movs(struct nvmm_machine * mach,struct nvmm_vcpu * vcpu,struct x86_instr * instr) argument
3234 assist_mem_cmps(struct nvmm_machine * mach,struct nvmm_vcpu * vcpu,struct x86_instr * instr) argument
3288 assist_mem_single(struct nvmm_machine * mach,struct nvmm_vcpu * vcpu,struct x86_instr * instr) argument
3416 struct x86_instr instr; local in function:nvmm_assist_mem
[all...]
/src/games/fish/
H A DMakefile10 FILES=fish.instr
/src/sys/arch/powerpc/powerpc/
H A Ddb_disasm.c89 void disasm_fields(const struct opcode *popcode, instr_t instr, vaddr_t loc);
90 void dis_ppc(const struct opcode *opcodeset, instr_t instr, vaddr_t loc);
608 op_ill(instr_t instr, vaddr_t loc) argument
610 db_printf("illegal instruction %x\n", instr);
623 disasm_fields(const struct opcode *popcode, instr_t instr, vaddr_t loc) argument
630 BO = extract_field(instr, 31 - 10, 5);
631 BI = extract_field(instr, 31 - 15, 5);
670 OE = extract_field(instr, 31 - 21, 1);
678 if (instr & 0x1)
682 if (instr
990 op_base(instr_t instr,vaddr_t loc) argument
996 op_cl_x13(instr_t instr,vaddr_t loc) argument
1002 op_cl_x1e(instr_t instr,vaddr_t loc) argument
1008 op_cl_x1f(instr_t instr,vaddr_t loc) argument
1014 op_cl_x3a(instr_t instr,vaddr_t loc) argument
1020 op_cl_x3b(instr_t instr,vaddr_t loc) argument
1026 op_cl_x3e(instr_t instr,vaddr_t loc) argument
1032 op_cl_x3f(instr_t instr,vaddr_t loc) argument
1038 dis_ppc(const struct opcode * opcodeset,instr_t instr,vaddr_t loc) argument
[all...]
H A Dfixup.c47 #include <powerpc/instr.h>
55 union instr instr = { .i_int = *insnp }; local in function:fixup_jump
57 KASSERT(instr.i_any.i_opcd == OPC_B);
59 instr.i_i.i_li = jfi->jfi_real - fixup_addr2offset(insnp);
61 *insnp = instr.i_int;
98 union instr instr = { .i_int = *insnp }; local in function:powerpc_fixup_stubs
99 uint32_t *stub = insnp + instr.i_i.i_li;
100 u_int opcode = instr
[all...]
H A Dfix_unaligned.c66 #include <powerpc/instr.h>
143 const union instr *);
144 static bool do_lst(struct trapframe *, const union instr *, int);
146 static bool do_lstmw(struct trapframe *, const union instr *, int);
152 union instr insn;
185 emul_unaligned(struct trapframe *tf, ksiginfo_t *ksi, const union instr *insn)
377 do_lst(struct trapframe *tf, const union instr *insn, int flags)
455 do_lstmw(struct trapframe *tf, const union instr *insn, int flags)
H A Dtrap.c63 #include <powerpc/instr.h>
1304 union instr instr; local in function:fix_stwcx
1309 if (copyin((void *)tf->tf_srr0, &instr.i_int, sizeof(instr)) != 0) {
1314 if (instr.i_any.i_opcd != OPC_integer_31 ||
1315 instr.i_x.i_xo != OPC31_STWCX) {
1318 KASSERT(instr.i_x.i_rc == 0);
1327 uva = (instr.i_x.i_ra ? tf->tf_ureg.r_fixreg[instr
[all...]
/src/sys/arch/sparc/fpu/
H A Dfpu.c54 #include <machine/instr.h>
140 union instr instr; local in function:fpu_cleanup
205 instr.i_int = fs->fs_queue[i].fq_instr;
206 if (instr.i_any.i_op != IOP_reg ||
207 (instr.i_op3.i_op3 != IOP3_FPop1 &&
208 instr.i_op3.i_op3 != IOP3_FPop2))
210 error = fpu_execute(&fe, instr);
258 fetch instr from pc
260 if (integer instr) { variable in typeref:typename:integer
278 } else if (fpu instr) { variable in typeref:typename:fpu
301 fpu_execute(struct fpemu * fe,union instr instr) argument
[all...]
H A Dfpu_extern.h44 union instr;
56 int fpu_execute(struct fpemu *, union instr);
/src/sys/arch/powerpc/fpu/
H A Dfpu_emu.c94 #include <powerpc/instr.h>
170 static int fpu_execute(struct trapframe *, struct fpemu *, union instr *);
210 union instr insn;
344 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn)
347 union instr instr = *insn; local in function:fpu_execute
364 cond = instr.i_any.i_rc;
373 opc_disasm(loc, instr.i_int);
381 if ((instr.i_any.i_opcd >= OPC_LFS && instr
[all...]
/src/sys/arch/mips/mips/
H A Dmips_stacktrace.c284 unsigned instr, mask; local in function:stacktrace_subr
334 if (!kdbpeek(pc - 2 * sizeof(unsigned), &instr))
336 i.word = instr;
368 if (!kdbpeek(va, &instr))
370 if (instr == MIPS_ERET)
372 } while (instr != MIPS_JR_RA && instr != MIPS_JR_K0);
378 instr = 0;
379 while (instr == 0) {
380 if (!kdbpeek(va, &instr))
[all...]
/src/games/warp/
H A Dutil.h45 char *instr(const char *, const char *);
/src/libexec/ld.elf_so/arch/powerpc/
H A Dfixup.c46 union instr { union
79 union instr previ;
114 union instr i = *(union instr *)where;
/src/lib/libcurses/
H A Dinstr.c1 /* $NetBSD: instr.c,v 1.9 2024/12/23 02:58:03 blymn Exp $ */
40 __RCSID("$NetBSD: instr.c,v 1.9 2024/12/23 02:58:03 blymn Exp $");
49 * instr, innstr --
52 __warn_references(instr,
53 "warning: this program uses instr(), which is unsafe.")
55 instr(char *str)
/src/sys/arch/sparc64/sparc64/
H A Demul.c39 #include <machine/instr.h>
60 static inline int decodeaddr(struct trapframe64 *, union instr *, void *);
61 static int muldiv(struct trapframe64 *, union instr *, int32_t *, int32_t *,
115 decodeaddr(struct trapframe64 *tf, union instr *code, void *val)
132 muldiv(struct trapframe64 *tf, union instr *code, int32_t *rd, int32_t *rs1,
243 union instr code;
379 union instr code;
/src/sys/arch/sparc/sparc/
H A Demul.c39 #include <machine/instr.h>
59 static inline int decodeaddr(struct trapframe *, union instr *, void *);
60 static int muldiv(struct trapframe *, union instr *, int32_t *, int32_t *,
115 decodeaddr(struct trapframe *tf, union instr *code, void *val)
134 union instr *code, int32_t *rd, int32_t *rs1, int32_t *rs2)
246 union instr code;
387 union instr code;
H A Ddb_interface.c75 #include <machine/instr.h>
478 union instr insn;
524 union instr insn;
549 union instr insn;
569 union instr insn;
605 union instr insn;
617 union instr insn;
657 union instr insn;
/src/sys/arch/x86/x86/
H A Ddb_trace.c210 u_long instr = db_get_value(callpc, 4, false); local in function:db_stack_trace_print
215 (instr == 0xe5894855 ||
217 (instr & 0x00ffffff) == 0x0048e589
220 ((instr & 0x00ffffff) == 0x00e58955 ||
222 (instr & 0x0000ffff) == 0x0000e589
/src/lib/libc/gen/
H A Dfts.c337 int instr; local in function:fts_read
351 instr = p->fts_instr;
355 if (instr == FTS_AGAIN) {
366 if (instr == FTS_FOLLOW &&
383 if (instr == FTS_SKIP ||
540 fts_set(FTS *sp, FTSENT *p, int instr) argument
546 if (instr && instr != FTS_AGAIN && instr != FTS_FOLLOW &&
547 instr !
556 fts_children(FTS * sp,int instr) argument
[all...]
/src/usr.bin/vgrind/
H A Dvfontedpr.c90 static bool instr; /* in a string constant */ variable in typeref:typename:bool
287 instr = false;
341 printf ("com %o str %o chr %o ptr %d\n", incomm, instr, inchr, psptr);
366 if (nokeyw || incomm || instr)
381 if (!incomm && !instr && !inchr) {
430 instr = true;
499 } else if (instr) {
503 instr = false;
/src/sys/arch/powerpc/booke/
H A Dbooke_stubs.c43 #include <powerpc/instr.h>

Completed in 16 milliseconds

1234