Lines Matching refs:macro_build

1299 static void macro_build (expressionS *, const char *, const char *, ...);
6707 macro_build (&ep, "lui", "t,u", ATREG, BFD_RELOC_HI16); in fix_loongson2f_jump()
6709 macro_build (&ep, "ori", "t,r,i", ATREG, ATREG, BFD_RELOC_LO16); in fix_loongson2f_jump()
6710 macro_build (NULL, "and", "d,v,t", sreg, sreg, ATREG); in fix_loongson2f_jump()
8544 macro_build (expressionS *ep, const char *name, const char *fmt, ...) in macro_build() function
8809 macro_build (NULL, jalr, "t,s", RA, PIC_CALL_REG); in macro_build_jalr()
8811 macro_build (NULL, jalr, "mj", PIC_CALL_REG); in macro_build_jalr()
8814 macro_build (NULL, "jalr", "d,s", RA, PIC_CALL_REG); in macro_build_jalr()
8840 macro_build (ep, "lui", LUI_FMT, regnum, BFD_RELOC_HI16_S); in macro_build_lui()
8863 macro_build (ep, op, "t,o(b)", treg, BFD_RELOC_LO16, breg); in macro_build_ldst_constoffset()
8873 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", AT, AT, breg); in macro_build_ldst_constoffset()
8874 macro_build (ep, op, "t,o(b)", treg, BFD_RELOC_LO16, AT); in macro_build_ldst_constoffset()
8890 macro_build (&imm_expr, unsignedp ? "sltiu" : "slti", "t,r,j", in set_at()
8895 macro_build (NULL, unsignedp ? "sltu" : "slt", "d,v,t", AT, reg, AT); in set_at()
8998 macro_build (ep, "addiu", "t,r,j", reg, 0, BFD_RELOC_LO16); in load_register()
9005 macro_build (ep, "ori", "t,r,i", reg, 0, BFD_RELOC_LO16); in load_register()
9011 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_HI16); in load_register()
9013 macro_build (ep, "ori", "t,r,i", reg, reg, BFD_RELOC_LO16); in load_register()
9026 macro_build (ep, "addiu", "t,r,j", reg, 0, BFD_RELOC_LO16); in load_register()
9063 macro_build (&lo32, "addiu", "t,r,j", reg, 0, BFD_RELOC_LO16); in load_register()
9068 macro_build (&lo32, "lui", LUI_FMT, reg, BFD_RELOC_HI16); in load_register()
9070 macro_build (&lo32, "ori", "t,r,i", reg, reg, BFD_RELOC_LO16); in load_register()
9104 macro_build (&tmp, "ori", "t,r,i", reg, 0, BFD_RELOC_LO16); in load_register()
9105 macro_build (NULL, (shift >= 32) ? "dsll32" : "dsll", SHFT_FMT, in load_register()
9153 macro_build (&tmp, "addiu", "t,r,j", reg, 0, BFD_RELOC_LO16); in load_register()
9157 macro_build (NULL, (bit >= 32) ? "dsll32" : "dsll", SHFT_FMT, in load_register()
9160 macro_build (NULL, (shift >= 32) ? "dsrl32" : "dsrl", SHFT_FMT, in load_register()
9177 macro_build (NULL, "dsll32", SHFT_FMT, reg, freg, 0); in load_register()
9187 macro_build (&lo32, "lui", LUI_FMT, reg, BFD_RELOC_HI16); in load_register()
9188 macro_build (NULL, "dsrl32", SHFT_FMT, reg, reg, 0); in load_register()
9194 macro_build (NULL, "dsll", SHFT_FMT, reg, freg, 16); in load_register()
9199 macro_build (&mid16, "ori", "t,r,i", reg, freg, BFD_RELOC_LO16); in load_register()
9200 macro_build (NULL, "dsll", SHFT_FMT, reg, reg, 16); in load_register()
9204 macro_build (&lo32, "ori", "t,r,i", reg, freg, BFD_RELOC_LO16); in load_register()
9211 macro_build (NULL, "nop", ""); in load_delay_nop()
9266 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, in load_address()
9273 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_HIGHEST); in load_address()
9274 macro_build (ep, "lui", LUI_FMT, AT, BFD_RELOC_HI16_S); in load_address()
9275 macro_build (ep, "daddiu", "t,r,j", reg, reg, in load_address()
9277 macro_build (ep, "daddiu", "t,r,j", AT, AT, BFD_RELOC_LO16); in load_address()
9278 macro_build (NULL, "dsll32", SHFT_FMT, reg, reg, 0); in load_address()
9279 macro_build (NULL, "daddu", "d,v,t", reg, reg, AT); in load_address()
9284 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_HIGHEST); in load_address()
9285 macro_build (ep, "daddiu", "t,r,j", reg, reg, in load_address()
9287 macro_build (NULL, "dsll", SHFT_FMT, reg, reg, 16); in load_address()
9288 macro_build (ep, "daddiu", "t,r,j", reg, reg, BFD_RELOC_HI16_S); in load_address()
9289 macro_build (NULL, "dsll", SHFT_FMT, reg, reg, 16); in load_address()
9290 macro_build (ep, "daddiu", "t,r,j", reg, reg, BFD_RELOC_LO16); in load_address()
9302 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, in load_address()
9307 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", in load_address()
9336 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg, in load_address()
9341 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j", in load_address()
9346 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg, in load_address()
9355 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg, in load_address()
9360 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, reg, in load_address()
9369 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j", in load_address()
9399 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_GOT_HI16); in load_address()
9400 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in load_address()
9402 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", in load_address()
9409 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j", reg, reg, in load_address()
9415 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg, in load_address()
9417 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, reg, in load_address()
9426 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_GOT_HI16); in load_address()
9427 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in load_address()
9429 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", in load_address()
9438 macro_build (NULL, "nop", ""); in load_address()
9440 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg, in load_address()
9443 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, reg, in load_address()
9452 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j", reg, reg, in load_address()
9474 macro_build (NULL, "move", "mp,mj", dest, source); in move_register()
9476 macro_build (NULL, GPR_SIZE == 32 ? "addu" : "daddu", "d,v,t", in move_register()
9503 macro_build (&global, ADDRESS_LOAD_INSN, "t,o(b)", dest, in load_got_offset()
9506 macro_build (local, ADDRESS_LOAD_INSN, "t,o(b)", dest, in load_got_offset()
9522 macro_build (&global, ADDRESS_ADDI_INSN, "t,r,j", in add_got_offset()
9525 macro_build (local, ADDRESS_ADDI_INSN, "t,r,j", dest, dest, BFD_RELOC_LO16); in add_got_offset()
9549 macro_build (local, ADDRESS_ADDI_INSN, "t,r,j", tmp, tmp, BFD_RELOC_LO16); in add_got_offset_hilo()
9552 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", dest, dest, tmp); in add_got_offset_hilo()
9599 macro_build (&expr1, brneg, fmt, sreg, treg); in macro_build_branch_likely()
9600 macro_build (NULL, "nop", ""); in macro_build_branch_likely()
9601 macro_build (ep, call ? "bal" : "b", "p"); in macro_build_branch_likely()
9608 macro_build (ep, br, fmt, sreg, treg); in macro_build_branch_likely()
9609 macro_build (NULL, "nop", ""); in macro_build_branch_likely()
9706 macro_build (ep, br, "s,p", sreg); in macro_build_branch_rs()
9746 macro_build (ep, br, "s,t,p", sreg, treg); in macro_build_branch_rsrt()
9877 macro_build (&label_expr, "bgez", "s,p", op[1]); in macro()
9879 macro_build (NULL, "nop", ""); in macro()
9882 macro_build (NULL, dbl ? "dsub" : "sub", "d,v,t", op[0], 0, op[1]); in macro()
9906 macro_build (NULL, s, "t,r,.", op[0], op[1], in macro()
9919 macro_build (&imm_expr, s, "t,r,j", op[0], op[1], BFD_RELOC_LO16); in macro()
9925 macro_build (NULL, s2, "d,v,t", op[0], op[1], AT); in macro()
9948 macro_build (&imm_expr, s, "t,r,i", op[0], op[1], BFD_RELOC_LO16); in macro()
9951 macro_build (&imm_expr, "ori", "t,r,i", in macro()
9953 macro_build (NULL, "nor", "d,v,t", op[0], op[0], 0); in macro()
9960 macro_build (NULL, s2, "d,v,t", op[0], op[1], AT); in macro()
9967 macro_build (NULL, "nop", ""); in macro()
9970 macro_build (NULL, "packrl.ph", "d,s,t", op[0], op[0], op[1]); in macro()
9974 macro_build (NULL, "balign", "t,s,2", op[0], op[1], in macro()
10021 macro_build (NULL, "slt", "d,v,t", AT, op[0], op[1]); in macro()
10045 macro_build (NULL, "nop", ""); in macro()
10073 macro_build (&offset_expr, "b", "p"); in macro()
10093 macro_build (NULL, "sltu", "d,v,t", AT, op[0], op[1]); in macro()
10136 macro_build (NULL, "slt", "d,v,t", AT, op[1], op[0]); in macro()
10153 macro_build (NULL, "sltu", "d,v,t", AT, op[1], op[0]); in macro()
10169 macro_build (NULL, "slt", "d,v,t", AT, op[1], op[0]); in macro()
10210 macro_build (NULL, "sltu", "d,v,t", AT, op[1], op[0]); in macro()
10253 macro_build (NULL, "slt", "d,v,t", AT, op[0], op[1]); in macro()
10270 macro_build (NULL, "sltu", "d,v,t", AT, op[0], op[1]); in macro()
10290 macro_build (NULL, "teq", TRAP_FMT, ZERO, ZERO, 7); in macro()
10292 macro_build (NULL, "break", BRK_FMT, 7); in macro()
10299 macro_build (NULL, "teq", TRAP_FMT, op[2], ZERO, 7); in macro()
10300 macro_build (NULL, dbl ? "ddiv" : "div", "z,s,t", op[1], op[2]); in macro()
10308 macro_build (&label_expr, "bne", "s,t,p", op[2], ZERO); in macro()
10309 macro_build (NULL, dbl ? "ddiv" : "div", "z,s,t", op[1], op[2]); in macro()
10310 macro_build (NULL, "break", BRK_FMT, 7); in macro()
10321 macro_build (&label_expr, "bne", "s,t,p", op[2], AT); in macro()
10326 macro_build (NULL, "dsll32", SHFT_FMT, AT, AT, 31); in macro()
10331 macro_build (&expr1, "lui", LUI_FMT, AT, BFD_RELOC_HI16); in macro()
10335 macro_build (NULL, "teq", TRAP_FMT, op[1], AT, 6); in macro()
10346 macro_build (&label_expr, "bne", "s,t,p", op[1], AT); in macro()
10347 macro_build (NULL, "nop", ""); in macro()
10353 macro_build (NULL, "break", BRK_FMT, 6); in macro()
10357 macro_build (NULL, s, MFHL_FMT, op[0]); in macro()
10400 macro_build (NULL, "teq", TRAP_FMT, ZERO, ZERO, 7); in macro()
10402 macro_build (NULL, "break", BRK_FMT, 7); in macro()
10416 macro_build (NULL, dbl ? "dneg" : "neg", "d,w", op[0], op[1]); in macro()
10424 macro_build (NULL, s, "z,s,t", op[1], AT); in macro()
10425 macro_build (NULL, s2, MFHL_FMT, op[0]); in macro()
10447 macro_build (NULL, "teq", TRAP_FMT, op[2], ZERO, 7); in macro()
10448 macro_build (NULL, s, "z,s,t", op[1], op[2]); in macro()
10459 macro_build (&label_expr, "bne", "s,t,p", op[2], ZERO); in macro()
10460 macro_build (NULL, s, "z,s,t", op[1], op[2]); in macro()
10465 macro_build (NULL, "break", BRK_FMT, 7); in macro()
10469 macro_build (NULL, s2, MFHL_FMT, op[0]); in macro()
10493 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", op[0], breg, in macro()
10550 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10557 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10559 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10561 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10563 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10565 macro_build (NULL, "dsll32", SHFT_FMT, tempreg, tempreg, 0); in macro()
10566 macro_build (NULL, "daddu", "d,v,t", tempreg, tempreg, AT); in macro()
10571 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10573 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10575 macro_build (NULL, "dsll", SHFT_FMT, tempreg, tempreg, 16); in macro()
10576 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10578 macro_build (NULL, "dsll", SHFT_FMT, tempreg, tempreg, 16); in macro()
10579 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10592 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10599 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10647 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10657 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
10660 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10691 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
10733 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10739 macro_build (&expr1, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10758 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
10765 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
10776 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10780 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
10790 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10793 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10799 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10861 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, lui_reloc_type); in macro()
10862 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
10864 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
10880 macro_build (&expr1, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10900 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
10906 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", dreg, dreg, AT); in macro()
10917 macro_build (NULL, "nop", ""); in macro()
10920 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10926 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10942 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
10951 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10953 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11007 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, lui_reloc_type); in macro()
11008 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11010 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11018 macro_build (&expr1, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11037 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11044 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", dreg, dreg, AT); in macro()
11053 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
11055 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
11059 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11070 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", op[0], tempreg, breg); in macro()
11075 macro_build (NULL, "c2", "C", (op[0] << 16) | 0x01); in macro()
11080 macro_build (NULL, "c2", "C", 0x02); in macro()
11085 macro_build (NULL, "c2", "C", (op[0] << 16) | 0x02); in macro()
11090 macro_build (NULL, "c2", "C", 3); in macro()
11095 macro_build (NULL, "c2", "C", (op[0] << 16) | 0x03); in macro()
11103 macro_build (&offset_expr, "j", "a"); in macro()
11105 macro_build (&offset_expr, "b", "p"); in macro()
11137 macro_build (NULL, s, "mj", op[1]); in macro()
11139 macro_build (NULL, s, JALR_FMT, op[0], op[1]); in macro()
11157 macro_build (NULL, s, "mj", op[1]); in macro()
11159 macro_build (NULL, s, JALR_FMT, op[0], op[1]); in macro()
11179 macro_build (NULL, "nop", ""); in macro()
11202 macro_build (&offset_expr, jals ? "jals" : "jal", "a"); in macro()
11238 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11242 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11250 macro_build (&offset_expr, "lui", LUI_FMT, PIC_CALL_REG, in macro()
11252 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", PIC_CALL_REG, in macro()
11254 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11258 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11261 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11274 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11285 macro_build (&offset_expr, "lui", LUI_FMT, PIC_CALL_REG, in macro()
11287 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", PIC_CALL_REG, in macro()
11289 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11295 macro_build (NULL, "nop", ""); in macro()
11297 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11301 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11323 macro_build (NULL, "nop", ""); in macro()
11734 macro_build (&offset_expr, s, fmt, op[0], -1, offset_reloc[0], in macro()
11739 macro_build (NULL, s, fmt, op[0], breg); in macro()
11741 macro_build (NULL, s, fmt, op[0], in macro()
11748 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11752 macro_build (NULL, s, fmt, op[0], tempreg); in macro()
11754 macro_build (NULL, s, fmt, op[0], 0, tempreg); in macro()
11788 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11793 macro_build (&offset_expr, ADDRESS_ADDI_INSN, in macro()
11795 macro_build (NULL, s, fmt, op[0], tempreg); in macro()
11798 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_LO16, tempreg); in macro()
11800 macro_build (NULL, s, fmt, op[0], in macro()
11810 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11813 macro_build (NULL, s, fmt, op[0], tempreg); in macro()
11815 macro_build (NULL, s, fmt, op[0], 0, tempreg); in macro()
11882 macro_build (&offset_expr, s, fmt, op[0], in macro()
11887 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11889 macro_build (&offset_expr, s, fmt, op[0], in macro()
11897 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11899 macro_build (&offset_expr, "lui", LUI_FMT, AT, in macro()
11901 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11904 macro_build (NULL, "daddu", "d,v,t", AT, AT, breg); in macro()
11905 macro_build (NULL, "dsll32", SHFT_FMT, tempreg, tempreg, 0); in macro()
11906 macro_build (NULL, "daddu", "d,v,t", tempreg, tempreg, AT); in macro()
11907 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_LO16, in macro()
11913 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11915 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11917 macro_build (NULL, "dsll", SHFT_FMT, tempreg, tempreg, 16); in macro()
11918 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11920 macro_build (NULL, "dsll", SHFT_FMT, tempreg, tempreg, 16); in macro()
11922 macro_build (NULL, "daddu", "d,v,t", in macro()
11924 macro_build (&offset_expr, s, fmt, op[0], in macro()
11939 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_GPREL16, in macro()
11944 macro_build (&offset_expr, s, fmt, op[0], in macro()
11955 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11957 macro_build (&offset_expr, s, fmt, op[0], in macro()
11962 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
11964 macro_build (&offset_expr, s, fmt, op[0], in macro()
11997 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12000 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
12002 macro_build (&offset_expr, s, fmt, op[0], in macro()
12011 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12016 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
12020 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
12022 macro_build (&expr1, s, fmt, op[0], BFD_RELOC_LO16, tempreg); in macro()
12052 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
12054 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", tempreg, tempreg, in macro()
12056 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12060 macro_build (NULL, "nop", ""); in macro()
12061 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12064 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
12069 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
12071 macro_build (&expr1, s, fmt, op[0], BFD_RELOC_LO16, tempreg); in macro()
12090 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
12092 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", tempreg, tempreg, in macro()
12094 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12097 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
12099 macro_build (&expr1, s, fmt, op[0], BFD_RELOC_LO16, tempreg); in macro()
12103 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12106 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
12108 macro_build (&offset_expr, s, fmt, op[0], in macro()
12121 macro_build (NULL, "jr", "s", RA); in macro()
12123 macro_build (&expr1, "addiu", "t,r,j", SP, SP, BFD_RELOC_LO16); in macro()
12130 macro_build (NULL, "jr", "s", op[0]); in macro()
12132 macro_build (NULL, "nop", ""); in macro()
12149 macro_build (NULL, "mtc1", "t,G", AT, op[0]); in macro()
12160 macro_build (&offset_expr, "lwc1", "T,o(b)", op[0], in macro()
12215 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12224 macro_build (&offset_expr, "ld", "t,o(b)", op[0], in macro()
12230 macro_build (&offset_expr, "lw", "t,o(b)", op[0], in macro()
12237 macro_build (&offset_expr, "lw", "t,o(b)", in macro()
12254 macro_build (NULL, "dmtc1", "t,S", AT, op[0]); in macro()
12258 macro_build (NULL, "mthc1", "t,G", AT, op[0]); in macro()
12264 macro_build (NULL, "mtc1", "t,G", AT, op[0] + 1); in macro()
12266 macro_build (NULL, "mtc1", "t,G", 0, op[0]); in macro()
12271 macro_build (NULL, "mtc1", "t,G", AT, op[0]); in macro()
12293 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12388 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", AT, breg, in macro()
12402 macro_build (ep, s, fmt, op[0] + 1, -1, offset_reloc[0], in macro()
12405 macro_build (ep, s, fmt, op[0], -1, offset_reloc[0], in macro()
12410 macro_build (ep, s, fmt, coproc ? op[0] + 1 : op[0], -1, in macro()
12414 macro_build (ep, s, fmt, coproc ? op[0] : op[0] + 1, -1, in macro()
12464 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
12471 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12480 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12499 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", AT, breg, AT); in macro()
12501 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12506 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12534 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", AT, breg, AT); in macro()
12543 macro_build (&expr1, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12546 macro_build (&expr1, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12549 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12552 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12585 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
12587 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
12589 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
12593 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", AT, breg, AT); in macro()
12595 macro_build (&expr1, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12604 macro_build (&expr1, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12612 macro_build (NULL, "nop", ""); in macro()
12613 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12617 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", AT, breg, AT); in macro()
12619 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12628 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12681 macro_build (NULL, s, "C", (int) ip->insn_opcode); in macro()
12701 macro_build (NULL, dbl ? "dmultu" : "multu", "d,s,t", op[0], op[1], in macro()
12705 macro_build (NULL, dbl ? "dmultu" : "multu", "s,t", op[1], op[2]); in macro()
12706 macro_build (NULL, "mflo", MFHL_FMT, op[0]); in macro()
12718 macro_build (NULL, dbl ? "dmult" : "mult", "s,t", op[1], AT); in macro()
12719 macro_build (NULL, "mflo", MFHL_FMT, op[0]); in macro()
12736 macro_build (NULL, dbl ? "dmult" : "mult", "s,t", in macro()
12738 macro_build (NULL, "mflo", MFHL_FMT, op[0]); in macro()
12739 macro_build (NULL, dbl ? "dsra32" : "sra", SHFT_FMT, op[0], op[0], 31); in macro()
12740 macro_build (NULL, "mfhi", MFHL_FMT, AT); in macro()
12742 macro_build (NULL, "tne", TRAP_FMT, op[0], AT, 6); in macro()
12749 macro_build (&label_expr, "beq", "s,t,p", op[0], AT); in macro()
12750 macro_build (NULL, "nop", ""); in macro()
12751 macro_build (NULL, "break", BRK_FMT, 6); in macro()
12756 macro_build (NULL, "mflo", MFHL_FMT, op[0]); in macro()
12773 macro_build (NULL, dbl ? "dmultu" : "multu", "s,t", in macro()
12775 macro_build (NULL, "mfhi", MFHL_FMT, AT); in macro()
12776 macro_build (NULL, "mflo", MFHL_FMT, op[0]); in macro()
12778 macro_build (NULL, "tne", TRAP_FMT, AT, ZERO, 6); in macro()
12785 macro_build (&label_expr, "beq", "s,t,p", AT, ZERO); in macro()
12786 macro_build (NULL, "nop", ""); in macro()
12787 macro_build (NULL, "break", BRK_FMT, 6); in macro()
12804 macro_build (NULL, "dnegu", "d,w", tempreg, op[2]); in macro()
12805 macro_build (NULL, "drorv", "d,t,s", op[0], op[1], tempreg); in macro()
12809 macro_build (NULL, "dsubu", "d,v,t", AT, ZERO, op[2]); in macro()
12810 macro_build (NULL, "dsrlv", "d,t,s", AT, op[1], AT); in macro()
12811 macro_build (NULL, "dsllv", "d,t,s", op[0], op[1], op[2]); in macro()
12812 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12825 macro_build (NULL, "negu", "d,w", tempreg, op[2]); in macro()
12826 macro_build (NULL, "rorv", "d,t,s", op[0], op[1], tempreg); in macro()
12830 macro_build (NULL, "subu", "d,v,t", AT, ZERO, op[2]); in macro()
12831 macro_build (NULL, "srlv", "d,t,s", AT, op[1], AT); in macro()
12832 macro_build (NULL, "sllv", "d,t,s", op[0], op[1], op[2]); in macro()
12833 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12847 macro_build (NULL, "dror32", SHFT_FMT, op[0], op[1], rot - 32); in macro()
12849 macro_build (NULL, "dror", SHFT_FMT, op[0], op[1], rot); in macro()
12854 macro_build (NULL, "dsrl", SHFT_FMT, op[0], op[1], 0); in macro()
12861 macro_build (NULL, l, SHFT_FMT, AT, op[1], rot); in macro()
12862 macro_build (NULL, rr, SHFT_FMT, op[0], op[1], (0x20 - rot) & 0x1f); in macro()
12863 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12874 macro_build (NULL, "ror", SHFT_FMT, op[0], op[1], in macro()
12880 macro_build (NULL, "srl", SHFT_FMT, op[0], op[1], 0); in macro()
12884 macro_build (NULL, "sll", SHFT_FMT, AT, op[1], rot); in macro()
12885 macro_build (NULL, "srl", SHFT_FMT, op[0], op[1], (0x20 - rot) & 0x1f); in macro()
12886 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12893 macro_build (NULL, "drorv", "d,t,s", op[0], op[1], op[2]); in macro()
12897 macro_build (NULL, "dsubu", "d,v,t", AT, ZERO, op[2]); in macro()
12898 macro_build (NULL, "dsllv", "d,t,s", AT, op[1], AT); in macro()
12899 macro_build (NULL, "dsrlv", "d,t,s", op[0], op[1], op[2]); in macro()
12900 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12906 macro_build (NULL, "rorv", "d,t,s", op[0], op[1], op[2]); in macro()
12910 macro_build (NULL, "subu", "d,v,t", AT, ZERO, op[2]); in macro()
12911 macro_build (NULL, "sllv", "d,t,s", AT, op[1], AT); in macro()
12912 macro_build (NULL, "srlv", "d,t,s", op[0], op[1], op[2]); in macro()
12913 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12926 macro_build (NULL, "dror32", SHFT_FMT, op[0], op[1], rot - 32); in macro()
12928 macro_build (NULL, "dror", SHFT_FMT, op[0], op[1], rot); in macro()
12933 macro_build (NULL, "dsrl", SHFT_FMT, op[0], op[1], 0); in macro()
12940 macro_build (NULL, rr, SHFT_FMT, AT, op[1], rot); in macro()
12941 macro_build (NULL, l, SHFT_FMT, op[0], op[1], (0x20 - rot) & 0x1f); in macro()
12942 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12953 macro_build (NULL, "ror", SHFT_FMT, op[0], op[1], rot); in macro()
12958 macro_build (NULL, "srl", SHFT_FMT, op[0], op[1], 0); in macro()
12962 macro_build (NULL, "srl", SHFT_FMT, AT, op[1], rot); in macro()
12963 macro_build (NULL, "sll", SHFT_FMT, op[0], op[1], (0x20 - rot) & 0x1f); in macro()
12964 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
12970 macro_build (&expr1, "sltiu", "t,r,j", op[0], op[2], BFD_RELOC_LO16); in macro()
12972 macro_build (&expr1, "sltiu", "t,r,j", op[0], op[1], BFD_RELOC_LO16); in macro()
12975 macro_build (NULL, "xor", "d,v,t", op[0], op[1], op[2]); in macro()
12976 macro_build (&expr1, "sltiu", "t,r,j", op[0], op[0], BFD_RELOC_LO16); in macro()
12983 macro_build (&expr1, "sltiu", "t,r,j", op[0], op[1], BFD_RELOC_LO16); in macro()
12997 macro_build (NULL, "seqi", "t,r,+Q", op[0], op[1], in macro()
13003 macro_build (&imm_expr, "xori", "t,r,i", op[0], op[1], BFD_RELOC_LO16); in macro()
13008 macro_build (&imm_expr, GPR_SIZE == 32 ? "addiu" : "daddiu", in macro()
13015 macro_build (NULL, "seq", "d,v,t", op[0], op[1], AT); in macro()
13021 macro_build (NULL, "xor", "d,v,t", op[0], op[1], AT); in macro()
13024 macro_build (&expr1, "sltiu", "t,r,j", op[0], op[0], BFD_RELOC_LO16); in macro()
13033 macro_build (NULL, s, "d,v,t", op[0], op[1], op[2]); in macro()
13034 macro_build (&expr1, "xori", "t,r,i", op[0], op[0], BFD_RELOC_LO16); in macro()
13041 macro_build (&imm_expr, mask == M_SGE_I ? "slti" : "sltiu", "t,r,j", in macro()
13046 macro_build (NULL, mask == M_SGE_I ? "slt" : "sltu", "d,v,t", in macro()
13050 macro_build (&expr1, "xori", "t,r,i", op[0], op[0], BFD_RELOC_LO16); in macro()
13059 macro_build (NULL, s, "d,v,t", op[0], op[2], op[1]); in macro()
13070 macro_build (NULL, s, "d,v,t", op[0], AT, op[1]); in macro()
13079 macro_build (NULL, s, "d,v,t", op[0], op[2], op[1]); in macro()
13080 macro_build (&expr1, "xori", "t,r,i", op[0], op[0], BFD_RELOC_LO16); in macro()
13091 macro_build (NULL, s, "d,v,t", op[0], AT, op[1]); in macro()
13092 macro_build (&expr1, "xori", "t,r,i", op[0], op[0], BFD_RELOC_LO16); in macro()
13099 macro_build (&imm_expr, "slti", "t,r,j", op[0], op[1], in macro()
13105 macro_build (NULL, "slt", "d,v,t", op[0], op[1], AT); in macro()
13112 macro_build (&imm_expr, "sltiu", "t,r,j", op[0], op[1], in macro()
13118 macro_build (NULL, "sltu", "d,v,t", op[0], op[1], AT); in macro()
13123 macro_build (NULL, "sltu", "d,v,t", op[0], 0, op[2]); in macro()
13125 macro_build (NULL, "sltu", "d,v,t", op[0], 0, op[1]); in macro()
13128 macro_build (NULL, "xor", "d,v,t", op[0], op[1], op[2]); in macro()
13129 macro_build (NULL, "sltu", "d,v,t", op[0], 0, op[0]); in macro()
13136 macro_build (NULL, "sltu", "d,v,t", op[0], 0, op[1]); in macro()
13143 macro_build (&expr1, GPR_SIZE == 32 ? "addiu" : "daddiu", "t,r,j", in macro()
13151 macro_build (NULL, "snei", "t,r,+Q", op[0], op[1], in macro()
13158 macro_build (&imm_expr, "xori", "t,r,i", op[0], op[1], in macro()
13165 macro_build (&imm_expr, GPR_SIZE == 32 ? "addiu" : "daddiu", in macro()
13172 macro_build (NULL, "sne", "d,v,t", op[0], op[1], AT); in macro()
13178 macro_build (NULL, "xor", "d,v,t", op[0], op[1], AT); in macro()
13181 macro_build (NULL, "sltu", "d,v,t", op[0], 0, op[0]); in macro()
13201 macro_build (NULL, s, "t,r,.", op[0], op[1], in macro()
13215 macro_build (&imm_expr, s, "t,r,j", op[0], op[1], BFD_RELOC_LO16); in macro()
13221 macro_build (NULL, s2, "d,v,t", op[0], op[1], AT); in macro()
13244 macro_build (NULL, s, "s,t", op[0], AT); in macro()
13258 macro_build (NULL, "cfc1", "t,G", op[2], RA); in macro()
13259 macro_build (NULL, "cfc1", "t,G", op[2], RA); in macro()
13260 macro_build (NULL, "nop", ""); in macro()
13262 macro_build (&expr1, "ori", "t,r,i", AT, op[2], BFD_RELOC_LO16); in macro()
13264 macro_build (&expr1, "xori", "t,r,i", AT, AT, BFD_RELOC_LO16); in macro()
13265 macro_build (NULL, "ctc1", "t,G", AT, RA); in macro()
13266 macro_build (NULL, "nop", ""); in macro()
13267 macro_build (NULL, mask == M_TRUNCWD ? "cvt.w.d" : "cvt.w.s", "D,S", in macro()
13269 macro_build (NULL, "ctc1", "t,G", op[2], RA); in macro()
13270 macro_build (NULL, "nop", ""); in macro()
13326 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", tempreg, breg, -1, in macro()
13332 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", in macro()
13356 macro_build (NULL, s, "t,~(b)", tempreg, (int) ep->X_add_number, breg); in macro()
13358 macro_build (ep, s, "t,o(b)", tempreg, -1, in macro()
13366 macro_build (NULL, s2, "t,~(b)", in macro()
13369 macro_build (ep, s2, "t,o(b)", tempreg, -1, in macro()
13386 macro_build (ep, s, "t,o(b)", tempreg, -1, in macro()
13395 macro_build (NULL, "srl", SHFT_FMT, tempreg, op[0], 8); in macro()
13401 macro_build (ep, s2, "t,o(b)", tempreg, -1, in macro()
13411 macro_build (&expr1, "lbu", "t,o(b)", AT, -1, in macro()
13418 macro_build (NULL, "sll", SHFT_FMT, tempreg, tempreg, 8); in macro()
13419 macro_build (NULL, "or", "d,v,t", op[0], op[0], AT); in macro()
13479 macro_build (NULL, dbl ? "ddiv" : "div", "0,x,y", op[1], op[2]); in mips16_macro()
13481 macro_build (&expr1, "bnez", "x,p", op[2]); in mips16_macro()
13482 macro_build (NULL, "break", "6", 7); in mips16_macro()
13489 macro_build (NULL, s, "x", op[0]); in mips16_macro()
13509 macro_build (NULL, s, "0,x,y", op[1], op[2]); in mips16_macro()
13511 macro_build (&expr1, "bnez", "x,p", op[2]); in mips16_macro()
13512 macro_build (NULL, "break", "6", 7); in mips16_macro()
13514 macro_build (NULL, s2, "x", op[0]); in mips16_macro()
13520 macro_build (NULL, dbl ? "dmultu" : "multu", "x,y", op[1], op[2]); in mips16_macro()
13521 macro_build (NULL, "mflo", "x", op[0]); in mips16_macro()
13530 macro_build (&imm_expr, dbl ? "daddiu" : "addiu", "y,x,4", op[0], op[1]); in mips16_macro()
13535 macro_build (&imm_expr, "addiu", "x,k", op[0]); in mips16_macro()
13540 macro_build (&imm_expr, "daddiu", "y,j", op[0]); in mips16_macro()
13589 macro_build (NULL, s, "x,y", op[0], op[1]); in mips16_macro()
13590 macro_build (&offset_expr, s2, "p"); in mips16_macro()
13647 macro_build (&imm_expr, s, s3, op[0]); in mips16_macro()
13648 macro_build (&offset_expr, s2, "p"); in mips16_macro()
13653 macro_build (&expr1, "slti", "x,8", op[1]); in mips16_macro()
13655 macro_build (NULL, "move", "y,X", op[0], mips16_to_32_reg_map[op[1]]); in mips16_macro()
13657 macro_build (&expr1, "bteqz", "p"); in mips16_macro()
13658 macro_build (NULL, "neg", "x,w", op[0], op[0]); in mips16_macro()
16008 macro_build (&ex, "addiu", "t,r,j", mips_gp_register, in s_cpload()
16011 macro_build (NULL, "addu", "d,v,t", mips_gp_register, in s_cpload()
16105 macro_build (&ex_off, "sd", "t,o(b)", mips_gp_register, in s_cpsetup()
16109 macro_build (NULL, "daddu", "d,v,t", mips_cpreturn_register, in s_cpsetup()
16114 macro_build (&ex_sym, "lui", LUI_FMT, mips_gp_register, in s_cpsetup()
16118 macro_build (&ex_sym, "addiu", "t,r,j", mips_gp_register, in s_cpsetup()
16122 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", mips_gp_register, in s_cpsetup()
16138 macro_build (&ex, "addiu", "t,r,j", mips_gp_register, in s_cpsetup()
16258 macro_build (&ex, "ld", "t,o(b)", mips_gp_register, BFD_RELOC_LO16, SP); in s_cpreturn()
16261 macro_build (NULL, "daddu", "d,v,t", mips_gp_register, in s_cpreturn()
16481 macro_build (NULL, ADDRESS_ADD_INSN, "d,v,t", reg, reg, mips_gp_register); in s_cpadd()