Home | History | Annotate | Download | only in opcodes

Lines Matching defs:opc

36 #define OPC(x)      ((x >> 26) & 0x3F)
39 unsigned char opc, rs1, rs2, rd;
106 unsigned char r_opc[] = { OPC(ALUOP) }; /* Fix ME */
152 if (r_opc[idx] != opc)
193 { OPC(LHIOP), "lhi" }, /* Load HI to register. */
194 { OPC(LBOP), "lb" }, /* load byte sign extended. */
195 { OPC(LBUOP), "lbu" }, /* load byte unsigned. */
196 { OPC(LSBUOP),"ldstbu"}, /* load store byte unsigned. */
197 { OPC(LHOP), "lh" }, /* load halfword sign extended. */
198 { OPC(LHUOP), "lhu" }, /* load halfword unsigned. */
199 { OPC(LSHUOP),"ldsthu"}, /* load store halfword unsigned. */
200 { OPC(LWOP), "lw" }, /* load word. */
201 { OPC(LSWOP), "ldstw" } /* load store word. */
208 if (dlx_load_opcode[idx].opcode == opc)
210 if (opc == OPC (LHIOP))
243 { OPC(SBOP), "sb" }, /* Store byte. */
244 { OPC(SHOP), "sh" }, /* Store halfword. */
245 { OPC(SWOP), "sw" }, /* Store word. */
252 if (dlx_store_opcode[idx].opcode == opc)
276 { OPC(ADDIOP), "addi" }, /* Store byte. */
277 { OPC(ADDUIOP), "addui" }, /* Store halfword. */
278 { OPC(SUBIOP), "subi" }, /* Store word. */
279 { OPC(SUBUIOP), "subui" }, /* Store word. */
280 { OPC(ANDIOP), "andi" }, /* Store word. */
281 { OPC(ORIOP), "ori" }, /* Store word. */
282 { OPC(XORIOP), "xori" }, /* Store word. */
283 { OPC(SLLIOP), "slli" }, /* Store word. */
284 { OPC(SRAIOP), "srai" }, /* Store word. */
285 { OPC(SRLIOP), "srli" }, /* Store word. */
286 { OPC(SEQIOP), "seqi" }, /* Store word. */
287 { OPC(SNEIOP), "snei" }, /* Store word. */
288 { OPC(SLTIOP), "slti" }, /* Store word. */
289 { OPC(SGTIOP), "sgti" }, /* Store word. */
290 { OPC(SLEIOP), "slei" }, /* Store word. */
291 { OPC(SGEIOP), "sgei" }, /* Store word. */
292 { OPC(SEQUIOP), "sequi" }, /* Store word. */
293 { OPC(SNEUIOP), "sneui" }, /* Store word. */
294 { OPC(SLTUIOP), "sltui" }, /* Store word. */
295 { OPC(SGTUIOP), "sgtui" }, /* Store word. */
296 { OPC(SLEUIOP), "sleui" }, /* Store word. */
297 { OPC(SGEUIOP), "sgeui" }, /* Store word. */
299 { OPC(MVTSOP), "mvts" }, /* Store word. */
300 { OPC(MVFSOP), "mvfs" }, /* Store word. */
308 if (dlx_aluI_opcode[idx].opcode == opc)
334 { OPC(BEQOP), "beqz" }, /* Store byte. */
335 { OPC(BNEOP), "bnez" } /* Store halfword. */
342 if (dlx_br_opcode[idx].opcode == opc)
371 { OPC(JOP), "j" }, /* Store byte. */
372 { OPC(JALOP), "jal" }, /* Store halfword. */
373 { OPC(BREAKOP), "break" }, /* Store halfword. */
374 { OPC(TRAPOP), "trap" }, /* Store halfword. */
375 { OPC(RFEOP), "rfe" } /* Store halfword. */
382 if (dlx_jmp_opcode[idx].opcode == opc)
411 { OPC(JROP), "jr" }, /* Store byte. */
412 { OPC(JALROP), "jalr" } /* Store halfword. */
419 if (dlx_jr_opcode[idx].opcode == opc)
463 opc = dlx_get_opcode (insn_word);
472 printf ("print_insn_big_dlx: opc = 0x%02x\n"
479 opc, rs1, rs2, rd, func, imm16, imm26);