Home
last modified time | relevance | path

Searched refs:opcodep (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dmmix-dis.c150 const struct mmix_opcode *opcodep = mmix_opcodes; in get_opcode() local
156 opcodep = opcodes[opcode_part]; in get_opcode()
157 if (opcodep == NULL in get_opcode()
158 || (opcodep->match & insn) != opcodep->match in get_opcode()
159 || (opcodep->lose & insn) != 0) in get_opcode()
162 for (opcodep = mmix_opcodes; opcodep->name != NULL; opcodep++) in get_opcode()
165 if ((opcodep->match & (opcode_part << 24)) == opcode_part in get_opcode()
166 && (opcodep->lose & (opcode_part << 24)) == 0) in get_opcode()
167 opcodes[opcode_part] = opcodep; in get_opcode()
169 if ((opcodep->match & insn) == opcodep->match in get_opcode()
[all …]
H A Dcris-dis.c292 const struct cris_opcode *opcodep; in get_opcode_entry() local
295 for (opcodep = cris_opcodes; in get_opcode_entry()
296 opcodep->name != NULL; in get_opcode_entry()
297 opcodep++) in get_opcode_entry()
303 switch (opcodep->applicable_version) in get_opcode_entry()
331 switch (opcodep->applicable_version) in get_opcode_entry()
361 if ((opcodep->match & insn) == opcodep->match in get_opcode_entry()
362 && (opcodep->lose & insn) == 0 in get_opcode_entry()
364 = cris_constraint (opcodep->args, in get_opcode_entry()
370 += 2 * number_of_bits (opcodep->match in get_opcode_entry()
[all …]
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dmmix-dis.c150 const struct mmix_opcode *opcodep = mmix_opcodes; in get_opcode() local
156 opcodep = opcodes[opcode_part]; in get_opcode()
157 if (opcodep == NULL in get_opcode()
158 || (opcodep->match & insn) != opcodep->match in get_opcode()
159 || (opcodep->lose & insn) != 0) in get_opcode()
162 for (opcodep = mmix_opcodes; opcodep->name != NULL; opcodep++) in get_opcode()
165 if ((opcodep->match & (opcode_part << 24)) == opcode_part in get_opcode()
166 && (opcodep->lose & (opcode_part << 24)) == 0) in get_opcode()
167 opcodes[opcode_part] = opcodep; in get_opcode()
169 if ((opcodep->match & insn) == opcodep->match in get_opcode()
[all …]
H A Dcris-dis.c292 const struct cris_opcode *opcodep; in get_opcode_entry() local
295 for (opcodep = cris_opcodes; in get_opcode_entry()
296 opcodep->name != NULL; in get_opcode_entry()
297 opcodep++) in get_opcode_entry()
303 switch (opcodep->applicable_version) in get_opcode_entry()
331 switch (opcodep->applicable_version) in get_opcode_entry()
361 if ((opcodep->match & insn) == opcodep->match in get_opcode_entry()
362 && (opcodep->lose & insn) == 0 in get_opcode_entry()
364 = cris_constraint (opcodep->args, in get_opcode_entry()
370 += 2 * number_of_bits (opcodep->match in get_opcode_entry()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-mmix.c406 mmix_set_geta_branch_offset (char *opcodep, offsetT value) in mmix_set_geta_branch_offset() argument
411 opcodep[0] |= 1; in mmix_set_geta_branch_offset()
415 md_number_to_chars (opcodep + 2, value, 2); in mmix_set_geta_branch_offset()
421 mmix_set_jmp_offset (char *opcodep, offsetT value) in mmix_set_jmp_offset() argument
426 opcodep[0] |= 1; in mmix_set_jmp_offset()
430 md_number_to_chars (opcodep + 1, value, 3); in mmix_set_jmp_offset()
436 mmix_fill_nops (char *opcodep, int n) in mmix_fill_nops() argument
441 md_number_to_chars (opcodep + i * 4, SWYM_INSN_BYTE << 24, 4); in mmix_fill_nops()
829 /* unsigned */ char *opcodep = NULL; in md_assemble() local
1075 opcodep = frag_more (4); in md_assemble()
[all …]
H A Dtc-cris.c813 char *opcodep; in md_convert_frag() local
840 opcodep = fragP->fr_opcode; in md_convert_frag()
853 opcodep[0] = branch_disp ((target_address - address_of_var_part)); in md_convert_frag()
864 opcodep[0] = BRANCH_PC_LOW; in md_convert_frag()
865 opcodep[1] &= 0xF0; in md_convert_frag()
866 opcodep[1] |= BRANCH_INCR_HIGH; in md_convert_frag()
914 opcodep[0] = BA_DWORD_OPCODE & 255; in md_convert_frag()
915 opcodep[1] = (BA_DWORD_OPCODE >> 8) & 255; in md_convert_frag()
943 opcodep[0] |= (offset / 2) & 0xf; in md_convert_frag()
950 md_number_to_chars (opcodep, in md_convert_frag()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-mmix.c406 mmix_set_geta_branch_offset (char *opcodep, offsetT value) in mmix_set_geta_branch_offset() argument
411 opcodep[0] |= 1; in mmix_set_geta_branch_offset()
415 md_number_to_chars (opcodep + 2, value, 2); in mmix_set_geta_branch_offset()
421 mmix_set_jmp_offset (char *opcodep, offsetT value) in mmix_set_jmp_offset() argument
426 opcodep[0] |= 1; in mmix_set_jmp_offset()
430 md_number_to_chars (opcodep + 1, value, 3); in mmix_set_jmp_offset()
436 mmix_fill_nops (char *opcodep, int n) in mmix_fill_nops() argument
441 md_number_to_chars (opcodep + i * 4, SWYM_INSN_BYTE << 24, 4); in mmix_fill_nops()
831 /* unsigned */ char *opcodep = NULL; in md_assemble() local
1077 opcodep = frag_more (4); in md_assemble()
[all …]
H A Dtc-cris.c813 char *opcodep; in md_convert_frag() local
840 opcodep = fragP->fr_opcode; in md_convert_frag()
853 opcodep[0] = branch_disp ((target_address - address_of_var_part)); in md_convert_frag()
864 opcodep[0] = BRANCH_PC_LOW; in md_convert_frag()
865 opcodep[1] &= 0xF0; in md_convert_frag()
866 opcodep[1] |= BRANCH_INCR_HIGH; in md_convert_frag()
914 opcodep[0] = BA_DWORD_OPCODE & 255; in md_convert_frag()
915 opcodep[1] = (BA_DWORD_OPCODE >> 8) & 255; in md_convert_frag()
943 opcodep[0] |= (offset / 2) & 0xf; in md_convert_frag()
950 md_number_to_chars (opcodep, in md_convert_frag()
[all …]