aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-02-28 16:06:51 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-02-28 16:06:51 +0000
commit3eebd5eb0363a2a057d2c24854152d99a5e546bf (patch)
tree8b23d5171b5c275909fe9f0261f8e512a71267fa /opcodes
parent89c0d58cff57c3d7ac51999eeb39b9493db5ab85 (diff)
downloadgdb-3eebd5eb0363a2a057d2c24854152d99a5e546bf.zip
gdb-3eebd5eb0363a2a057d2c24854152d99a5e546bf.tar.gz
gdb-3eebd5eb0363a2a057d2c24854152d99a5e546bf.tar.bz2
gas/
* config/tc-mips.c (macro): Handle M_PREF_AB. include/opcode/ * mips.h (M_PREF_AB): New enum value. opcodes/ * mips-opc.c (mips_builtin_opcodes): Add "pref" macro.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mips-opc.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 2617f75..90dfa27 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-opc.c (mips_builtin_opcodes): Add "pref" macro.
+
2011-02-22 Mike Frysinger <vapier@gentoo.org>
* bfin-dis.c (OUTS): Remove p NULL check and txt NUL check.
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index fc25e07..78b3fa7 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -191,6 +191,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
instruction name anyhow. */
/* name, args, match, mask, pinfo, pinfo2, membership */
{"pref", "k,o(b)", 0xcc000000, 0xfc000000, RD_b, 0, I4_32|G3 },
+{"pref", "k,A(b)", 0, (int) M_PREF_AB, INSN_MACRO, 0, I4_32|G3 },
{"prefx", "h,t(b)", 0x4c00000f, 0xfc0007ff, RD_b|RD_t|FP_S, 0, I4_33 },
{"nop", "", 0x00000000, 0xffffffff, 0, INSN2_ALIAS, I1 }, /* sll */
{"ssnop", "", 0x00000040, 0xffffffff, 0, INSN2_ALIAS, I1 }, /* sll */