Lines Matching full:opjp
2510 shmedia_operand_info *opjp = &operands->operands[j];
2537 insn |= (opjp->reg << opcode->nibbles[i]);
2548 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2554 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2561 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2567 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2573 if (opjp->reloctype == BFD_RELOC_NONE)
2574 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2576 else if (opjp->reloctype == BFD_RELOC_SH_GOTPLT32)
2577 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2579 else if (opjp->reloctype == BFD_RELOC_32_GOT_PCREL)
2580 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2588 if (opjp->reloctype == BFD_RELOC_NONE)
2589 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2591 else if (opjp->reloctype == BFD_RELOC_SH_GOTPLT32)
2592 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2594 else if (opjp->reloctype == BFD_RELOC_32_GOT_PCREL)
2595 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2605 if (opjp->reloctype == BFD_RELOC_32_GOT_PCREL)
2606 opjp->reloctype = BFD_RELOC_SH_GOT_LOW16;
2607 else if (opjp->reloctype == BFD_RELOC_SH_GOTPLT32)
2608 opjp->reloctype = BFD_RELOC_SH_GOTPLT_LOW16;
2610 if ((opjp->reloctype == BFD_RELOC_NONE
2611 || opjp->reloctype == BFD_RELOC_32_GOTOFF
2612 || opjp->reloctype == BFD_RELOC_32_PLT_PCREL
2613 || opjp->reloctype == BFD_RELOC_SH_GOTPC)
2615 && (opjp->immediate.X_op != O_constant
2616 || opjp->immediate.X_add_number < -32768
2617 || opjp->immediate.X_add_number > 32767)
2619 || opjp->reloctype == BFD_RELOC_32_GOTOFF
2620 || opjp->reloctype == BFD_RELOC_32_PLT_PCREL
2621 || opjp->reloctype == BFD_RELOC_SH_GOTPC))
2628 = opjp->immediate.X_op_symbol != NULL
2629 ? 0 : opjp->immediate.X_add_number;
2631 = opjp->immediate.X_op_symbol != NULL
2632 ? make_expr_symbol (&opjp->immediate)
2633 : opjp->immediate.X_add_symbol;
2635 if (opjp->reloctype == BFD_RELOC_32_GOTOFF)
2637 else if (opjp->reloctype == BFD_RELOC_32_PLT_PCREL)
2644 else if (opjp->reloctype == BFD_RELOC_SH_GOTPC)
2658 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2659 (opjp->reloctype
2662 : opjp->reloctype);
2678 if (opjp->immediate.X_op_symbol != NULL)
2684 if (opjp->reloctype == BFD_RELOC_32_PLT_PCREL)
2688 if (sh64_expand || opjp->reloctype != BFD_RELOC_NONE)
2693 opjp->immediate.X_add_symbol,
2694 opjp->immediate.X_add_number,
2697 insn |= shmedia_immediate_op (insn_loc, opjp, 1,
2698 opjp->reloctype == BFD_RELOC_NONE
2700 : opjp->reloctype);
2718 if (opjp->immediate.X_op_symbol != NULL)
2724 if (opjp->reloctype == BFD_RELOC_32_PLT_PCREL)
2728 if (sh64_expand || opjp->reloctype != BFD_RELOC_NONE)
2733 opjp->immediate.X_add_symbol,
2734 opjp->immediate.X_add_number,
2740 insn |= shmedia_immediate_op (insn_loc, opjp, 1,
2741 opjp->reloctype == BFD_RELOC_NONE
2743 : opjp->reloctype);
2750 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2756 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2762 insn |= shmedia_immediate_op (insn_loc, opjp, 0,
2763 (opjp->reloctype
2766 : opjp->reloctype);