Fix VXA mask bits
This commit is contained in:
parent
4008bd9b57
commit
2613489e4e
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue