aboutsummaryrefslogtreecommitdiff
path: root/gas
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 /gas
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 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-mips.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2b71f2a..17ec424 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
+ * config/tc-mips.c (macro): Handle M_PREF_AB.
+
+2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
+
* config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
register to use.
(RELAX_BRANCH_UNCOND): Adjust accordingly.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 9450ddd..1c3010b 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -6526,6 +6526,9 @@ macro (struct mips_cl_insn *ip)
case M_CACHE_AB:
s = "cache";
goto st;
+ case M_PREF_AB:
+ s = "pref";
+ goto st;
case M_SDC1_AB:
s = "sdc1";
coproc = 1;
@@ -6567,7 +6570,7 @@ macro (struct mips_cl_insn *ip)
|| mask == M_L_DAB
|| mask == M_S_DAB)
fmt = "T,o(b)";
- else if (mask == M_CACHE_AB)
+ else if (mask == M_CACHE_AB || mask == M_PREF_AB)
fmt = "k,o(b)";
else if (coproc)
fmt = "E,o(b)";