Lines Matching defs:insn

388  *		v9 insn must be seen.
850 const struct sparc_opcode *insn;
854 insn = (struct sparc_opcode *) hash_find (op_hash, name);
855 if (insn == NULL)
863 retval = hash_insert (op_hash, native_op_table[i].name, (PTR) insn);
1040 synthetize_setuw (insn)
1041 const struct sparc_opcode *insn;
1076 output_insn (insn, &the_insn);
1092 output_insn (insn, &the_insn);
1099 synthetize_setsw (insn)
1100 const struct sparc_opcode *insn;
1108 synthetize_setuw (insn);
1113 output_insn (insn, &the_insn);
1126 synthetize_setuw (insn);
1138 output_insn (insn, &the_insn);
1145 output_insn (insn, &the_insn);
1151 synthetize_setx (insn)
1152 const struct sparc_opcode *insn;
1184 synthetize_setuw (insn);
1198 /* Only need hh22 if `or' insn can't handle constant. */
1215 /* No need for sethi if `or' insn can handle constant. */
1218 insn unless the upper 32 bits are all ones. */
1248 output_insn (insn, &the_insn);
1258 output_insn (insn, &the_insn);
1270 output_insn (insn, &the_insn);
1284 output_insn (insn, &the_insn);
1293 output_insn (insn, &the_insn);
1302 output_insn (insn, &the_insn);
1311 output_insn (insn, &the_insn);
1322 const struct sparc_opcode *insn;
1326 special_case = sparc_ip (str, &insn);
1327 if (insn == NULL)
1333 && (insn->flags & F_FBR) != 0
1346 && (insn->flags & F_FBR) != 0
1353 output_insn (insn, &nop_insn);
1360 /* Normal insn. */
1361 output_insn (insn, &the_insn);
1365 synthetize_setsw (insn);
1369 synthetize_setuw (insn);
1373 synthetize_setx (insn);
1380 output_insn (insn, &the_insn);
1389 output_insn (insn, &the_insn);
1394 as_fatal (_("failed special case insn sanity check"));
1409 const struct sparc_opcode *insn;
1444 insn = (struct sparc_opcode *) hash_find (op_hash, str);
1445 *pinsn = insn;
1446 if (insn == NULL)
1459 opcode = insn->match;
1466 for (args = insn->args;; ++args)
1663 && (insn->architecture
1913 as_bad (_("Illegal operands: %%%s cannot be used together with other relocs in the insn ()"),
2265 case '0': /* 64 bit immediate (set, setsw, setx insn) */
2552 into the insn here and save having to create a fixS
2731 if (&insn[1] - sparc_opcodes < sparc_num_opcodes
2732 && (insn->name == insn[1].name
2733 || !strcmp (insn->name, insn[1].name)))
2735 ++insn;
2748 int needed_arch_mask = insn->architecture;
2794 /* Create a list of the architectures that support the insn. */
2869 (say if we're not processing the right variant of the insn).
2917 /* Subroutine of md_assemble to output one insn. */
2920 output_insn (insn, the_insn)
2921 const struct sparc_opcode *insn;
2943 the insn size is 4 and fixup_segment will signal an overflow for
2950 last_insn = insn;
3070 long insn;
3190 insn = bfd_getb32 ((unsigned char *) buf);
3192 insn = bfd_getl32 ((unsigned char *) buf);
3205 insn |= val & 0x3fffffff;
3232 if ((insn & OP (~0)) != OP (1) || (delay & OP (~0)) != OP (2))
3253 insn = INSN_BPA | (val & 0x7ffff);
3256 insn = INSN_BA | (val & 0x3fffff);
3295 insn |= val & 0x7ff;
3302 insn |= val & 0x3ff;
3309 insn |= val & 0x7f;
3316 insn |= val & 0x3f;
3323 insn |= val & 0x1f;
3334 insn |= ((val & 0xc000) << 6) | (val & 0x3fff);
3345 insn |= val & 0x7ffff;
3355 insn |= (val >> 10) & 0x3fffff;
3358 insn &= ~0xffff;
3365 insn |= (val & 0x3fffff);
3374 insn |= val & 0x3ff;
3377 insn &= ~0xff;
3389 insn |= val & 0x1fff;
3396 insn |= val & 0x3fffff;
3404 insn |= tval & 0x3fffff;
3410 insn |= (val >> 12) & 0x3ff;
3415 insn |= val & 0xfff;
3422 insn |= (val >> 10) & 0x3fffff;
3428 insn |= 0x1c00 | (val & 0x3ff);
3440 bfd_putb32 (insn, (unsigned char *) buf);
3442 bfd_putl32 (insn, (unsigned char *) buf);