Home
last modified time | relevance | path

Searched refs:GET_OPCODE (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitLir.c95 #define GET_OPCODE(op) \ macro
1025 fprintf(compiler->verbose, " %s", op0_names[GET_OPCODE(op) - SLJIT_OP0_BASE]); in check_sljit_emit_op0()
1026 if (GET_OPCODE(op) >= SLJIT_DIVMOD_UW) { in check_sljit_emit_op0()
1045 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_MOV && GET_OPCODE(op) <= SLJIT_CLZ); in check_sljit_emit_op1()
1047 switch (GET_OPCODE(op)) { in check_sljit_emit_op1()
1075 if (GET_OPCODE(op) >= SLJIT_NOT) in check_sljit_emit_op1()
1077 else if (GET_OPCODE(op) >= SLJIT_MOVU) { in check_sljit_emit_op1()
1093 if (GET_OPCODE(op) <= SLJIT_MOVU_P) in check_sljit_emit_op1()
1095 fprintf(compiler->verbose, " mov%s%s%s ", (GET_OPCODE(op) >= SLJIT_MOVU) ? "u" : "", in check_sljit_emit_op1()
1096 …OP) ? "" : "32", (op != SLJIT_MOV32 && op != SLJIT_MOVU32) ? op1_names[GET_OPCODE(op) - SLJIT_OP1_… in check_sljit_emit_op1()
[all …]
H A DsljitNativePPC_common.c1272 op = GET_OPCODE(op); in sljit_emit_op0()
1325 op = GET_OPCODE(op); in sljit_emit_op1()
1503 switch (GET_OPCODE(op)) { in sljit_emit_op2()
1629 if (!HAS_FLAGS(op) || GET_OPCODE(op) == SLJIT_AND) { in sljit_emit_op2()
1632 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1636 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1640 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1644 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1647 if (GET_OPCODE(op) != SLJIT_AND && GET_OPCODE(op) != SLJIT_AND) { in sljit_emit_op2()
1651 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
[all …]
H A DsljitNativeX86_common.c714 switch (GET_OPCODE(op)) { in sljit_emit_op0()
749 op = GET_OPCODE(op); in sljit_emit_op0()
1261 op = GET_OPCODE(op); in sljit_emit_op1()
2123 switch (GET_OPCODE(op)) {
2283 if (GET_OPCODE(op) == SLJIT_CONV_SW_FROM_F64)
2305 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_SW)
2311 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_S32)
2356 if (GET_OPCODE(op) == SLJIT_MOV_F64) {
2365 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_F32) {
2394 switch (GET_OPCODE(op)) {
[all …]
H A DsljitNativeARM_64.c1261 op = GET_OPCODE(op); in sljit_emit_op0()
1303 op = GET_OPCODE(op); in sljit_emit_op1()
1510 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_r, src1w, src2w); in sljit_emit_op2()
1618 if (GET_OPCODE(op) == SLJIT_CONV_S32_FROM_F64) in sljit_emit_fop1_conv_sw_from_f64()
1629 …return emit_op_mem(compiler, ((GET_OPCODE(op) == SLJIT_CONV_S32_FROM_F64) ? INT_SIZE : WORD_SIZE) … in sljit_emit_fop1_conv_sw_from_f64()
1640 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_S32) in sljit_emit_fop1_conv_f64_from_sw()
1644 …emit_op_mem(compiler, ((GET_OPCODE(op) == SLJIT_CONV_F64_FROM_S32) ? INT_SIZE : WORD_SIZE), TMP_RE… in sljit_emit_fop1_conv_f64_from_sw()
1648 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_S32) in sljit_emit_fop1_conv_f64_from_sw()
1700 …emit_fop_mem(compiler, (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_F32) ? (mem_flags ^ 0x100) : mem_fla… in sljit_emit_fop1()
1704 switch (GET_OPCODE(op)) { in sljit_emit_fop1()
[all …]
H A DsljitNativeARM_32.c999 switch (GET_OPCODE(op)) { in emit_single_op()
1442 if (GET_OPCODE(op) == SLJIT_ADD) { in emit_op()
1449 if (GET_OPCODE(op) == SLJIT_SUB) { in emit_op()
1475 if (GET_OPCODE(op) == SLJIT_ADD) { in emit_op()
1559 op = GET_OPCODE(op); in sljit_emit_op0()
1636 switch (GET_OPCODE(op)) { in sljit_emit_op1()
1701 switch (GET_OPCODE(op)) { in sljit_emit_op2()
1927 if (GET_OPCODE(op) != SLJIT_CONV_F64_FROM_F32) in sljit_emit_fop1()
1935 switch (GET_OPCODE(op)) { in sljit_emit_fop1()
1988 switch (GET_OPCODE(op)) { in sljit_emit_fop2()
[all …]
H A DsljitNativeMIPS_common.c1020 op = GET_OPCODE(op); in sljit_emit_op0()
1077 if ((op & SLJIT_I32_OP) && GET_OPCODE(op) >= SLJIT_NOT) { in sljit_emit_op1()
1084 switch (GET_OPCODE(op)) { in sljit_emit_op1()
1189 switch (GET_OPCODE(op)) { in sljit_emit_op2()
1278 sljit_s32 flags = (GET_OPCODE(op) == SLJIT_CONV_SW_FROM_F64) << 21; in sljit_emit_fop1_conv_sw_from_f64()
1311 sljit_s32 flags = (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_SW) << 21; in sljit_emit_fop1_conv_f64_from_sw()
1324 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_S32) in sljit_emit_fop1_conv_f64_from_sw()
1397 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_F32) in sljit_emit_fop1()
1409 switch (GET_OPCODE(op)) { in sljit_emit_fop1()
1493 switch (GET_OPCODE(op)) { in sljit_emit_fop2()
[all …]
H A DsljitNativeSPARC_common.c782 op = GET_OPCODE(op); in sljit_emit_op0()
834 op = GET_OPCODE(op); in sljit_emit_op1()
904 op = GET_OPCODE(op); in sljit_emit_op2()
1005 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_S32) in sljit_emit_fop1_conv_f64_from_sw()
1061 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_F32) in sljit_emit_fop1()
1073 switch (GET_OPCODE(op)) { in sljit_emit_fop1()
1164 switch (GET_OPCODE(op)) { in sljit_emit_fop2()
1401 op = GET_OPCODE(op); in sljit_emit_op_flags()
H A DsljitNativeARM_T2_32.c1157 op = GET_OPCODE(op); in sljit_emit_op0()
1237 op = GET_OPCODE(op); in sljit_emit_op1()
1378 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_reg, src1w, src2w); in sljit_emit_op2()
1551 if (GET_OPCODE(op) != SLJIT_CONV_F64_FROM_F32) in sljit_emit_fop1()
1559 switch (GET_OPCODE(op)) { in sljit_emit_fop1()
1610 switch (GET_OPCODE(op)) { in sljit_emit_fop2()
1825 op = GET_OPCODE(op); in sljit_emit_op_flags()
H A DsljitNativeTILEGX_64.c1591 switch (GET_OPCODE(op)) { in emit_single_op()
2100 op = GET_OPCODE(op); in sljit_emit_op_flags()
2177 op = GET_OPCODE(op); in sljit_emit_op0()
2204 switch (GET_OPCODE(op)) { in sljit_emit_op1()
2270 switch (GET_OPCODE(op)) { in sljit_emit_op2()
H A DsljitNativeMIPS_32.c76 switch (GET_OPCODE(op)) { in emit_single_op()
H A DsljitNativeMIPS_64.c168 switch (GET_OPCODE(op)) { in emit_single_op()
/netbsd-src/external/mit/lua/dist/src/
H A Dlopcodes.h116 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
120 #define checkopm(i,m) (getOpMode(GET_OPCODE(i)) == m)
400 ((testOTMode(GET_OPCODE(i)) && GETARG_C(i) == 0) || \
401 GET_OPCODE(i) == OP_TAILCALL)
404 #define isIT(i) (testITMode(GET_OPCODE(i)) && GETARG_B(i) == 0)
H A Dlcode.c140 if (GET_OPCODE(*previous) == OP_LOADNIL) { /* previous is LOADNIL? */ in luaK_nil()
179 lua_assert(GET_OPCODE(*jmp) == OP_JMP); in fixjump()
251 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()
267 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()
916 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()
1120 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in negatecondition()
1121 GET_OPCODE(*pc) != OP_TEST); in negatecondition()
1135 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()
1724 if (GET_OPCODE(*ie2) == OP_CONCAT) { /* is 'e2' a concatenation? */
1874 if (GET_OPCODE(pc) != OP_JMP)
[all …]
H A Dldebug.c311 lua_assert(GET_OPCODE(p->code[0]) == OP_VARARGPREP); in collectvalidlines()
473 if (testMMMode(GET_OPCODE(p->code[lastpc]))) in findsetreg()
477 OpCode op = GET_OPCODE(i); in findsetreg()
540 OpCode op = GET_OPCODE(i); in getobjname()
602 switch (GET_OPCODE(i)) { in funcnamefromcode()
H A Dljumptab.h18 #define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i));
H A Dlvm.c861 OpCode op = GET_OPCODE(inst);
885 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP);
1267 vmdispatch (GET_OPCODE(i)) {
1608 lua_assert(OP_ADD <= GET_OPCODE(pi) && GET_OPCODE(pi) <= OP_SHR);
1921 lua_assert(GET_OPCODE(i) == OP_TFORCALL && ra == RA(i));
1938 lua_assert(GET_OPCODE(i) == OP_TFORLOOP && ra == RA(i));
H A Dluac.c347 OpCode o=GET_OPCODE(i); in PrintCode()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-nds32.c5857 #define GET_OPCODE(insn) ((insn) & 0xfe000000) macro
5906 if (OP6 (MEM) == GET_OPCODE (insn)) in nds32_match_hint_insn()
6175 uint32_t cur_pattern = GET_OPCODE (next_pattern->opcode->value); in nds32_elf_append_relax_relocs()
6207 uint32_t insn_pattern = GET_OPCODE (next_insn->opcode->value); in nds32_elf_append_relax_relocs()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-nds32.c5858 #define GET_OPCODE(insn) ((insn) & 0xfe000000) macro
5907 if (OP6 (MEM) == GET_OPCODE (insn)) in nds32_match_hint_insn()
6176 uint32_t cur_pattern = GET_OPCODE (next_pattern->opcode->value); in nds32_elf_append_relax_relocs()
6208 uint32_t insn_pattern = GET_OPCODE (next_insn->opcode->value); in nds32_elf_append_relax_relocs()
/netbsd-src/external/gpl3/binutils/dist/gas/
H A DChangeLog-20181186 (CLEAN_REG, GET_OPCODE): New macros.
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A DChangeLog-20181186 (CLEAN_REG, GET_OPCODE): New macros.