This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
PATCH: mips-opc.c (la): Create a version that just uses addiu directly.
- To: binutils at sourceware dot cygnus dot com
- Subject: PATCH: mips-opc.c (la): Create a version that just uses addiu directly.
- From: Gavin Romig-Koch <gavin at cygnus dot com>
- Date: Thu, 11 Nov 1999 01:30:10 -0500 (EST)
OK to commit?
For opcodes:
* mips-opc.c (la): Create a version that just uses addiu directly.
Index: opcodes/mips-opc.c
===================================================================
RCS file: /cvs/cvsfiles/devo/opcodes/mips-opc.c,v
retrieving revision 1.105
diff -c -p -r1.105 mips-opc.c
*** opcodes/mips-opc.c 1999/10/22 17:38:34 1.105
--- opcodes/mips-opc.c 1999/11/10 05:18:33
*************** const struct mips_opcode mips_builtin_op
*** 643,648 ****
--- 643,649 ----
/* 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 },