This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: add some alpha pseudo insns


On Fri, Feb 15, 2002 at 01:46:05AM -0800, Richard Henderson wrote:
>         * alpha-opc.c (alpha_opcodes): Add simple pseudos for
>         lda, ldah, jmp, ret.

Doh.  Thinko in the disassembly mask.


r~

        * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
        disassembly mask.

Index: alpha-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/alpha-opc.c,v
retrieving revision 1.7.2.1
diff -u -p -r1.7.2.1 alpha-opc.c
--- alpha-opc.c	2002/02/15 09:42:02	1.7.2.1
+++ alpha-opc.c	2002/02/15 20:58:32
@@ -1125,7 +1125,7 @@ const struct alpha_opcode alpha_opcodes[
   { "jmp",		MBR(0x1A,0), BASE, { RA, CPRB, JMPHINT } },
   { "jsr",		MBR(0x1A,1), BASE, { RA, CPRB, JMPHINT } },
   { "ret",		MBR_(0x1A,2) | (31 << 21) | (26 << 16) | 1,/* pseudo */
-			MBR_MASK, BASE, { 0 } },
+			0xFFFFFFFF, BASE, { 0 } },
   { "ret",		MBR(0x1A,2), BASE, { RA, CPRB, RETHINT } },
   { "jcr",		MBR(0x1A,3), BASE, { RA, CPRB, RETHINT } }, /* alias */
   { "jsr_coroutine",	MBR(0x1A,3), BASE, { RA, CPRB, RETHINT } },


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]