Home
last modified time | relevance | path

Searched refs:regno (Results 1 – 25 of 58) sorted by relevance

123

/toolchain/binutils/binutils-2.25/gas/config/
Dbfin-defs.h175 #define REG_SAME(a, b) ((a).regno == (b).regno)
176 #define REG_EQUAL(a, b) (((a).regno & CODE_MASK) == ((b).regno & CODE_MASK))
177 #define REG_CLASS(a) ((a).regno & 0xf0)
178 #define IS_A1(a) ((a).regno == REG_A1)
180 #define IS_EVEN(r) ((r).regno % 2 == 0)
185 #define _TYPECHECK(r, x) (((r).regno & CLASS_MASK) == T_REG_##x)
191 #define IS_IREG(r) (((r).regno & 0xf4) == T_REG_I)
192 #define IS_MREG(r) (((r).regno & 0xf4) == T_REG_M)
193 #define IS_BREG(r) (((r).regno & 0xf4) == T_REG_B)
194 #define IS_LREG(r) (((r).regno & 0xf4) == T_REG_L)
[all …]
Dbfin-lex.l44 [sS][fF][tT][rR][eE][sS][eE][tT] _REG.regno = REG_sftreset; return REG;
45 [oO][mM][oO][dD][eE] _REG.regno = REG_omode; return REG;
46 [iI][dD][lL][eE]_[rR][eE][qQ] _REG.regno = REG_idle_req; return REG;
47 [hH][wW][eE][rR][rR][cC][aA][uU][sS][eE] _REG.regno = REG_hwerrcause; return REG;
48 [eE][xX][cC][aA][uU][sS][eE] _REG.regno = REG_excause; return REG;
49 [eE][mM][uU][cC][aA][uU][sS][eE] _REG.regno = REG_emucause; return REG;
56 [uU][sS][pP] _REG.regno = REG_USP; return REG;
63 [sS][yY][sS][cC][fF][gG] _REG.regno = REG_SYSCFG; return REG;
66 [sS][pP]"."[lL] _REG.regno = REG_SP; _REG.flags = F_REG_LOW; return HALF_RE…
67 [sS][pP]"."[hH] _REG.regno = REG_SP; _REG.flags = F_REG_HIGH; return HALF_R…
[all …]
Dbfin-parse.y71 bfin_gen_logi2op (opc, src, dst.regno & CODE_MASK)
236 if (reg1->regno != 1 && reg1->regno != 3) in valid_dreg_pair()
242 if (imm7 (reg2) != reg1->regno - 1) in valid_dreg_pair()
248 reg1->regno--; in valid_dreg_pair()
336 aa->s0.regno |= (ab->s0.regno & CODE_MASK); in check_macfuncs()
337 aa->s1.regno |= (ab->s1.regno & CODE_MASK); in check_macfuncs()
345 if (aa->P && (aa->dst.regno - ab->dst.regno) != 1) in check_macfuncs()
347 if (!aa->P && aa->dst.regno != ab->dst.regno) in check_macfuncs()
1256 if ($1.regno == REG_A0x && IS_DREG ($3))
1261 else if ($1.regno == REG_A1x && IS_DREG ($3))
[all …]
Dtc-z8k.c249 char regno; in parse_reg() local
279 regno = *preg; in parse_reg()
280 if (regno > 14) in parse_reg()
281 as_bad (_("register rr%d out of range"), regno); in parse_reg()
282 if (regno & 1) in parse_reg()
283 as_bad (_("register rr%d does not exist"), regno); in parse_reg()
293 regno = *preg; in parse_reg()
294 if (regno > 7) in parse_reg()
295 as_bad (_("register rh%d out of range"), regno); in parse_reg()
305 regno = *preg; in parse_reg()
[all …]
Dtc-ia64.c4952 int regno = reg.X_add_number; in dot_reg_val() local
4953 if (regno <= REG_GR || regno > REG_GR + 127) in dot_reg_val()
4957 gr_values[regno - REG_GR].known = 1; in dot_reg_val()
4958 gr_values[regno - REG_GR].value = value; in dot_reg_val()
4959 gr_values[regno - REG_GR].path = md.path; in dot_reg_val()
5028 int regno; in print_prmask() local
5030 for (regno = 0; regno < 64; regno++) in print_prmask()
5032 if (mask & ((valueT) 1 << regno)) in print_prmask()
5034 fprintf (stderr, "%s p%d", comma, regno); in print_prmask()
5102 int sep, regno; in dot_pred_rel() local
[all …]
Dtc-d10v.c698 int i, j, flags, mask, shift, regno; in check_resource_conflict() local
762 regno = (ins >> shift) & mask; in check_resource_conflict()
764 regno += 16; in check_resource_conflict()
767 if (regno == 0) in check_resource_conflict()
768 regno = 19; in check_resource_conflict()
770 regno = 18; in check_resource_conflict()
773 regno = 22; in check_resource_conflict()
775 regno = 21; in check_resource_conflict()
783 mod[j] |= 1 << regno; in check_resource_conflict()
785 mod[j] |= 1 << (regno + 1); in check_resource_conflict()
[all …]
Dtc-spu.c447 unsigned int regno; member
499 unsigned regno; in get_reg() local
525 regno = 0; in get_reg()
527 regno = regno * 10 + *param++ - '0'; in get_reg()
549 regno = 128; in get_reg()
555 regno = rn[i].regno; in get_reg()
563 if (regno == 11) in get_reg()
565 else if (regno == 12) in get_reg()
569 if (regno < 128) in get_reg()
571 insn->opcode |= regno << arg_encode[arg].pos; in get_reg()
Dtc-d30v.c685 int i, j, shift, regno, bits, ecc; in parallel_ok() local
792 regno = (ins >> shift) & 0x3f; in parallel_ok()
793 if (regno >= 32) in parallel_ok()
794 mod_reg[j][1] |= 1L << (regno - 32); in parallel_ok()
796 mod_reg[j][0] |= 1L << regno; in parallel_ok()
800 regno = (ins >> shift) & mask; in parallel_ok()
808 if (regno == 0) in parallel_ok()
810 else if (regno == 1) in parallel_ok()
816 mod_reg[j][2] |= 1L << regno; in parallel_ok()
828 for (r = regno; r <= regno + z; r++) in parallel_ok()
[all …]
Dtc-ppc.h273 #define md_reg_eh_frame_to_debug_frame(regno) \ argument
274 ((regno) == 70 ? 64 /* cr2 */ : (regno))
Dtc-cris.c1521 int regno; in cris_process_instruction() local
1700 if (! get_gen_reg (&s, &regno)) in cris_process_instruction()
1704 out_insnp->opcode |= regno /* << 0 */; in cris_process_instruction()
1705 out_insnp->opcode |= regno << 12; in cris_process_instruction()
1809 if (!get_gen_reg (&s, &regno)) in cris_process_instruction()
1812 out_insnp->opcode |= regno << 12; in cris_process_instruction()
1872 if (! get_gen_reg (&s, &regno)) in cris_process_instruction()
1876 out_insnp->opcode |= regno << 12; in cris_process_instruction()
1882 if (! get_gen_reg (&s, &regno)) in cris_process_instruction()
1886 out_insnp->opcode |= regno /* << 0 */; in cris_process_instruction()
[all …]
/toolchain/binutils/binutils-2.25/opcodes/
Dm68k-dis.c492 print_base (int regno, bfd_vma disp, disassemble_info *info) in print_base() argument
494 if (regno == -1) in print_base()
503 if (regno == -2) in print_base()
505 else if (regno == -3) in print_base()
508 (*info->fprintf_func) (info->stream, "%s@(", reg_names[regno]); in print_base()
639 int regno; in print_insn_arg() local
739 for (regno = ARRAY_SIZE (names_v4e); --regno >= 0;) in print_insn_arg()
740 if (names_v4e[regno].value == val) in print_insn_arg()
742 (*info->fprintf_func) (info->stream, "%s", names_v4e[regno].name); in print_insn_arg()
745 if (regno >= 0) in print_insn_arg()
[all …]
Dfr30-asm.c57 int regno; in parse_register_number() local
61 regno = **strp - '0'; in parse_register_number()
66 regno = regno * 10 + (**strp - '0'); in parse_register_number()
70 return regno; in parse_register_number()
84 int regno; in parse_register_list() local
90 regno = parse_register_number (strp); in parse_register_list()
91 if (regno == -1) in parse_register_list()
93 if (regno > 7 && !high_low) in parse_register_list()
95 if (regno < 8 && high_low) in parse_register_list()
99 regno -= 8; in parse_register_list()
[all …]
Dh8300-dis.c320 int regno[3] = { 0, 0, 0 }; in bfd_h8_disassemble() local
478 regno[opnr] = thisnib; in bfd_h8_disassemble()
502 regno[opnr] = thisnib; in bfd_h8_disassemble()
603 high = regno[1]; in bfd_h8_disassemble()
614 low = regno[0]; in bfd_h8_disassemble()
622 if (regno[0] == 0) in bfd_h8_disassemble()
623 outfn (stream, "er%d", regno[1]); in bfd_h8_disassemble()
625 outfn (stream, "er%d-er%d", regno[1] - regno[0], in bfd_h8_disassemble()
626 regno[1]); in bfd_h8_disassemble()
637 cstlen[0], dispregno[0], regno[0], in bfd_h8_disassemble()
[all …]
Darm-dis.c2075 int regno = ((given >> 12) & 0xf) | ((given >> (22 - 4)) & 0x10); in print_insn_coprocessor() local
2079 func (stream, "{d%d}", regno); in print_insn_coprocessor()
2080 else if (regno + offset > 32) in print_insn_coprocessor()
2081 func (stream, "{d%d-<overflow reg d%d>}", regno, regno + offset - 1); in print_insn_coprocessor()
2083 func (stream, "{d%d-d%d}", regno, regno + offset - 1); in print_insn_coprocessor()
2303 int regno; in print_insn_coprocessor() local
2309 regno = given & 0x0000000f; in print_insn_coprocessor()
2312 regno <<= 1; in print_insn_coprocessor()
2313 regno += (given >> 5) & 1; in print_insn_coprocessor()
2316 regno += ((given >> 5) & 1) << 4; in print_insn_coprocessor()
[all …]
Daarch64-dis.c223 info->reg.regno = extract_field (self->fields[0], code, 0); in aarch64_ext_regno()
234 info->reg.regno = inst->operands[info->idx - 1].reg.regno + 1; in aarch64_ext_regno_pair()
244 info->reg.regno = extract_field (self->fields[0], code, 0); in aarch64_ext_regrt_sysins()
263 info->reglane.regno = extract_field (self->fields[0], code, in aarch64_ext_reglane()
314 info->reglane.regno &= 0xf; in aarch64_ext_reglane()
792 info->reg.regno = extract_field (FLD_Rt, code, 0); in aarch64_ext_ft()
847 info->addr.offset.regno = extract_field (FLD_Rm, code, 0); in aarch64_ext_addr_regoff()
944 info->addr.offset.regno = extract_field (FLD_Rm, code, 0); in aarch64_ext_simd_addr_post()
945 if (info->addr.offset.regno == 31) in aarch64_ext_simd_addr_post()
1081 info->reg.regno = extract_field (FLD_Rm, code, 0); in aarch64_ext_reg_extended()
[all …]
Dmips-dis.c1046 enum mips_reg_operand_type type, int regno) in print_reg() argument
1052 info->fprintf_func (info->stream, "%s", mips_gpr_names_xr[regno]); in print_reg()
1056 info->fprintf_func (info->stream, "%s", mips_gpr_names[regno]); in print_reg()
1060 info->fprintf_func (info->stream, "%s", mips_fpr_names[regno]); in print_reg()
1065 info->fprintf_func (info->stream, "$fcc%d", regno); in print_reg()
1067 info->fprintf_func (info->stream, "$cc%d", regno); in print_reg()
1072 info->fprintf_func (info->stream, "$f%d", regno); in print_reg()
1074 info->fprintf_func (info->stream, "$v%d", regno); in print_reg()
1078 info->fprintf_func (info->stream, "$ac%d", regno); in print_reg()
1083 info->fprintf_func (info->stream, "%s", mips_cp0_names[regno]); in print_reg()
[all …]
Daarch64-opc.c428 && operand->reg.regno == 31); in aarch64_stack_pointer_p()
438 && operand->reg.regno == 31); in aarch64_zero_register_p()
1262 if (opnds[idx - 1].reg.regno % 2 != 0) in operand_general_constraint_met_p()
1268 if (opnds[idx].reg.regno != opnds[idx - 1].reg.regno + 1) in operand_general_constraint_met_p()
1395 if (value_in_range_p (opnd->addr.offset.regno, 0, 30)) in operand_general_constraint_met_p()
1853 if (opnd->reg.regno > 15) in operand_general_constraint_met_p()
1899 && !value_in_range_p (opnd->reglane.regno, 0, 15)) in operand_general_constraint_met_p()
2137 get_int_reg_name (int regno, aarch64_opnd_qualifier_t qualifier, int sp_reg_p) in get_int_reg_name() argument
2141 return int_reg[has_zr][is_64][regno]; in get_int_reg_name()
2147 get_64bit_int_reg_name (int regno, int sp_reg_p) in get_64bit_int_reg_name() argument
[all …]
Dfrv-asm.c580 int regno; in parse_register_number() local
585 regno = **strp - '0'; in parse_register_number()
587 regno = regno * 10 + (**strp - '0'); in parse_register_number()
589 return regno; in parse_register_number()
599 long regno; in parse_spr() local
605 regno = parse_register_number (strp); in parse_spr()
609 if (! spr_valid (regno)) in parse_spr()
611 *valuep = regno; in parse_spr()
616 regno = parse_register_number (strp); in parse_spr()
617 if (regno != -1) in parse_spr()
[all …]
Darc-opc.c1045 lookup_register (int type, long regno) in lookup_register() argument
1052 if (ext_oper->operand.type == type && ext_oper->operand.value == regno) in lookup_register()
1058 return &arc_reg_names[regno]; in lookup_register()
1063 if (type == r->type && regno == r->value) in lookup_register()
1082 int regno; in extract_reg() local
1087 regno = (*insn >> operand->shift) & ((1 << operand->bits) - 1); in extract_reg()
1090 if (regno == ARC_REG_SHIMM) in extract_reg()
1108 else if (regno == ARC_REG_SHIMM_UPDATE) in extract_reg()
1125 else if (regno == ARC_REG_LIMM) in extract_reg()
1140 const struct arc_operand_value *reg = lookup_register (REG, regno); in extract_reg()
[all …]
Dtic4x-dis.c131 tic4x_print_register (struct disassemble_info *info, unsigned long regno) in tic4x_print_register() argument
140 registertable[tic3x_registers[i].regno] = (tic4x_register_t *) (tic3x_registers + i); in tic4x_print_register()
146 registertable[tic4x_registers[i].regno] = in tic4x_print_register()
150 if ((int) regno > (IS_CPU_TIC4X (tic4x_version) ? TIC4X_REG_MAX : TIC3X_REG_MAX)) in tic4x_print_register()
153 (*info->fprintf_func) (info->stream, "%s", registertable[regno]->name); in tic4x_print_register()
/toolchain/binutils/binutils-2.25/cpu/
Dfr30.opc54 int regno;
58 regno = **strp - '0';
63 regno = regno * 10 + (**strp - '0');
67 return regno;
81 int regno;
87 regno = parse_register_number (strp);
88 if (regno == -1)
90 if (regno > 7 && !high_low)
92 if (regno < 8 && high_low)
96 regno -= 8;
[all …]
Dcris.cpu892 ((orif (orif (eq index (regno p0)) (eq index (regno p4)))
893 (eq index (regno p8))) 0)
894 ((eq index (regno vr)) machver)
895 ((orif (eq index (regno ccr))
896 (eq index (regno dccr)))
900 (and SI (raw-reg SI h-sr-x (regno ccr)) #xffffff00)
922 ((orif (orif (eq index (regno p0)) (eq index (regno p4)))
923 (orif (eq index (regno p8)) (eq index (regno vr))))
925 ((orif (eq index (regno ccr)) (eq index (regno dccr)))
936 (set-quiet (raw-reg SI h-sr-x (regno ccr)) val)
[all …]
/toolchain/binutils/binutils-2.25/gas/
Ddw2gencfi.c376 cfi_set_return_column (unsigned regno) in cfi_set_return_column() argument
378 frchain_now->frch_cfi_data->cur_fde_data->return_column = regno; in cfi_set_return_column()
392 cfi_add_CFA_insn_reg (int insn, unsigned regno) in cfi_add_CFA_insn_reg() argument
397 insn_ptr->u.r = regno; in cfi_add_CFA_insn_reg()
420 cfi_add_CFA_insn_reg_offset (int insn, unsigned regno, offsetT offset) in cfi_add_CFA_insn_reg_offset() argument
425 insn_ptr->u.ri.reg = regno; in cfi_add_CFA_insn_reg_offset()
446 cfi_add_CFA_offset (unsigned regno, offsetT offset) in cfi_add_CFA_offset() argument
451 cfi_add_CFA_insn_reg_offset (DW_CFA_offset, regno, offset); in cfi_add_CFA_offset()
462 cfi_add_CFA_def_cfa (unsigned regno, offsetT offset) in cfi_add_CFA_def_cfa() argument
464 cfi_add_CFA_insn_reg_offset (DW_CFA_def_cfa, regno, offset); in cfi_add_CFA_def_cfa()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/
Dcris.exp245 proc to_sreg { regname regno regtype input_avoid } {
247 [format "%0x63" $regno] [format "%0xa3" $regno] \
255 proc sreg_to { regname regno regtype input_avoid } {
257 [format "%0x67" $regno] [format "%0xa7" $regno] \
263 proc push_pop { regname regno regtype input_avoid } {
265 00 [format "%0x00" $regno] \
276 set regno [lindex [lindex $spec_reg_list $i] 1]
282 $inner_function $regname $regno $regtype $input_avoid
/toolchain/binutils/binutils-2.25/include/gdb/
Dremote-sim.h189 int sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length);
203 int sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length);

123