diff options
author | Alan Modra <amodra@gmail.com> | 2002-03-13 08:34:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-03-13 08:34:04 +0000 |
commit | 98acc1c518c4a80ee1f9cf24e386480ad1d2152f (patch) | |
tree | d703a67c4b5031c917b2e7fed66c8ddebed5196f /opcodes | |
parent | b74fa2cd15f80f123495fad4f2f3edc092e90138 (diff) | |
download | gdb-98acc1c518c4a80ee1f9cf24e386480ad1d2152f.zip gdb-98acc1c518c4a80ee1f9cf24e386480ad1d2152f.tar.gz gdb-98acc1c518c4a80ee1f9cf24e386480ad1d2152f.tar.bz2 |
* ppc-opc.c: Add optional `L' field to tlbie.
(XRTLRA_MASK): Define.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/ppc-opc.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6664f7e..3ca0466 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2002-03-13 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c: Add optional `L' field to tlbie. + (XRTLRA_MASK): Define. + 2002-03-06 Chris Demetriou <cgd@broadcom.com> * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 6597066..3d7bdb1 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -1415,6 +1415,9 @@ extract_tbr (insn, dialect, invalid) /* An X_MASK with the RT and RA fields fixed. */ #define XRTRA_MASK (X_MASK | RT_MASK | RA_MASK) +/* An XRTRA_MASK, but with L bit clear. */ +#define XRTLRA_MASK (XRTRA_MASK & ~((unsigned long) 1 << 21)) + /* An X form comparison instruction. */ #define XCMPL(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 1) << 21)) @@ -3071,7 +3074,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { { "lhzxe", X(31,287), X_MASK, BOOKE64, { RT, RA, RB } }, -{ "tlbie", X(31,306), XRTRA_MASK, PPC, { RB } }, +{ "tlbie", X(31,306), XRTLRA_MASK, PPC, { RB, L } }, { "tlbi", X(31,306), XRT_MASK, POWER, { RA, RB } }, { "eciwx", X(31,310), X_MASK, PPC, { RT, RA, RB } }, |