Home
last modified time | relevance | path

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

12345678910>>...24

/NextBSD/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/
HDEmulateInstructionARM.h183 ConditionPassed (const uint32_t opcode,
188 CurrentCond (const uint32_t opcode);
362 …bool (EmulateInstructionARM::*callback) (const uint32_t opcode, const EmulateInstructionARM::ARMEn…
373 GetARMOpcodeForInstruction (const uint32_t opcode, uint32_t isa_mask);
376 GetThumbOpcodeForInstruction (const uint32_t opcode, uint32_t isa_mask);
380 EmulatePUSH (const uint32_t opcode, const ARMEncoding encoding);
384 EmulatePOP (const uint32_t opcode, const ARMEncoding encoding);
388 EmulateADDRdSPImm (const uint32_t opcode, const ARMEncoding encoding);
392 EmulateMOVRdSP (const uint32_t opcode, const ARMEncoding encoding);
396 EmulateMOVLowHigh (const uint32_t opcode, const ARMEncoding encoding);
[all …]
HDEmulateInstructionARM.cpp361 EmulateInstructionARM::EmulatePUSH (const uint32_t opcode, const ARMEncoding encoding) in EmulatePUSH() argument
392 if (ConditionPassed(opcode, &conditional)) in EmulatePUSH()
402 registers = Bits32(opcode, 7, 0); in EmulatePUSH()
404 if (Bit32(opcode, 8)) in EmulatePUSH()
412 registers = Bits32(opcode, 15, 0) & ~0xa000; in EmulatePUSH()
418 Rt = Bits32(opcode, 15, 12); in EmulatePUSH()
425 registers = Bits32(opcode, 15, 0); in EmulatePUSH()
431 Rt = Bits32(opcode, 15, 12); in EmulatePUSH()
491 EmulateInstructionARM::EmulatePOP (const uint32_t opcode, const ARMEncoding encoding) in EmulatePOP() argument
515 if (ConditionPassed(opcode, &conditional)) in EmulatePOP()
[all …]
/NextBSD/contrib/binutils/opcodes/
HDs390-dis.c37 const struct s390_opcode *opcode; in init_disasm() local
42 for (opcode = s390_opcodes; opcode < opcode_end; opcode++) in init_disasm()
44 opc_index[(int) opcode->opcode[0]] = opcode - s390_opcodes; in init_disasm()
45 while ((opcode < opcode_end) && in init_disasm()
46 (opcode[1].opcode[0] == opcode->opcode[0])) in init_disasm()
47 opcode++; in init_disasm()
110 const struct s390_opcode *opcode; in print_insn_s390() local
151 for (opcode = s390_opcodes + opc_index[(int) buffer[0]]; in print_insn_s390()
152 (opcode < opcode_end) && (buffer[0] == opcode->opcode[0]); in print_insn_s390()
153 opcode++) in print_insn_s390()
[all …]
HDalpha-dis.c64 const struct alpha_opcode *opcode, *opcode_end; local
72 opcode = alpha_opcodes;
73 opcode_end = opcode + alpha_num_opcodes;
77 opcode_index[op] = opcode;
78 while (opcode < opcode_end && op == AXP_OP (opcode->opcode))
79 ++opcode;
81 opcode_index[op] = opcode;
120 for (opcode = opcode_index[op]; opcode < opcode_end; ++opcode)
122 if ((insn ^ opcode->opcode) & opcode->mask)
125 if (!(opcode->flags & isa_mask))
[all …]
HDMakefile.am498 $(INCDIR)/opcode/cgen.h $(m32c_opc_h) opintl.h
501 $(INCDIR)/opcode/cgen.h $(m32c_opc_h) opintl.h
504 $(INCDIR)/symcat.h m32c-desc.h $(INCDIR)/opcode/cgen.h \
508 $(INCDIR)/symcat.h m32c-desc.h $(INCDIR)/opcode/cgen.h \
512 $(INCDIR)/opcode/cgen.h $(m32c_opc_h)
649 $(INCDIR)/opcode/alpha.h
651 $(INCDIR)/opcode/alpha.h $(BFD_H) $(INCDIR)/ansidecl.h \
655 $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \
660 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h \
667 $(INCDIR)/opcode/arm.h opintl.h $(INCDIR)/safe-ctype.h \
[all …]
HDMakefile.in1045 $(INCDIR)/opcode/cgen.h $(m32c_opc_h) opintl.h
1048 $(INCDIR)/opcode/cgen.h $(m32c_opc_h) opintl.h
1051 $(INCDIR)/symcat.h m32c-desc.h $(INCDIR)/opcode/cgen.h \
1055 $(INCDIR)/symcat.h m32c-desc.h $(INCDIR)/opcode/cgen.h \
1059 $(INCDIR)/opcode/cgen.h $(m32c_opc_h)
1196 $(INCDIR)/opcode/alpha.h
1198 $(INCDIR)/opcode/alpha.h $(BFD_H) $(INCDIR)/ansidecl.h \
1202 $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \
1207 $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/opcode/arc.h \
1214 $(INCDIR)/opcode/arm.h opintl.h $(INCDIR)/safe-ctype.h \
[all …]
HDarc-ext.c34 arcExtMap_instName(int opcode, int minor, int *flags) in arcExtMap_instName() argument
36 if (opcode == 3) in arcExtMap_instName()
42 opcode = 0x1f - 0x10 + minor - 0x09 + 1; in arcExtMap_instName()
45 if (opcode < 0x10) in arcExtMap_instName()
48 opcode -= 0x10; in arcExtMap_instName()
49 if (!arc_extension_map.instructions[opcode]) in arcExtMap_instName()
51 *flags = arc_extension_map.instructions[opcode]->flags; in arcExtMap_instName()
52 return arc_extension_map.instructions[opcode]->name; in arcExtMap_instName()
180 char opcode = p[2]; in arcExtMap_add() local
186 if (opcode==3) in arcExtMap_add()
[all …]
HDs390-mkopc.c45 char opcode[16]; member
70 insertOpcode (char *opcode, char *mnemonic, char *format, in insertOpcode() argument
85 str = opcode; in insertOpcode()
108 strcpy(op_array[ix].opcode, opcode); in insertOpcode()
145 for (str = op_array[ix].opcode; *str != 0; str++) in dumpTable()
149 op_array[ix].no_nibbles*4, op_array[ix].opcode); in dumpTable()
175 char opcode[16]; in main() local
187 memset (opcode, 0, 8); in main()
189 opcode, mnemonic, format, description, in main()
228 insertOpcode (opcode, mnemonic, format, min_cpu, mode_bits); in main()
/NextBSD/crypto/openssl/crypto/perlasm/
HDx86_64-xlate.pl103 { package opcode; # pick up opcodes
227 die if (opcode->mnemonic() ne "mov");
228 opcode->mnemonic("lea");
283 (opcode->mnemonic() =~ /^v?mov([qd])$/) && ($sz=$1) ||
284 (opcode->mnemonic() =~ /^v?pinsr([qdwb])$/) && ($sz=$1) ||
285 (opcode->mnemonic() =~ /^vpbroadcast([qdwb])$/) && ($sz=$1) ||
286 (opcode->mnemonic() =~ /^vinsert[fi]128$/) && ($sz="x");
426 if ($nasm && opcode->mnemonic()=~m/^j(?![re]cxz)/) {
439 my %opcode = # lea 2f-1f(%rip),%dst; 1: nop; 2:
458 $line=sprintf "0x%x,0x90000000",$opcode{$1};
[all …]
HDx86asm.pl18 { my $opcode = $AUTOLOAD;
20 die "more than 4 arguments passed to $opcode" if ($#_>3);
22 $opcode =~ s/.*:://;
23 if ($opcode =~ /^push/) { $stack+=4; }
24 elsif ($opcode =~ /^pop/) { $stack-=4; }
26 &generic($opcode,@_) or die "undefined subroutine \&$AUTOLOAD";
30 { my $opcode=shift;
32 if ($#_==-1) { push(@out,"\t$opcode\n"); }
33 else { push(@out,"\t$opcode\t".join(',',@_)."\n"); }
143 local *opcode=shift;
[all …]
/NextBSD/contrib/tcpdump/
HDprint-zephyr.c47 char *opcode; member
144 z.opcode = 0; in zephyr_print()
174 PARSE_FIELD_STR(z.opcode); in zephyr_print()
204 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print()
206 else if (!strcmp(z.opcode, "USER_UNHIDE")) in zephyr_print()
214 ND_PRINT((ndo, " zephyr-admin %s", str_to_lower(z.opcode))); in zephyr_print()
220 if (!strcmp(z.opcode, "SUBSCRIBE") || in zephyr_print()
221 !strcmp(z.opcode, "SUBSCRIBE_NODEFS") || in zephyr_print()
222 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print()
224 ND_PRINT((ndo, " %ssub%s", strcmp(z.opcode, "SUBSCRIBE") ? "un" : "", in zephyr_print()
[all …]
/NextBSD/contrib/llvm/lib/Target/MSP430/
HDMSP430InstrFormats.td77 class IForm<bits<4> opcode, DestMode dest, bit bw, SourceMode src, SizeVal sz,
85 let Inst{12-15} = opcode;
92 class IForm8<bits<4> opcode, DestMode dest, SourceMode src, SizeVal sz,
94 : IForm<opcode, dest, 1, src, sz, outs, ins, asmstr, pattern>;
96 class I8rr<bits<4> opcode,
98 : IForm8<opcode, DstReg, SrcReg, Size2Bytes, outs, ins, asmstr, pattern>;
100 class I8ri<bits<4> opcode,
102 : IForm8<opcode, DstReg, SrcImm, Size4Bytes, outs, ins, asmstr, pattern>;
104 class I8rm<bits<4> opcode,
106 : IForm8<opcode, DstReg, SrcMem, Size4Bytes, outs, ins, asmstr, pattern>;
[all …]
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCInstrFormats.td14 class I<bits<6> opcode, dag OOL, dag IOL, string asmstr, InstrItinClass itin>
23 let Inst{0-5} = opcode;
103 class IForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr,
105 : I<opcode, OOL, IOL, asmstr, itin> {
115 class BForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr>
116 : I<opcode, OOL, IOL, asmstr, IIC_BrB> {
132 class BForm_1<bits<6> opcode, bits<5> bo, bit aa, bit lk, dag OOL, dag IOL,
134 : BForm<opcode, aa, lk, OOL, IOL, asmstr> {
140 class BForm_2<bits<6> opcode, bits<5> bo, bits<5> bi, bit aa, bit lk,
142 : I<opcode, OOL, IOL, asmstr, IIC_BrB> {
[all …]
/NextBSD/sys/dev/mfi/
HDmfi_debug.c123 const char *opcode; in mfi_print_dcmd() local
128 switch (dcmd->opcode) { in mfi_print_dcmd()
130 opcode = "CTRL_GETINFO"; in mfi_print_dcmd()
133 opcode = "CTRL_FLUSHCACHE"; in mfi_print_dcmd()
136 opcode = "CTRL_SHUTDOWN"; in mfi_print_dcmd()
139 opcode = "EVENT_GETINFO"; in mfi_print_dcmd()
142 opcode = "EVENT_GET"; in mfi_print_dcmd()
145 opcode = "EVENT_WAIT"; in mfi_print_dcmd()
148 opcode = "LD_GET_LIST"; in mfi_print_dcmd()
151 opcode = "LD_GET_INFO"; in mfi_print_dcmd()
[all …]
/NextBSD/usr.sbin/bluetooth/hccontrol/
HDsend_recv.c45 hci_request(int s, int opcode, char const *cp, int cp_size, char *rp, int *rp_size) in hci_request() argument
57 c->opcode = (uint16_t) opcode; in hci_request()
58 c->opcode = htole16(c->opcode); in hci_request()
91 cc->opcode = le16toh(cc->opcode); in hci_request()
93 if (cc->opcode == 0x0000 || cc->opcode != opcode) in hci_request()
107 cs->opcode = le16toh(cs->opcode); in hci_request()
109 if (cs->opcode == 0x0000 || cs->opcode != opcode) in hci_request()
125 hci_simple_request(int s, int opcode, char *rp, int *rp_size) in hci_simple_request() argument
127 return (hci_request(s, opcode, NULL, 0, rp, rp_size)); in hci_simple_request()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
HDARMUtils.h60 static inline uint32_t DecodeImmShiftThumb(const uint32_t opcode, ARM_ShifterType &shift_t) in DecodeImmShiftThumb() argument
62 …return DecodeImmShift(Bits32(opcode, 5, 4), Bits32(opcode, 14, 12)<<2 | Bits32(opcode, 7, 6), shif… in DecodeImmShiftThumb()
67 static inline uint32_t DecodeImmShiftARM(const uint32_t opcode, ARM_ShifterType &shift_t) in DecodeImmShiftARM() argument
69 return DecodeImmShift(Bits32(opcode, 6, 5), Bits32(opcode, 11, 7), shift_t); in DecodeImmShiftARM()
290 static inline uint32_t ARMExpandImm_C(uint32_t opcode, uint32_t carry_in, uint32_t &carry_out) in ARMExpandImm_C() argument
293 uint32_t imm = bits(opcode, 7, 0); // immediate value in ARMExpandImm_C()
294 uint32_t amt = 2 * bits(opcode, 11, 8); // rotate amount in ARMExpandImm_C()
308 static inline uint32_t ARMExpandImm(uint32_t opcode) in ARMExpandImm() argument
313 return ARMExpandImm_C(opcode, carry_in, carry_out); in ARMExpandImm()
317 static inline uint32_t ThumbExpandImm_C(uint32_t opcode, uint32_t carry_in, uint32_t &carry_out) in ThumbExpandImm_C() argument
[all …]
/NextBSD/crypto/heimdal/kcm/
HDprotocol.c56 kcm_operation opcode, in kcm_op_noop() argument
60 KCM_LOG_REQUEST(context, client, opcode); in kcm_op_noop()
75 kcm_operation opcode, in kcm_op_get_name() argument
88 KCM_LOG_REQUEST_NAME(context, client, opcode, name); in kcm_op_get_name()
90 ret = kcm_ccache_resolve_client(context, client, opcode, in kcm_op_get_name()
118 kcm_operation opcode, in kcm_op_gen_new() argument
125 KCM_LOG_REQUEST(context, client, opcode); in kcm_op_gen_new()
149 kcm_operation opcode, in kcm_op_initialize() argument
161 KCM_LOG_REQUEST(context, client, opcode); in kcm_op_initialize()
215 kcm_operation opcode, in kcm_op_destroy() argument
[all …]
/NextBSD/sys/dev/qlxgbe/
HDql_hw.h303 uint16_t opcode; member
325 uint16_t opcode; member
345 uint16_t opcode; member
360 uint16_t opcode; member
371 uint16_t opcode; member
404 uint16_t opcode; member
409 uint16_t opcode; member
416 uint16_t opcode; member
424 uint16_t opcode; member
455 uint16_t opcode; member
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM64/
HDEmulateInstructionARM64.cpp224 EmulateInstructionARM64::GetOpcodeForInstruction (const uint32_t opcode) in GetOpcodeForInstruction() argument
292 if ((g_opcodes[i].mask & opcode) == g_opcodes[i].value) in GetOpcodeForInstruction()
319 const uint32_t opcode = m_opcode.GetOpcode32(); in EvaluateInstruction() local
320 Opcode *opcode_data = GetOpcodeForInstruction(opcode); in EvaluateInstruction()
350 success = (this->*opcode_data->callback) (opcode); in EvaluateInstruction()
514 EmulateInstructionARM64::Emulate_addsub_imm (const uint32_t opcode) in Emulate_addsub_imm() argument
551 const uint32_t sf = Bit32(opcode, 31); in Emulate_addsub_imm()
552 const uint32_t op = Bit32(opcode, 30); in Emulate_addsub_imm()
553 const uint32_t S = Bit32(opcode, 29); in Emulate_addsub_imm()
554 const uint32_t shift = Bits32(opcode, 23, 22); in Emulate_addsub_imm()
[all …]
HDEmulateInstructionARM64.h261 bool (EmulateInstructionARM64::*callback) (const uint32_t opcode);
266 GetOpcodeForInstruction (const uint32_t opcode);
281 Emulate_addsub_imm (const uint32_t opcode);
284 Emulate_ldstpair_off (const uint32_t opcode);
287 Emulate_ldstpair_pre (const uint32_t opcode);
290 Emulate_ldstpair_post (const uint32_t opcode);
293 Emulate_ldstpair (const uint32_t opcode, AddrMode a_mode);
296 EmulateB (const uint32_t opcode);
299 EmulateBcond (const uint32_t opcode);
302 EmulateCBZ (const uint32_t opcode);
[all …]
/NextBSD/sys/netgraph/bluetooth/hci/
HDng_hci_cmds.c177 if (ep->opcode == 0x0000) { in ng_hci_process_command_complete()
183 error = complete_command(unit, ep->opcode, &cp); in ng_hci_process_command_complete()
195 ep->opcode = le16toh(ep->opcode); in ng_hci_process_command_complete()
199 switch (NG_HCI_OGF(ep->opcode)) { in ng_hci_process_command_complete()
202 NG_HCI_OCF(ep->opcode), cp, e); in ng_hci_process_command_complete()
207 NG_HCI_OCF(ep->opcode), cp, e); in ng_hci_process_command_complete()
212 NG_HCI_OCF(ep->opcode), cp, e); in ng_hci_process_command_complete()
217 NG_HCI_OCF(ep->opcode), cp, e); in ng_hci_process_command_complete()
222 NG_HCI_OCF(ep->opcode), cp, e); in ng_hci_process_command_complete()
227 NG_HCI_OCF(ep->opcode), cp, e); in ng_hci_process_command_complete()
[all …]
/NextBSD/contrib/llvm/lib/Target/SystemZ/
HDSystemZInstrFormats.td954 class InherentRRE<string mnemonic, bits<16> opcode, RegisterOperand cls,
956 : InstRRE<opcode, (outs cls:$R1), (ins),
962 class InherentVRIa<string mnemonic, bits<16> opcode, bits<16> value>
963 : InstVRIa<opcode, (outs VR128:$V1), (ins), mnemonic#"\t$V1", []> {
968 class BranchUnaryRI<string mnemonic, bits<12> opcode, RegisterOperand cls>
969 : InstRI<opcode, (outs cls:$R1), (ins cls:$R1src, brtarget16:$I2),
977 class LoadMultipleRSY<string mnemonic, bits<16> opcode, RegisterOperand cls>
978 : InstRSY<opcode, (outs cls:$R1, cls:$R3), (ins bdaddr20only:$BD2),
983 class LoadMultipleVRSa<string mnemonic, bits<16> opcode>
984 : InstVRSa<opcode, (outs VR128:$V1, VR128:$V3), (ins bdaddr12only:$BD2),
[all …]
/NextBSD/sbin/ipfw/
HDipv6.c97 if (cmd->o.opcode == O_IP6_SRC_ME || cmd->o.opcode == O_IP6_DST_ME) { in print_ip6()
101 if (cmd->o.opcode == O_IP6) { in print_ip6()
114 (cmd->o.opcode == O_IP6_SRC || cmd->o.opcode == O_IP6_DST) ? in print_ip6()
162 cmd->o.opcode = O_ICMP6TYPE; in fill_icmp6types()
262 cmd->opcode = O_EXT_HDR; in fill_ext6hdr()
368 cmd->o.opcode = O_IP_DST_LOOKUP; in fill_ip6()
485 cmd->o.opcode = O_FLOW6ID; in fill_flow6()
499 if (cmd->opcode == O_IP_DST_SET) /* set */ in add_srcip6()
500 cmd->opcode = O_IP_SRC_SET; in add_srcip6()
501 else if (cmd->opcode == O_IP_DST_LOOKUP) /* table */ in add_srcip6()
[all …]
/NextBSD/crypto/openssh/
HDttymodes.c352 int opcode, baud; in tty_parse_modes() local
381 opcode = packet_get_char(); in tty_parse_modes()
382 switch (opcode) { in tty_parse_modes()
427 opcode, opcode); in tty_parse_modes()
436 if (opcode > 0 && opcode < 128) { in tty_parse_modes()
440 } else if (opcode >= 128 && opcode < 160) { in tty_parse_modes()
453 opcode); in tty_parse_modes()
464 if (opcode > 0 && opcode < 160) { in tty_parse_modes()
470 opcode); in tty_parse_modes()
/NextBSD/sys/dev/mlx5/mlx5_core/
HDmlx5_transobj.c42 MLX5_SET(alloc_transport_domain_in, in, opcode, in mlx5_alloc_transport_domain()
61 MLX5_SET(dealloc_transport_domain_in, in, opcode, in mlx5_dealloc_transport_domain()
73 MLX5_SET(create_rq_in, in, opcode, MLX5_CMD_OP_CREATE_RQ); in mlx5_core_create_rq()
87 MLX5_SET(modify_rq_in, in, opcode, MLX5_CMD_OP_MODIFY_RQ); in mlx5_core_modify_rq()
100 MLX5_SET(destroy_rq_in, in, opcode, MLX5_CMD_OP_DESTROY_RQ); in mlx5_core_destroy_rq()
111 MLX5_SET(create_sq_in, in, opcode, MLX5_CMD_OP_CREATE_SQ); in mlx5_core_create_sq()
125 MLX5_SET(modify_sq_in, in, opcode, MLX5_CMD_OP_MODIFY_SQ); in mlx5_core_modify_sq()
138 MLX5_SET(destroy_sq_in, in, opcode, MLX5_CMD_OP_DESTROY_SQ); in mlx5_core_destroy_sq()
150 MLX5_SET(create_tir_in, in, opcode, MLX5_CMD_OP_CREATE_TIR); in mlx5_core_create_tir()
167 MLX5_SET(destroy_tir_in, in, opcode, MLX5_CMD_OP_DESTROY_TIR); in mlx5_core_destroy_tir()
[all …]

12345678910>>...24