Home
last modified time | relevance | path

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

/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dmmix-dis.c151 const struct mmix_opcode *opcodep = mmix_opcodes; in get_opcode() local
157 opcodep = opcodes[opcode_part]; in get_opcode()
158 if (opcodep == NULL in get_opcode()
159 || (opcodep->match & insn) != opcodep->match in get_opcode()
160 || (opcodep->lose & insn) != 0) in get_opcode()
163 for (opcodep = mmix_opcodes; opcodep->name != NULL; opcodep++) in get_opcode()
166 if ((opcodep->match & (opcode_part << 24)) == opcode_part in get_opcode()
167 && (opcodep->lose & (opcode_part << 24)) == 0) in get_opcode()
168 opcodes[opcode_part] = opcodep; in get_opcode()
170 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 …]
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dmmix-dis.c157 const struct mmix_opcode *opcodep = mmix_opcodes; local
162 opcodep = opcodes[opcode_part];
163 if (opcodep == NULL
164 || (opcodep->match & insn) != opcodep->match
165 || (opcodep->lose & insn) != 0)
168 for (opcodep = mmix_opcodes; opcodep->name != NULL; opcodep++)
171 if ((opcodep->match & (opcode_part << 24)) == opcode_part
172 && (opcodep->lose & (opcode_part << 24)) == 0)
173 opcodes[opcode_part] = opcodep;
175 if ((opcodep->match & insn) == opcodep->match
[all …]
H A Dcris-dis.c248 const struct cris_opcode *opcodep; local
251 for (opcodep = cris_opcodes;
252 opcodep->name != NULL;
253 opcodep++)
263 if ((opcodep->match & insn) == opcodep->match
264 && (opcodep->lose & insn) == 0
266 = cris_constraint (opcodep->args,
271 += 2 * number_of_bits (opcodep->match
272 | opcodep->lose))
275 max_matchedp = opcodep;
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-mmix.c415 mmix_set_geta_branch_offset (opcodep, value) in mmix_set_geta_branch_offset() argument
416 char *opcodep; in mmix_set_geta_branch_offset()
422 opcodep[0] |= 1;
426 md_number_to_chars (opcodep + 2, value, 2);
432 mmix_set_jmp_offset (opcodep, value) in mmix_set_jmp_offset() argument
433 char *opcodep; in mmix_set_jmp_offset()
439 opcodep[0] |= 1;
443 md_number_to_chars (opcodep + 1, value, 3);
449 mmix_fill_nops (opcodep, n) in mmix_fill_nops() argument
450 char *opcodep; in mmix_fill_nops()
[all …]
H A Dtc-cris.c616 char *opcodep; local
643 opcodep = fragP->fr_opcode;
652 opcodep[0] = branch_disp ((target_address - address_of_var_part));
659 opcodep[0] = BRANCH_PC_LOW;
660 opcodep[1] &= 0xF0;
661 opcodep[1] |= BRANCH_INCR_HIGH;
680 opcodep[0] = S_GET_VALUE (symbolP);
687 opcodep[0] = BDAP_PC_LOW + (1 << 4);
688 opcodep[1] &= 0xF0;
689 opcodep[1] |= BDAP_INCR_HIGH;
[all …]
H A Dtc-sh64.c804 char *opcodep; in shmedia_md_convert_frag() local
840 opcodep = fragP->fr_opcode; in shmedia_md_convert_frag()
842 insn = target_big_endian ? bfd_getb32 (opcodep) : bfd_getl32 (opcodep); in shmedia_md_convert_frag()
879 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
889 fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in shmedia_md_convert_frag()
905 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
933 fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in shmedia_md_convert_frag()
951 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
988 fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in shmedia_md_convert_frag()
1017 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-mmix.c400 mmix_set_geta_branch_offset (char *opcodep, offsetT value) in mmix_set_geta_branch_offset() argument
405 opcodep[0] |= 1; in mmix_set_geta_branch_offset()
409 md_number_to_chars (opcodep + 2, value, 2); in mmix_set_geta_branch_offset()
415 mmix_set_jmp_offset (char *opcodep, offsetT value) in mmix_set_jmp_offset() argument
420 opcodep[0] |= 1; in mmix_set_jmp_offset()
424 md_number_to_chars (opcodep + 1, value, 3); in mmix_set_jmp_offset()
430 mmix_fill_nops (char *opcodep, int n) in mmix_fill_nops() argument
435 md_number_to_chars (opcodep + i * 4, SWYM_INSN_BYTE << 24, 4); in mmix_fill_nops()
821 /* unsigned */ char *opcodep = NULL; in md_assemble() local
1067 opcodep = frag_more (4); in md_assemble()
[all …]
H A Dtc-cris.c810 char *opcodep; in md_convert_frag() local
837 opcodep = fragP->fr_opcode; in md_convert_frag()
850 opcodep[0] = branch_disp ((target_address - address_of_var_part)); in md_convert_frag()
861 opcodep[0] = BRANCH_PC_LOW; in md_convert_frag()
862 opcodep[1] &= 0xF0; in md_convert_frag()
863 opcodep[1] |= BRANCH_INCR_HIGH; in md_convert_frag()
911 opcodep[0] = BA_DWORD_OPCODE & 255; in md_convert_frag()
912 opcodep[1] = (BA_DWORD_OPCODE >> 8) & 255; in md_convert_frag()
940 opcodep[0] |= (offset / 2) & 0xf; in md_convert_frag()
947 md_number_to_chars (opcodep, in md_convert_frag()
[all …]
H A Dtc-sh64.c809 char *opcodep; in shmedia_md_convert_frag() local
845 opcodep = fragP->fr_opcode; in shmedia_md_convert_frag()
847 insn = target_big_endian ? bfd_getb32 (opcodep) : bfd_getl32 (opcodep); in shmedia_md_convert_frag()
884 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
894 fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in shmedia_md_convert_frag()
910 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
938 fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in shmedia_md_convert_frag()
956 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
993 fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in shmedia_md_convert_frag()
1022 md_number_to_chars (opcodep, in shmedia_md_convert_frag()
[all …]