Fix VXA mask bits
authorNick Clifton <nickc@redhat.com>
Fri, 14 Sep 2001 10:52:26 +0000 (10:52 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 14 Sep 2001 10:52:26 +0000 (10:52 +0000)
opcodes/ChangeLog
opcodes/ppc-opc.c

index 4fa4440308d562b74a9fe1c9e586f33811131925..2815c491087bcc5fa5a0eb7182650b89caec4da3 100644 (file)
@@ -1,3 +1,7 @@
+2001-09-14  David Schleef <ds@schleef.org>
+
+       * ppc-opc.c (VXA, VXA_MASK): Fix mask bits.
+
 2001-09-04  Alan Modra  <amodra@bigpond.net.au>
 
        * i386-dis.c (grps): Don't print the implicit al/ax/eax register
index 5cda1a1d76d81cc0235d5382c8afce2170f6f7e6..99566302371c089070ad6b245ee0cea03ccc4d40 100644 (file)
@@ -1153,10 +1153,10 @@ extract_tbr (insn, invalid)
 #define VX_MASK        VX(0x3f, 0x7ff)
 
 /* An VA form instruction. */
-#define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x07f))
+#define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f))
 
 /* The mask for an VA form instruction. */
-#define VXA_MASK VXA(0x3f, 0x7f)
+#define VXA_MASK VXA(0x3f, 0x3f)
 
 /* An VXR form instruction. */
 #define VXR(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | (((unsigned long)(xop)) & 0x3ff))
This page took 0.030284 seconds and 4 git commands to generate.