From 6e3708af1362314e60f3e4207d2facad1fe523f3 Mon Sep 17 00:00:00 2001 From: Gavin Romig-Koch Date: Mon, 15 Nov 1999 15:34:17 +0000 Subject: [PATCH] * mips-opc.c (la): Create a version that just uses addiu directly. (dla): Expand to daddiu if possible. --- opcodes/ChangeLog | 5 +++++ opcodes/mips-opc.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6fe3353cba6..18a5911a6ec 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +1999-11-15 Gavin Romig-Koch + + * mips-opc.c (la): Create a version that just uses addiu directly. + (dla): Expand to daddiu if possible. + 1999-11-11 Nick Clifton * mips-opc.c: Add ssnop pattern. diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c index 7be028caedb..8e68622982d 100644 --- a/opcodes/mips-opc.c +++ b/opcodes/mips-opc.c @@ -337,6 +337,7 @@ const struct mips_opcode mips_builtin_opcodes[] = { {"divu", "z,t", 0x0000001b, 0xffe0ffff, RD_s|RD_t|WR_HI|WR_LO, I1 }, {"divu", "d,v,t", 0, (int) M_DIVU_3, INSN_MACRO, I1 }, {"divu", "d,v,I", 0, (int) M_DIVU_3I, INSN_MACRO, I1 }, +{"dla", "t,o(b)", 0x64000000, 0xfc000000, WR_t|RD_s, I3 }, /* daddiu */ {"dla", "t,A(b)", 0, (int) M_DLA_AB, INSN_MACRO, I3 }, {"dli", "t,j", 0x24000000, 0xffe00000, WR_t, I3 }, /* addiu */ {"dli", "t,i", 0x34000000, 0xffe00000, WR_t, I3 }, /* ori */ @@ -416,6 +417,7 @@ const struct mips_opcode mips_builtin_opcodes[] = { /* jalx really should only be avaliable if mips16 is available, but for now make it I1. */ {"jalx", "a", 0x74000000, 0xfc000000, UBD|WR_31, I1 }, +{"la", "t,o(b)", 0x24000000, 0xfc000000, WR_t|RD_s, I1 }, /* addiu */ {"la", "t,A(b)", 0, (int) M_LA_AB, INSN_MACRO, I1 }, {"lb", "t,o(b)", 0x80000000, 0xfc000000, LDD|RD_b|WR_t, I1 }, {"lb", "t,A(b)", 0, (int) M_LB_AB, INSN_MACRO, I1 },