* dla -> daddiu patch
@ 1999-11-12 22:38 Gavin Romig-Koch
0 siblings, 0 replies; only message in thread
From: Gavin Romig-Koch @ 1999-11-12 22:38 UTC (permalink / raw)
To: binutils
OK to commit?
This is the new dla macro I promised yesterday.
-gavin...
* opcodes/mips-opc.c (dla): Expand to daddiu if possible.
Index: mips-opc.c
===================================================================
RCS file: /cvs/binutils/binutils/opcodes/mips-opc.c,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 mips-opc.c
*** mips-opc.c 1999/05/03 07:28:59 1.1.1.1
--- mips-opc.c 1999/11/13 06:33:59
*************** const struct mips_opcode mips_builtin_op
*** 334,339 ****
--- 334,340 ----
{"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 */
*************** const struct mips_opcode mips_builtin_op
*** 413,418 ****
--- 414,420 ----
/* 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 },
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-11-12 22:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-12 22:38 dla -> daddiu patch Gavin Romig-Koch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).