Home
last modified time | relevance | path

Searched refs:X_op (Results 1 – 25 of 92) sorted by relevance

1234

/toolchain/binutils/binutils-2.25/gas/config/
Dtc-mmix.c489 if (exp[numexp].X_op == O_illegal) in get_operands()
493 else if (exp[numexp].X_op == O_absent) in get_operands()
515 exp[numexp].X_op = O_illegal; in get_operands()
565 exp[0].X_op = O_illegal; in get_putget_operands()
566 exp[1].X_op = O_illegal; in get_putget_operands()
627 if (expp_reg->X_op != O_illegal in get_putget_operands()
628 && expp_reg->X_op != O_absent in get_putget_operands()
631 expp_sreg->X_op = O_register; in get_putget_operands()
1094 if (n_operands != 1 || exp[0].X_op == O_register) in md_assemble()
1115 || ((exp[0].X_op == O_constant || exp[0].X_op == O_register) in md_assemble()
[all …]
Dtc-z80.c229 reg.X_op = O_register; in md_begin()
533 return (O_register == ex->X_op) in contains_register()
552 switch (op->X_op) in parse_exp_not_indexed()
571 switch (op->X_op) in parse_exp()
575 if (op->X_md && (O_register == symbol_get_value_expression(op->X_add_symbol)->X_op)) in parse_exp()
584 if (O_subtract == op->X_op) in parse_exp()
587 minus.X_op = O_uminus; in parse_exp()
592 op->X_op = O_add; in parse_exp()
598 op->X_op = O_md1; in parse_exp()
606 op->X_op = O_md1; in parse_exp()
[all …]
Dtc-d10v.c37 #define AT_WORD_P(X) ((X)->X_op == O_right_shift \
155 expressionP->X_op = O_register; in register_name()
369 exp[numops].X_op = O_absent; in get_operands()
386 exp[numops].X_op = O_absent; in get_operands()
428 if (exp[numops].X_op == O_register) in get_operands()
433 exp[numops].X_op = O_symbol; in get_operands()
451 new_exp.X_op = O_constant; in get_operands()
454 exp[numops].X_op = O_right_shift; in get_operands()
460 if (exp[numops].X_op == O_illegal) in get_operands()
462 else if (exp[numops].X_op == O_absent) in get_operands()
[all …]
Dtc-i386-intel.c207 e->X_op = O_constant; in i386_intel_parse_name()
244 if (exp->X_op == O_symbol in i386_intel_fold()
250 e->X_op = O_symbol; in i386_intel_fold()
265 if (e->X_op == O_register) in i386_intel_simplify_register()
339 switch (e->X_op) in i386_intel_simplify()
357 e->X_op = O_add; in i386_intel_simplify()
385 intel_state.op_modifier = e->X_op; in i386_intel_simplify()
388 if (symbol_get_value_expression (e->X_add_symbol)->X_op in i386_intel_simplify()
400 if (symbol_get_value_expression (e->X_op_symbol)->X_op in i386_intel_simplify()
436 if (scale->X_op != O_constant in i386_intel_simplify()
[all …]
Dtc-d30v.c181 expressionP->X_op = O_register; in register_name()
400 exp[numops].X_op = O_absent; in get_operands()
415 exp[numops].X_op = O_absent; in get_operands()
452 if (exp[numops].X_op == O_illegal) in get_operands()
454 else if (exp[numops].X_op == O_absent) in get_operands()
464 exp[numops].X_op = O_absent; in get_operands()
469 exp[numops].X_op = O_absent; in get_operands()
476 exp[numops].X_op = 0; in get_operands()
510 if (opers[i].X_op != O_symbol) in build_insn()
532 if (opers[i].X_op != O_register && opers[i].X_op != O_constant in build_insn()
[all …]
Dobj-coff-seh.c335 seh_ctx_cur->handler.X_op = O_constant; in obj_coff_seh_handler()
351 seh_ctx_cur->handler_data.X_op = O_constant; in obj_coff_seh_handler()
763 exp.X_op = O_subtract; in seh_x64_write_prologue_data()
861 exp.X_op = O_subtract; in seh_x64_write_function_xdata()
890 if (c->handler.X_op == O_symbol) in seh_x64_write_function_xdata()
891 c->handler.X_op = O_symbol_rva; in seh_x64_write_function_xdata()
927 exp.X_op = O_symbol; in seh_arm_write_function_pdata()
932 exp.X_op = O_subtract; in seh_arm_write_function_pdata()
936 if (resolve_expression (&exp) && exp.X_op == O_constant) in seh_arm_write_function_pdata()
943 exp.X_op = O_subtract; in seh_arm_write_function_pdata()
[all …]
Dtc-tic4x.c680 exp.X_op = O_constant; in tic4x_emit_char()
850 if (exp.X_op == O_constant) in tic4x_cons()
906 if (exp.X_op != O_constant) in tic4x_stringer()
1445 if (operand->expr.X_op != O_constant) in tic4x_indirect_parse()
1463 if (operand->expr.X_op != O_register) in tic4x_indirect_parse()
1536 if (exp->X_op != O_register) in tic4x_operand_parse()
1544 if (exp->X_op == O_constant) in tic4x_operand_parse()
1546 else if (exp->X_op == O_big) in tic4x_operand_parse()
1559 else if (exp->X_op == O_symbol) in tic4x_operand_parse()
1567 if (exp->X_op == O_constant) in tic4x_operand_parse()
[all …]
Dtc-ia64.c1024 if (md.qp.X_op == O_register) in ia64_flush_insns()
3051 if (e->X_op != O_register || *qp > 63) in parse_predicate_and_operand()
3061 e->X_op = O_absent; in parse_predicate_and_operand()
3076 if (e->X_op != O_register) in convert_expr_to_ab_reg()
3130 if (e->X_op != O_register) in convert_expr_to_xy_reg()
3314 if (e.X_op != O_constant) in dot_fframe()
3334 if (e.X_op != O_register || reg > 127) in dot_vframe()
3360 if (e.X_op != O_constant) in dot_vframesp()
3383 e2.X_op = O_absent; in dot_save()
3387 if (e1.X_op != O_register) in dot_save()
[all …]
Dtc-alpha.c205 (t).X_op = O_register, \
208 (t).X_op = O_pregister, \
211 (t).X_op = O_cpregister, \
214 (t).X_op = O_register, \
217 (t).X_op = O_symbol, \
221 (t).X_op = O_constant, \
797 switch (t->X_op) in debug_exp()
969 if (tok->X_op != O_constant || tok->X_add_number <= 0) in tokenize_arguments()
977 tok->X_op = r->op; in tokenize_arguments()
996 if (*input_line_pointer == ')' && tok->X_op == O_register) in tokenize_arguments()
[all …]
Dtc-i370.c282 expressionP->X_op = O_register; in register_name()
639 if (new_exp.X_op == O_constant) in i370_elf_suffix()
675 if (exp.X_op == O_symbol in i370_elf_cons()
1226 if (O_constant == baseaddr->X_op) in i370_make_relative()
1228 exx->X_op = O_symbol; in i370_make_relative()
1231 else if (O_symbol == baseaddr->X_op) in i370_make_relative()
1233 exx->X_op = O_subtract; in i370_make_relative()
1237 else if (O_uminus == baseaddr->X_op) in i370_make_relative()
1239 exx->X_op = O_add; in i370_make_relative()
1271 if (exx->X_op == O_constant in add_to_lit_pool()
[all …]
Dtc-msp430.c419 if (op->X_op == O_absent) in parse_exp()
598 exp1.X_op = O_constant; in msp430_profiler()
604 exp1.X_op = O_symbol; in msp430_profiler()
610 exp.X_op = O_constant; in msp430_profiler()
637 exp.X_op = O_constant; in msp430_profiler()
1108 if (op->exp.X_op == O_constant) in msp430_srcoperand()
1218 else if (op->exp.X_op == O_symbol) in msp430_srcoperand()
1224 else if (op->exp.X_op == O_big) in msp430_srcoperand()
1230 op->exp.X_op = O_constant; in msp430_srcoperand()
1287 else if (op->exp.X_op == O_register) in msp430_srcoperand()
[all …]
Dtc-tilepro.c428 if (operand_exp->X_op == O_register in emit_tilepro_instruction()
429 || (operand_exp->X_op == O_constant && !is_pc_relative)) in emit_tilepro_instruction()
444 switch (operand_exp->X_op) in emit_tilepro_instruction()
646 if (operand_exp->X_op != O_symbol in emit_tilepro_instruction()
656 subexp.X_op = O_symbol; in emit_tilepro_instruction()
910 e->X_op = O_constant; in tilepro_parse_name()
945 if (e->X_op == O_register || e->X_op == O_absent) in tilepro_parse_name()
948 e->X_op = O_constant; in tilepro_parse_name()
965 e->X_op = op; in tilepro_parse_name()
1004 expression->X_op = O_register; in parse_reg_expression()
[all …]
Dtc-xstormy16.c160 if (e->X_op != O_symbol) in md_operand()
181 e->X_op = O_fptr_symbol; in md_operand()
199 if (exp->X_op == O_fptr_symbol) in xstormy16_cons_fix_new()
213 exp->X_op = O_symbol; in xstormy16_cons_fix_new()
218 exp->X_op = O_symbol; in xstormy16_cons_fix_new()
255 operatorT op = exp->X_op; in xstormy16_cgen_record_fixup_exp()
258 exp->X_op = O_symbol; in xstormy16_cgen_record_fixup_exp()
Dtc-tilegx.c501 if (operand_exp->X_op == O_register in emit_tilegx_instruction()
502 || (operand_exp->X_op == O_constant && !is_pc_relative)) in emit_tilegx_instruction()
517 switch (operand_exp->X_op) in emit_tilegx_instruction()
754 if (operand_exp->X_op != O_symbol in emit_tilegx_instruction()
764 subexp.X_op = O_symbol; in emit_tilegx_instruction()
1019 e->X_op = O_constant; in tilegx_parse_name()
1053 if (e->X_op == O_register || e->X_op == O_absent) in tilegx_parse_name()
1056 e->X_op = O_constant; in tilegx_parse_name()
1073 e->X_op = op; in tilegx_parse_name()
1117 expression->X_op = O_register; in parse_reg_expression()
[all …]
Dtc-arc.c357 if (exp->X_op == O_right_shift in get_arc_exp_reloc_type()
359 && exp->X_op_symbol->sy_value.X_op == O_constant in get_arc_exp_reloc_type()
364 && (exp->X_add_symbol->sy_value.X_op == O_constant in get_arc_exp_reloc_type()
365 || exp->X_add_symbol->sy_value.X_op == O_symbol)) in get_arc_exp_reloc_type()
368 expnew->X_op = O_symbol; in get_arc_exp_reloc_type()
373 && exp->X_add_symbol->sy_value.X_op == O_subtract) in get_arc_exp_reloc_type()
1053 if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0) in arc_code_symbol()
1057 expressionP->X_op = O_right_shift; in arc_code_symbol()
1058 expressionP->X_add_symbol->sy_value.X_op = O_constant; in arc_code_symbol()
1059 two.X_op = O_constant; in arc_code_symbol()
[all …]
Drx-parse.y94 if (v.X_op != O_constant && v.X_op != O_big) rx_linkrelax_imm (pos)
279 if ($4.X_op != O_constant && $4.X_op != O_big) rx_linkrelax_imm (12); } }
1324 if (exp.X_op == O_big && nbits == 32) in rx_intop()
1326 if (exp.X_op != O_constant) in rx_intop()
1362 if (exp.X_op != O_constant) in rx_uintop()
1388 if (exp.X_op != O_constant) in rx_disp3op()
1401 if (exp->X_op != O_constant) in rx_disp5op()
1438 if (exp->X_op != O_constant) in rx_disp5op0()
1448 if (exp.X_op != O_constant) in exp_val()
1461 zero.X_op = O_constant; in zero_expr()
[all …]
Dtc-s390.c283 expressionP->X_op = O_register; in register_name()
708 if (exp_p->X_op != O_symbol) in s390_tls_suffix()
800 switch (new_exp.X_op) in s390_elf_suffix()
810 exp_p->X_op = O_add; in s390_elf_suffix()
817 exp_p->X_op = O_subtract; in s390_elf_suffix()
860 if (exp1->X_op != exp2->X_op) in s390_exp_compare()
863 switch (exp1->X_op) in s390_exp_compare()
954 if (exp_p->X_op == O_big) in s390_lit_suffix()
959 if (lpe->ex.X_op == O_big) in s390_lit_suffix()
1000 if (exp_p->X_op == O_big) in s390_lit_suffix()
[all …]
Dtc-cr16.c162 if (exp.X_op == O_absent) in l_cons()
166 exp.X_op = O_constant; in l_cons()
169 if (exp.X_op != O_constant) in l_cons()
198 if (exp.X_op != O_constant) in l_cons()
222 exp.X_op = O_constant; in l_cons()
882 switch (cr16_ins->exp.X_op) in process_label_constant()
889 cr16_ins->exp.X_op = O_constant; in process_label_constant()
896 cur_arg->X_op = O_constant; in process_label_constant()
903 cur_arg->X_op = O_symbol; in process_label_constant()
1089 cur_arg->X_op = cr16_ins->exp.X_op; in process_label_constant()
[all …]
Dtc-hppa.c1059 ((exp).X_op == O_subtract \
1063 ((exp).X_op == O_subtract \
1067 ((exp).X_op == O_subtract \
1071 ((exp).X_op == O_subtract \
1075 ((exp).X_op == O_subtract \
1079 ((exp).X_op == O_subtract \
1083 ((exp).X_op == O_subtract \
1087 ((exp).X_op == O_subtract \
1094 ((exp).X_op != O_constant && (exp).X_op != O_symbol)
2551 if (insn->exp.X_op != O_constant) in pa_get_absolute_expression()
[all …]
Dtc-m68hc11.c1154 oper->exp.X_op = O_absent; in get_operand()
1235 oper->exp.X_op = O_constant; in get_operand()
1331 if (oper->exp.X_op == O_illegal) in get_operand()
1336 else if (oper->exp.X_op == O_absent) in get_operand()
1575 if (oper->X_op == O_constant) in fixup8()
1597 else if (oper->X_op != O_register) in fixup8()
1632 as_fatal (_("Operand `%x' not recognized in fixup8."), oper->X_op); in fixup8()
1645 if (oper->X_op == O_constant) in fixup16()
1654 else if (oper->X_op != O_register) in fixup16()
1680 as_fatal (_("Operand `%x' not recognized in fixup16."), oper->X_op); in fixup16()
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dexpr.c74 if (expressionP->X_op == O_symbol in make_expr_symbol()
78 if (expressionP->X_op == O_big) in make_expr_symbol()
87 zero.X_op = O_constant; in make_expr_symbol()
100 (expressionP->X_op == O_constant in make_expr_symbol()
102 : expressionP->X_op == O_register in make_expr_symbol()
108 if (expressionP->X_op == O_constant) in make_expr_symbol()
159 e.X_op = O_constant; in expr_build_uconstant()
217 expressionP->X_op = O_big; in floating_constant()
530 expressionP->X_op = O_symbol; in integer_constant()
540 expressionP->X_op = O_constant; in integer_constant()
[all …]
Dehopt.c317 if ((exp->X_op == O_symbol || exp->X_op == O_subtract) in check_eh_frame()
349 if ((int)*pnbytes == -1 && exp->X_op == O_constant) in check_eh_frame()
354 else if (*pnbytes == 1 && exp->X_op == O_constant) in check_eh_frame()
383 && exp->X_op == O_constant in check_eh_frame()
399 if (exp->X_op == O_constant) in check_eh_frame()
423 else if (exp->X_op == O_subtract && d->cie_info.code_alignment == 1) in check_eh_frame()
433 else if ((exp->X_op == O_divide in check_eh_frame()
434 || exp->X_op == O_right_shift) in check_eh_frame()
439 && exp->X_add_symbol->sy_value.X_op == O_subtract in check_eh_frame()
440 && exp->X_op_symbol->sy_value.X_op == O_constant in check_eh_frame()
[all …]
Dread.c490 if (exp->X_op != O_constant) in get_absolute_expr()
492 if (exp->X_op != O_absent) in get_absolute_expr()
1329 exp->X_op = O_big; in convert_to_bignum()
1709 if (exp.X_op == O_absent) in s_comm_internal()
1855 exp.X_op = O_symbol; in s_mri_common()
2189 else if (rep_exp.X_op == O_constant && rep_exp.X_add_number <= 0) in s_fill()
2198 if (rep_exp.X_op == O_constant) in s_fill()
2217 size_exp.X_op = O_constant; in s_fill()
2220 rep_exp.X_op = O_multiply; in s_fill()
2468 if (exp.X_op == O_absent) in parse_align()
[all …]
Ddw2gencfi.c259 exp.X_op = O_symbol; in generic_dwarf2_emit_offset()
606 exp->X_op = O_constant; in tc_parse_to_dw2regnum()
624 switch (exp.X_op) in cfi_parse_reg()
857 switch (fde->personality.X_op) in dot_cfi_personality()
929 switch (fde->lsda.X_op) in dot_cfi_lsda()
996 switch (insn_ptr->u.ea.exp.X_op) in dot_cfi_val_encoded_addr()
1218 exp.X_op = O_subtract; in output_cfi_insn()
1375 insn->u.ea.exp.X_op = O_subtract; in output_cfi_insn()
1428 exp.X_op = O_subtract; in output_cie()
1484 exp.X_op = O_subtract; in output_cie()
[all …]
Dcgen.c323 e.X_op = op; in expr_build_binary()
416 switch (exp.X_op)
451 if (exp.X_op == O_symbol
453 && exp.X_add_symbol->sy_value.X_op == O_constant
495 exp.X_op = O_symbol;
617 if (exp->X_op != O_constant && exp->X_op != O_symbol)
794 if (exp->X_op != O_bit_and) in weak_operand_overflow_check()
806 && exp->X_add_symbol->sy_value.X_op == O_constant) in weak_operand_overflow_check()
810 && exp->X_op_symbol->sy_value.X_op == O_constant) in weak_operand_overflow_check()
848 new_exp->X_op = O_symbol; in make_right_shifted_expr()

1234