Home
last modified time | relevance | path

Searched refs:opnd (Results 1 – 15 of 15) sorted by relevance

/toolchain/binutils/binutils-2.25/opcodes/
Daarch64-opc.c677 dump_match_qualifiers (const struct aarch64_opnd_info *opnd, in dump_match_qualifiers() argument
685 curr[i] = opnd[i].qualifier; in dump_match_qualifiers()
1250 const aarch64_opnd_info *opnd = opnds + idx; in operand_general_constraint_met_p() local
1251 aarch64_opnd_qualifier_t qualifier = opnd->qualifier; in operand_general_constraint_met_p()
1253 assert (opcode->operands[idx] == opnd->type && opnd->type == type); in operand_general_constraint_met_p()
1297 if (!aarch64_stack_pointer_p (opnd)) in operand_general_constraint_met_p()
1327 if (opnd->addr.writeback == 1) in operand_general_constraint_met_p()
1338 if (opnd->addr.writeback == 0) in operand_general_constraint_met_p()
1346 assert (opnd->addr.writeback == 0); in operand_general_constraint_met_p()
1356 size = aarch64_get_qualifier_esize (opnd->qualifier); in operand_general_constraint_met_p()
[all …]
Daarch64-gen.c917 operand *opnd; in process_operand_table() local
920 for (i = 0, opnd = operands; i < num; ++i, ++opnd) in process_operand_table()
922 opnd->has_inserter = opnd->inserter[0] != '0'; in process_operand_table()
923 opnd->has_extractor = opnd->extractor[0] != '0'; in process_operand_table()
933 operand *opnd; in print_operand_table() local
943 for (i = 0, opnd = operands; i < num; ++i, ++opnd) in print_operand_table()
947 if (opnd->flags[0] != '0') in print_operand_table()
948 sprintf (flags, "%s", opnd->flags); in print_operand_table()
949 if (opnd->has_inserter) in print_operand_table()
955 if (opnd->has_extractor) in print_operand_table()
[all …]
Dxtensa-dis.c78 int opnd, in print_xtensa_operand() argument
93 (void) xtensa_operand_decode (isa, opc, opnd, &operand_val); in print_xtensa_operand()
96 if (xtensa_operand_is_register (isa, opc, opnd) == 0) in print_xtensa_operand()
98 if (xtensa_operand_is_PCrelative (isa, opc, opnd) == 1) in print_xtensa_operand()
100 (void) xtensa_operand_undo_reloc (isa, opc, opnd, in print_xtensa_operand()
116 xtensa_regfile opnd_rf = xtensa_operand_regfile (isa, opc, opnd); in print_xtensa_operand()
120 while (i < xtensa_operand_num_regs (isa, opc, opnd)) in print_xtensa_operand()
Daarch64-asm.c1272 const aarch64_operand *opnd; in aarch64_opcode_encode() local
1281 opnd = &aarch64_operands[type]; in aarch64_opcode_encode()
1282 if (operand_has_inserter (opnd)) in aarch64_opcode_encode()
1283 aarch64_insert_operand (opnd, info, &inst->value, inst); in aarch64_opcode_encode()
Daarch64-dis.c1973 const aarch64_operand *opnd; in aarch64_opcode_decode() local
1978 opnd = &aarch64_operands[type]; in aarch64_opcode_decode()
1979 if (operand_has_extractor (opnd) in aarch64_opcode_decode()
1980 && (! aarch64_extract_operand (opnd, &inst->operands[i], code, inst))) in aarch64_opcode_decode()
/toolchain/binutils/binutils-2.25/include/
Dxtensa-isa.h449 xtensa_operand_name (xtensa_isa isa, xtensa_opcode opc, int opnd);
466 xtensa_operand_is_visible (xtensa_isa isa, xtensa_opcode opc, int opnd);
477 xtensa_operand_inout (xtensa_isa isa, xtensa_opcode opc, int opnd);
487 xtensa_operand_get_field (xtensa_isa isa, xtensa_opcode opc, int opnd,
492 xtensa_operand_set_field (xtensa_isa isa, xtensa_opcode opc, int opnd,
503 xtensa_operand_encode (xtensa_isa isa, xtensa_opcode opc, int opnd,
507 xtensa_operand_decode (xtensa_isa isa, xtensa_opcode opc, int opnd,
518 xtensa_operand_is_register (xtensa_isa isa, xtensa_opcode opc, int opnd);
521 xtensa_operand_regfile (xtensa_isa isa, xtensa_opcode opc, int opnd);
532 xtensa_operand_num_regs (xtensa_isa isa, xtensa_opcode opc, int opnd);
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Dxtensa-isa.c874 get_operand (xtensa_isa_internal *intisa, xtensa_opcode opc, int opnd) in get_operand() argument
882 CHECK_OPERAND (intisa, opc, iclass, opnd, NULL); in get_operand()
883 operand_id = iclass->operands[opnd].u.operand_id; in get_operand()
889 xtensa_operand_name (xtensa_isa isa, xtensa_opcode opc, int opnd) in xtensa_operand_name() argument
894 intop = get_operand (intisa, opc, opnd); in xtensa_operand_name()
901 xtensa_operand_is_visible (xtensa_isa isa, xtensa_opcode opc, int opnd) in xtensa_operand_is_visible() argument
911 CHECK_OPERAND (intisa, opc, iclass, opnd, XTENSA_UNDEFINED); in xtensa_operand_is_visible()
914 if (iclass->operands[opnd].inout == 's') in xtensa_operand_is_visible()
917 operand_id = iclass->operands[opnd].u.operand_id; in xtensa_operand_is_visible()
927 xtensa_operand_inout (xtensa_isa isa, xtensa_opcode opc, int opnd) in xtensa_operand_inout() argument
[all …]
Delfxx-ia64.c551 enum ia64_opnd opnd; in ia64_elf_install_value() local
560 opnd = IA64_OPND_NIL; in ia64_elf_install_value()
572 opnd = IA64_OPND_IMM14; in ia64_elf_install_value()
575 case R_IA64_PCREL21F: opnd = IA64_OPND_TGT25; break; in ia64_elf_install_value()
576 case R_IA64_PCREL21M: opnd = IA64_OPND_TGT25b; break; in ia64_elf_install_value()
577 case R_IA64_PCREL60B: opnd = IA64_OPND_TGT64; break; in ia64_elf_install_value()
580 opnd = IA64_OPND_TGT25c; in ia64_elf_install_value()
595 opnd = IA64_OPND_IMM22; in ia64_elf_install_value()
607 opnd = IA64_OPND_IMMU64; in ia64_elf_install_value()
671 switch (opnd) in ia64_elf_install_value()
[all …]
Delf32-xtensa.c1929 int opnd, slot; in elf_xtensa_do_reloc() local
2056 opnd = 1; in elf_xtensa_do_reloc()
2062 opnd = 1; in elf_xtensa_do_reloc()
2076 opnd = 1; in elf_xtensa_do_reloc()
2083 opnd = get_relocation_opnd (opcode, howto->type); in elf_xtensa_do_reloc()
2084 if (opnd == XTENSA_UNDEFINED) in elf_xtensa_do_reloc()
2101 if (xtensa_operand_do_reloc (isa, opcode, opnd, &newval, self_address) in elf_xtensa_do_reloc()
2102 || xtensa_operand_encode (isa, opcode, opnd, &newval) in elf_xtensa_do_reloc()
2103 || xtensa_operand_set_field (isa, opcode, opnd, fmt, slot, in elf_xtensa_do_reloc()
5061 int opnd; member
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-ia64.c295 enum ia64_opnd opnd; /* type of operand in need of fix */ member
304 expressionS opnd[6]; member
5453 operand_width (enum ia64_opnd opnd) in operand_width() argument
5455 const struct ia64_operand *odesc = &elf64_ia64_operands[opnd]; in operand_width()
5469 enum ia64_opnd opnd = idesc->operands[res_index]; in operand_match() local
5474 switch (opnd) in operand_match()
5633 == opnd - IA64_OPND_CPUID_R3)) in operand_match()
5720 fix->opnd = idesc->operands[res_index]; in operand_match()
5863 fix->opnd = idesc->operands[res_index]; in operand_match()
5870 && ! (e->X_op == O_big && opnd == IA64_OPND_IMM8M1U8)) in operand_match()
[all …]
Dtc-aarch64.h59 enum aarch64_opnd opnd; member
83 (FIX)->tc_fix_data.opnd = AARCH64_OPND_NIL; }
Dtc-ia64.h92 enum ia64_opnd opnd; member
151 #define TC_INIT_FIX_DATA(f) { f->tc_fix_data.opnd = 0; }
Dtc-aarch64.c111 enum aarch64_opnd opnd; member
2258 reloc->opnd = operand->type; in aarch64_set_gas_internal_fixup()
4225 gas_assert (inst.reloc.opnd != AARCH64_OPND_NIL); in output_inst()
4226 fixp->tc_fix_data.opnd = inst.reloc.opnd; in output_inst()
6196 enum aarch64_opnd opnd = fixP->tc_fix_data.opnd; in fix_insn() local
6204 idx = aarch64_operand_index (new_inst->opcode->operands, opnd); in fix_insn()
6208 gas_assert (opnd != AARCH64_OPND_NIL); in fix_insn()
6210 switch (opnd) in fix_insn()
6272 idx = aarch64_operand_index (new_inst->opcode->operands, opnd); in fix_insn()
6312 gas_assert (new_inst->opcode->operands[1] == opnd in fix_insn()
[all …]
Dtc-xtensa.c1842 expression_maybe_register (xtensa_opcode opc, int opnd, expressionS *tok) in expression_maybe_register() argument
1847 if (xtensa_operand_is_register (isa, opc, opnd) == 0) in expression_maybe_register()
1853 && xtensa_operand_is_PCrelative (isa, opc, opnd) == 1) in expression_maybe_register()
1894 xtensa_regfile opnd_rf = xtensa_operand_regfile (isa, opc, opnd); in expression_maybe_register()
1900 if (xtensa_operand_encode (isa, opc, opnd, &buf)) in expression_maybe_register()
2105 int slot, opnd, fmt_found; in get_invisible_operands() local
2135 for (opnd = 0; opnd < insn->ntok; opnd++) in get_invisible_operands()
2137 if (xtensa_operand_is_visible (isa, opc, opnd) == 1 in get_invisible_operands()
2138 && (insn->tok[opnd].X_op == O_register in get_invisible_operands()
2139 || insn->tok[opnd].X_op == O_constant)) in get_invisible_operands()
[all …]
/toolchain/binutils/binutils-2.25/cpu/
Dm32c.cpu7045 (define-pmacro (bit-insn-defn mach op suffix opnd encoding sem)
7046 (dni (.sym op mach - suffix - opnd)
7047 (.str op mach ":" suffix " " opnd)
7049 (.str op "$" suffix " ${" opnd "}")
7051 (sem opnd)
7110 (define-pmacro (bitcond-insn-defn mach op bit-opnd cond-opnd encoding sem)
7111 (dni (.sym op mach - bit-opnd - cond-opnd)
7112 (.str op mach " " bit-opnd " " cond-opnd)
7114 (.str op "${" cond-opnd "} ${" bit-opnd "}")
7116 (sem mach bit-opnd cond-opnd)