Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 25) sorted by relevance

/plan9/sys/src/cmd/kl/
H A Dasm.c544 o1 = OP_RRR(opcode(AOR), p->from.reg, REGZERO, p->to.reg); in asmout()
552 o1 = OP_IRR(opcode(AADD), v, r, p->to.reg); in asmout()
561 o1 = OP_RRR(opcode(p->as), p->reg, r, p->to.reg); in asmout()
563 o1 = OP_IRR(opcode(p->as), v, r, p->to.reg); in asmout()
572 o1 = OP_RRR(opcode(p->as+AEND), p->reg, r, p->from.reg); in asmout()
574 o1 = OP_IRR(opcode(p->as+AEND), v, r, p->from.reg); in asmout()
580 o2 = OP_IRR(opcode(AADD), (v&0x3ff), REGTMP, p->to.reg); in asmout()
584 o1 = OP_RRR(opcode(p->as), p->reg, p->from.reg, p->to.reg); in asmout()
589 o1 = OP_RRR(opcode(p->as+AEND), p->reg, p->to.reg, p->from.reg); in asmout()
647 o1 = OP_IRR(opcode(ASLL), v, p->from.reg, p->to.reg); in asmout()
[all …]
H A Dl.h315 long opcode(int);
/plan9/sys/src/9/teg2/
H A Dcoproc.c30 setupcpop(ulong instr[2], ulong opcode, int cp, int op1, int crn, int crm, in setupcpop() argument
40 instr[0] = opcode | op1 << 21 | crn << 16 | cp << 8 | op2 << 5 | crm; in setupcpop()
97 setupfpctlop(ulong instr[2], int opcode, int fpctlreg) in setupfpctlop() argument
102 instr[0] = opcode | fpctlreg << 16 | 0 << 12 | CpFP << 8; in setupfpctlop()
150 setupfpop(ulong instr[2], int opcode, int fpreg) in setupfpop() argument
154 instr[0] = opcode | 0 << 16 | (fpreg & (16 - 1)) << 12; in setupfpop()
/plan9/sys/src/cmd/aquarela/
H A Dtestnbdgram.c15 unsigned char opcode, updatecount, versionminor, versionmajor; in deliver() local
53 if (!smbbuffergetb(b, &opcode)) { in deliver()
58 if (opcode != 1) { in deliver()
59 print("not a supported mailslot opcode %d\n", opcode); in deliver()
H A Ddump.c8 opname(int opcode) in opname() argument
10 switch (opcode) { in opname()
83 s->id, opname(s->opcode), s->response ? "response" : "request", s->opcode); in nbnsdumpmessage()
H A Dmessage.c16 s->opcode = NbnsOpQuery; in nbnsmessagenamequeryrequestnew()
40 s->opcode = NbnsOpRegistration; in nbnsmessagenameregistrationrequestnew()
H A Daddname.c45 if (response->opcode == NbnsOpRegistration) { in nbnsaddname()
H A Dfindname.c45 if (response->opcode == NbnsOpQuery) { in nbnsfindname()
H A Dnbnsconv.c182 s->opcode = (ctrl >> NbnsOpShift) & NbnsOpMask; in nbnsconvM2S()
262 ctrl = (s->opcode & NbnsOpMask) << NbnsOpShift; in nbnsconvS2M()
H A Dnetbios.h98 int opcode; member
/plan9/sys/src/libmach/
H A D68020db.c361 ushort opcode; member
1172 short opcode; in decode() local
1174 opcode = ip->raw[0]; in decode()
1202 if (ea(ip, opcode&0x3f, ap, mode) < 0) in decode()
1206 t = ((opcode>>9)&0x07)|((opcode>>3)&0x38); in decode()
1211 if (ea(ip, opcode&0x3f, ap, EAC) < 0) in decode()
1216 ap->immediate = opcode&0xff; in decode()
1217 if (opcode&0x80) in decode()
1253 ap->immediate = opcode&0xff; in decode()
1274 ushort opcode, op2; in instruction() local
[all …]
H A Dkdb.c89 struct opcode { struct
153 static struct opcode sparcop0[8] = {
161 static struct opcode sparcop2[64] = {
232 static struct opcode sparcop3[64]={
H A Dsparc64db.c116 struct opcode { struct
180 static struct opcode sparc64op0[8] = {
188 static struct opcode sparc64op2[64] = {
259 static struct opcode sparc64op3[64]={
/plan9/sys/src/cmd/gs/src/
H A Dttinterp.c673 CUR.opcode = CUR.code[CUR.IP]; in Calc_Length()
675 switch ( CUR.opcode ) in Calc_Length()
699 CUR.length = CUR.opcode - 0xB0 + 2; in Calc_Length()
710 CUR.length = (CUR.opcode - 0xB8) * 2 + 3; in Calc_Length()
1768 switch ( CUR.opcode ) in Ins_IF()
1803 switch ( CUR.opcode ) in Ins_ELSE()
2152 CUR.metrics.compensations[CUR.opcode - 0x68] ); in Ins_ROUND()
2164 CUR.metrics.compensations[CUR.opcode - 0x6C] ); in Ins_NROUND()
2184 switch ( CUR.opcode ) in skip_FDEF()
2438 L = ((Int)CUR.opcode - 0xB0 + 1); in Ins_PUSHB()
[all …]
H A Dzfunc4.c56 gs_PtCr_opcode_t opcode; member
208 *p = calc_ops[j].opcode; in check_psc_function()
H A Dttobjs.h616 Byte opcode; /* current opcode */ member
H A Dgsfunc4.c120 byte opcode[16]; /* 4 * type[-1] + type[0] */ in fn_PtCr_evaluate() member
227 switch (op_defn_table[*p++].opcode[(vsp[-1].type << 2) + vsp->type]) { in fn_PtCr_evaluate()
H A Dgdevp14.c1974 int opcode = pparams->pdf14_op; in c_pdf14trans_write() local
1979 *pbuf++ = opcode; /* 1 byte */ in c_pdf14trans_write()
1980 switch (opcode) { in c_pdf14trans_write()
2042 pdf14_opcode_names[opcode], need); in c_pdf14trans_write()
/plan9/sys/src/9/pc/
H A Dsdmylex.c107 uchar opcode; /* Operation code */ member
130 uchar opcode; /* Operation code */ member
355 ccb->opcode = Ordl; in mylex24rio()
576 ccb->opcode = Ordl; in mylex32rio()
/plan9/sys/src/cmd/aux/na/
H A Dna.y136 line: .label .opcode .comment '\n'
226 opcode: set_cmd set_list {
439 .opcode: opcode
/plan9/sys/lib/acid/
H A D38677 print("opcode\t", *fmt(E4>>8, 'x'), "\n");
/plan9/sys/src/cmd/ql/
H A Dl.h321 long opcode(int);
/plan9/sys/src/cmd/cwfs/
H A Dcw.c540 cwio(Device *dev, Off addr, void *buf, int opcode) in cwio() argument
594 switch(opcode) { in cwio()
735 cwnames[opcode], in cwio()
749 dev, (Wideoff)addr, cwnames[state], cwnames[opcode]); in cwio()
/plan9/sys/src/cmd/5c/
H A Dpeep.c1229 int opcode; member
1395 r->prog->as = predinfo[rstart->prog->as - ABEQ].opcode; in applypred()
/plan9/sys/src/cmd/spell/
H A Dlocal573 opcode n