Home
last modified time | relevance | path

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

123

/illumos-kvm-cmd/target-mips/
H A Dhelper.h196 #define FOP_PROTO(op) \ argument
197 DEF_HELPER_1(float_ ## op ## l_s, i64, i32) \
198 DEF_HELPER_1(float_ ## op ## l_d, i64, i64) \
199 DEF_HELPER_1(float_ ## op ## w_s, i32, i32) \
200 DEF_HELPER_1(float_ ## op ## w_d, i32, i64)
207 #define FOP_PROTO(op) \ argument
208 DEF_HELPER_1(float_ ## op ## _s, i32, i32) \
209 DEF_HELPER_1(float_ ## op ## _d, i64, i64)
215 #define FOP_PROTO(op) \ argument
216 DEF_HELPER_1(float_ ## op ## _s, i32, i32) \
[all …]
H A Dtranslate.c127 #define MASK_SPECIAL(op) MASK_OP_MAJOR(op) | (op & 0x3F) argument
218 #define MASK_MUL_VR54XX(op) MASK_SPECIAL(op) | (op & (0x1F << 6)) argument
238 #define MASK_REGIMM(op) MASK_OP_MAJOR(op) | (op & (0x1F << 16)) argument
261 #define MASK_SPECIAL2(op) MASK_OP_MAJOR(op) | (op & 0x3F) argument
293 #define MASK_SPECIAL3(op) MASK_OP_MAJOR(op) | (op & 0x3F) argument
326 #define MASK_BSHFL(op) MASK_SPECIAL3(op) | (op & (0x1F << 6)) argument
335 #define MASK_DBSHFL(op) MASK_SPECIAL3(op) | (op & (0x1F << 6)) argument
361 #define MASK_MFMC0(op) MASK_CP0(op) | (op & 0xFFFF) argument
373 #define MASK_C0(op) MASK_CP0(op) | (op & 0x3F) argument
423 #define MASK_CP1_FUNC(op) MASK_CP1(op) | (op & 0x3F) argument
[all …]
/illumos-kvm-cmd/tests/
H A Dtest-i386.c2131 #op,\
2145 SSE_OP(op);\
2157 #op,\
2173 #op,\
2188 #op,\
2203 #op,\
2221 #op,\
2236 #op,\
2278 #op,\
2291 #op,\
[all …]
/illumos-kvm-cmd/
H A Dmicroblaze-dis.c780 for (op = opcodes; op->name != 0; op ++) in read_insn_microblaze()
781 if (op->bit_sequence == (inst & op->opcode_mask)) in read_insn_microblaze()
784 *opr = op; in read_insn_microblaze()
828 if (op->name == 0) { in print_insn_microblaze()
981 for (op = opcodes; op->name != 0; op ++) in get_insn_microblaze()
982 if (op->bit_sequence == (inst & op->opcode_mask)) in get_insn_microblaze()
985 if (op->name == 0) in get_insn_microblaze()
991 return op->instr; in get_insn_microblaze()
1028 return (op); in microblaze_decode_insn()
1046 for (op = opcodes; op->name != 0; op ++) in microblaze_get_target_address()
[all …]
H A Dsh4-dis.c1175 switch (op->arg[n]) in print_movxy()
1277 op = first_movy; in print_insn_ddt()
1279 op = first_movx; in print_insn_ddt()
1283 op++; in print_insn_ddt()
1285 print_movxy (op, in print_insn_ddt()
1448 for (op = sh_table; op->name; op++) in print_insn_ppi()
1450 if ((op->nibbles[1] == nib1 || op->nibbles[1] == altnib1) in print_insn_ppi()
1626 for (op = sh_table; op->name; op++) in print_insn_sh()
1816 switch (op->arg[n]) in print_insn_sh()
2020 || (op->name[0] == 'r' && op->name[1] == 't') in print_insn_sh()
[all …]
H A Di386-dis.c3713 op = 0; in print_insn()
3806 dp = &three_byte_table[dp->op[1].bytemode][op]; in print_insn()
3874 (*dp->op[i].rtn) (dp->op[i].bytemode, sizeflag); in print_insn()
4311 (*dp->op[0].rtn) (dp->op[0].bytemode, sizeflag); in dofloat()
4316 (*dp->op[1].rtn) (dp->op[1].bytemode, sizeflag); in dofloat()
5443 op = get32s (); in OP_I()
5469 op &= mask; in OP_I()
5498 op = get64 (); in OP_I64()
5520 op &= mask; in OP_I64()
5538 op -= 0x100; in OP_sI()
[all …]
H A Dia64-dis.c9993 *op = dis_table[op_pointer]; in extract_op()
9995 if ((*op) & 0x40) in extract_op()
10000 switch ((*op) & 0x30) in extract_op()
10028 if (((*op) & 0x08) && (((*op) & 0x30) != 0x30)) in extract_op()
10104 unsigned int op; in locate_opcode_ent() local
10116 if (op & 0x40) in locate_opcode_ent()
10144 int count = op & 0x7; in locate_opcode_ent()
10174 if (currbit && (op & 0x30) != 0 && ((op & 0x30) != 0x30)) in locate_opcode_ent()
10187 if ((op & 0x08) || ((op & 0x30) == 0x30)) in locate_opcode_ent()
10361 int op; in unit_to_type() local
[all …]
H A Dppc-dis.c1656 #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) argument
1660 #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) argument
1667 #define DSO(op, xop) (OP (op) | ((xop) & 0x3)) argument
1671 #define DEO(op, xop) (OP (op) | ((xop) & 0xf)) argument
1679 #define M(op, rc) (OP (op) | ((rc) & 1)) argument
1713 #define VX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff)) argument
1719 #define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f)) argument
1737 #define XRC(op, xop, rc) (X ((op), (xop)) | ((rc) & 1)) argument
1740 #define ZRC(op, xop, rc) (Z ((op), (xop)) | ((rc) & 1)) argument
1819 #define XLLK(op, xop, lk) (XL ((op), (xop)) | ((lk) & 1)) argument
[all …]
H A Dmips-dis.c3477 int op, delta; in print_insn_args() local
3871 if (op == OP_OP_COP0) in print_insn_args()
4014 for (op = mips_opcodes; op < &mips_opcodes[NUMOPCODES]; op++) in print_insn_mips()
4021 mips_hash[i] = op; in print_insn_mips()
4040 if (op != NULL) in print_insn_mips()
4042 for (; op < &mips_opcodes[NUMOPCODES]; op++) in print_insn_mips()
4046 && (word & op->mask) == op->match) in print_insn_mips()
4079 d = op->args; in print_insn_mips()
4237 for (op = mips16_opcodes; op < opend; op++)
4241 && (insn & op->mask) == op->match)
[all …]
H A Dmonitor.c612 if (!op) { in do_trace_file()
3744 int op; in expr_prod() local
3748 op = *pch; in expr_prod()
3749 if (op != '*' && op != '/' && op != '%') in expr_prod()
3753 switch(op) { in expr_prod()
3775 int op; in expr_logic() local
3779 op = *pch; in expr_logic()
3780 if (op != '&' && op != '|' && op != '^') in expr_logic()
3803 int op; in expr_sum() local
3807 op = *pch; in expr_sum()
[all …]
H A Dsparc-dis.c1823 #define EFPOP1_2(name, op, args) { name, F3F(2, 0x36, op), F3F(~2, ~0x36, ~op)|RS1_G0, args, 0, spa… argument
1824 #define EFPOP1_3(name, op, args) { name, F3F(2, 0x36, op), F3F(~2, ~0x36, ~op), args, 0, spa… argument
1825 #define EFPOP2_2(name, op, args) { name, F3F(2, 0x37, op), F3F(~2, ~0x37, ~op)|RD_G0, args, 0, spa… argument
2448 sparc_opcode_hash *op; in is_delayed_branch() local
2450 for (op = opcode_hash_table[HASH_INSN (insn)]; op; op = op->next) in is_delayed_branch()
2452 const sparc_opcode *opcode = op->opcode; in is_delayed_branch()
2711 sparc_opcode_hash *op; in print_insn_sparc() local
2764 for (op = opcode_hash_table[HASH_INSN (insn)]; op; op = op->next) in print_insn_sparc()
2766 const sparc_opcode *opcode = op->opcode; in print_insn_sparc()
/illumos-kvm-cmd/target-arm/
H A Dtranslate.c4221 if (size == 3 && (op == 1 || op == 5 || op == 8 || op == 9 in disas_neon_data_insn()
4222 || op == 10 || op == 11 || op == 16)) { in disas_neon_data_insn()
4685 if (op == 1 || op == 3) { in disas_neon_data_insn()
4748 if (op == 1 || op == 3) { in disas_neon_data_insn()
4957 if (op & 1 && op < 12) { in disas_neon_data_insn()
5015 if (size == 0 && (op == 9 || op == 11 || op == 13)) in disas_neon_data_insn()
5098 if (op == 5 || op == 13 || (op >= 8 && op <= 11)) { in disas_neon_data_insn()
5237 if (size == 0 && (op == 3 || op == 7 || op == 11)) in disas_neon_data_insn()
5539 if (op == 30 || op == 31 || op >= 58) { in disas_neon_data_insn()
5717 if (op == 30 || op == 31 || op >= 58) { in disas_neon_data_insn()
[all …]
/illumos-kvm-cmd/scripts/
H A Dcheckpatch.pl2053 } elsif ($op eq ';') {
2071 } elsif ($op eq ',') {
2083 } elsif ($op eq '!' || $op eq '~' ||
2097 } elsif ($op eq '++' or $op eq '--') {
2111 } elsif ($op eq '<<' or $op eq '>>' or
2112 $op eq '&' or $op eq '^' or $op eq '|' or
2113 $op eq '+' or $op eq '-' or
2114 $op eq '*' or $op eq '/' or
2115 $op eq '%')
2134 if (($op eq '<' &&
[all …]
/illumos-kvm-cmd/tcg/hppa/
H A Dtcg-target.c374 uint32_t hi, lo, op; in tcg_out_ldst() local
382 op = INSN_ADDIL | INSN_R2(addr); in tcg_out_ldst()
384 tcg_out32(s, op | reassemble_21(hi)); in tcg_out_ldst()
752 int op, pacond; in tcg_out_brcond() local
762 op |= INSN_IM5(c2); in tcg_out_brcond()
765 op |= INSN_R1(c2); in tcg_out_brcond()
767 op |= INSN_R2(c1); in tcg_out_brcond()
768 op |= INSN_COND(pacond & 7); in tcg_out_brcond()
797 int op, pacond; in tcg_out_comclr() local
810 op |= INSN_COND(pacond & 7); in tcg_out_comclr()
[all …]
/illumos-kvm-cmd/tcg/s390/
H A Dtcg-target.c618 tcg_out16(s, (op << 8) | (r1 << 4) | r2); in tcg_out_insn_RR()
624 tcg_out32(s, (op << 16) | (r1 << 4) | r2); in tcg_out_insn_RRE()
634 tcg_out16(s, op | (r1 << 4)); in tcg_out_insn_RIL()
649 tcg_out32(s, (op & 0xff) | (b2 << 28) in tcg_out_insn_RSY()
1618 S390Opcode op; in tcg_out_op() local
1754 op = RS_SLL; in tcg_out_op()
1763 op = RS_SRL; in tcg_out_op()
1766 op = RS_SRA; in tcg_out_op()
1952 op = RSY_SLLG; in tcg_out_op()
1961 op = RSY_SRLG; in tcg_out_op()
[all …]
/illumos-kvm-cmd/target-i386/
H A Dtranslate.c1293 switch(op) { in gen_op()
1893 switch(op) { in gen_shift()
1921 switch(op) { in gen_shifti()
4575 if (op == 2 || op == 4) { in disas_insn()
4578 } else if (op == 3 || op == 5) { in disas_insn()
4587 if (op >= 2 && op != 3 && op != 5) in disas_insn()
5400 op = 0; in disas_insn()
5404 op = 0; in disas_insn()
5408 op = 1; in disas_insn()
5412 op = 1; in disas_insn()
[all …]
/illumos-kvm-cmd/tcg/
H A Dtcg.c212 int op, total_args, n; in tcg_context_init() local
224 for(op = 0; op < NB_OPS; op++) { in tcg_context_init()
225 def = &tcg_op_defs[op]; in tcg_context_init()
233 for(op = 0; op < NB_OPS; op++) { in tcg_context_init()
234 def = &tcg_op_defs[op]; in tcg_context_init()
1021 TCGOpcode op; in tcg_add_target_add_op_defs() local
1029 op = tdefs->op; in tcg_add_target_add_op_defs()
1098 for (op = 0; op < ARRAY_SIZE(tcg_op_defs); op++) { in tcg_add_target_add_op_defs()
1099 if (op < INDEX_op_call || op == INDEX_op_debug_insn_start) { in tcg_add_target_add_op_defs()
1170 TCGOpcode op; in tcg_liveness_analysis() local
[all …]
/illumos-kvm-cmd/target-cris/
H A Dtranslate_v10.c170 int op; in dec10_quick_imm() local
225 op = imm & (1 << 5); in dec10_quick_imm()
227 if (op) { in dec10_quick_imm()
240 op = CC_OP_LSL; in dec10_quick_imm()
242 op = CC_OP_LSR; in dec10_quick_imm()
246 cris_alu(dc, op, cpu_R[dc->dst], in dec10_quick_imm()
349 if (op == CC_OP_LSL || op == CC_OP_LSR || op == CC_OP_ASR) { in dec10_reg_alu()
371 int op = sext ? CC_OP_MULS : CC_OP_MULU; in dec10_reg_mul() local
379 cris_alu(dc, op, cpu_R[dc->dst], t[0], t[1], 4); in dec10_reg_mul()
404 static void dec10_reg_alux(DisasContext *dc, int op) in dec10_reg_alux() argument
[all …]
/illumos-kvm-cmd/bsd-user/
H A Dsyscall.c101 static abi_long do_freebsd_sysarch(CPUX86State *env, int op, abi_ulong parms) in do_freebsd_sysarch() argument
107 switch(op) { in do_freebsd_sysarch()
111 if (op == TARGET_FREEBSD_I386_SET_GSBASE) in do_freebsd_sysarch()
115 if (op == TARGET_FREEBSD_AMD64_SET_GSBASE) in do_freebsd_sysarch()
128 if (op == TARGET_FREEBSD_I386_GET_GSBASE) in do_freebsd_sysarch()
132 if (op == TARGET_FREEBSD_AMD64_GET_GSBASE) in do_freebsd_sysarch()
151 static abi_long do_freebsd_sysarch(void *env, int op, abi_ulong parms) in do_freebsd_sysarch() argument
/illumos-kvm-cmd/tcg/ppc/
H A Dtcg-target.c994 uint32_t op; in tcg_out_cmp() local
1001 op = CMPI; in tcg_out_cmp()
1006 op = CMPLI; in tcg_out_cmp()
1011 op = CMPL; in tcg_out_cmp()
1021 op = CMPI; in tcg_out_cmp()
1026 op = CMP; in tcg_out_cmp()
1036 op = CMPLI; in tcg_out_cmp()
1041 op = CMPL; in tcg_out_cmp()
1048 op |= BF (cr); in tcg_out_cmp()
1082 int op; in tcg_out_cr7eq_from_cond() local
[all …]
/illumos-kvm-cmd/target-m68k/
H A Dtranslate.c1021 int op; in DISAS_INSN() local
1067 if (op) in DISAS_INSN()
1130 int op; in DISAS_INSN() local
1171 if (op) { in DISAS_INSN()
1191 int op; in DISAS_INSN() local
1254 int op; in DISAS_INSN() local
1447 int op; in DISAS_INSN() local
1454 if (op == 3) in DISAS_INSN()
1458 if (op == 2) in DISAS_INSN()
1655 int op; in DISAS_INSN() local
[all …]
/illumos-kvm-cmd/tcg/ppc64/
H A Dtcg-target.c447 tcg_out32 (s, op | RA (ra) | RS (rs) | sh | mb); in tcg_out_rld()
980 uint32_t op; in tcg_out_cmp() local
987 op = CMPI; in tcg_out_cmp()
992 op = CMPLI; in tcg_out_cmp()
997 op = CMPL; in tcg_out_cmp()
1007 op = CMPI; in tcg_out_cmp()
1012 op = CMP; in tcg_out_cmp()
1022 op = CMPLI; in tcg_out_cmp()
1027 op = CMPL; in tcg_out_cmp()
1034 op |= BF (cr) | (arch64 << 21); in tcg_out_cmp()
[all …]
/illumos-kvm-cmd/hw/
H A Detraxfs_timer.c105 unsigned int op; in update_ctrl() local
124 op = ctrl & 3; in update_ctrl()
147 switch (op) in update_ctrl()
H A Dbt-hci.c91 int resp, resplen, error, op, tr;
98 op = *(data ++) >> 1;
101 respdata[1] = op;
106 op |= *(data ++) << 8;
109 respdata[0] = op >> 8;
110 respdata[1] = op & 0xff;
114 switch (op) {
223 if (op == LMP_AU_RAND) {
293 if (op == LMP_VERSION_REQ) {
361 if (op >> 8) {
[all …]
/illumos-kvm-cmd/tcg/sparc/
H A Dtcg-target.c287 int op) in tcg_out_arith() argument
289 tcg_out32(s, op | INSN_RD(rd) | INSN_RS1(rs1) | in tcg_out_arith()
294 uint32_t offset, int op) in tcg_out_arithi() argument
296 tcg_out32(s, op | INSN_RD(rd) | INSN_RS1(rs1) | in tcg_out_arithi()
301 int val2, int val2const, int op) in tcg_out_arithc() argument
303 tcg_out32(s, op | INSN_RD(rd) | INSN_RS1(rs1) in tcg_out_arithc()
379 static inline void tcg_out_ldst(TCGContext *s, int ret, int addr, int offset, int op) in tcg_out_ldst() argument
382 tcg_out32(s, op | INSN_RD(ret) | INSN_RS1(addr) | in tcg_out_ldst()
386 tcg_out32(s, op | INSN_RD(ret) | INSN_RS1(TCG_REG_I5) | in tcg_out_ldst()
392 int offset, int op, int asi) in tcg_out_ldst_asi() argument
[all …]

Completed in 143 milliseconds

123