aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-12 19:36:31 +0000
committerMike Frysinger <vapier@gentoo.org>2011-02-12 19:36:31 +0000
commit26bb3ddd506a68a8315a4d4215aaff52260fdf95 (patch)
tree9cbc3e5f0ea54038dea891fdb0f7ea55f1bdf80d /opcodes
parentdcb5e50678a5b4e3cc1453bbd8a9cc1165ed0c8d (diff)
downloadfsf-binutils-gdb-26bb3ddd506a68a8315a4d4215aaff52260fdf95.zip
fsf-binutils-gdb-26bb3ddd506a68a8315a4d4215aaff52260fdf95.tar.gz
fsf-binutils-gdb-26bb3ddd506a68a8315a4d4215aaff52260fdf95.tar.bz2
gas/opcodes: blackfin: move dsp mac func defines to common header
The mmod field is decoded in a few places (gas/opcodes/sim), so move it to a common place to avoid duplication. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/bfin-dis.c10
2 files changed, 6 insertions, 10 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 1088e33..eebe2ba 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-12 Mike Frysinger <vapier@gentoo.org>
+
+ * bfin.h (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH,
+ M_IU): Define.
+ (is_macmod_pmove, is_macmod_hmove): New functions.
+
2011-02-11 Mike Frysinger <vapier@gentoo.org>
* bfin-dis.c (reg_names): Add const.
diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c
index 58122f0..85b793c 100644
--- a/opcodes/bfin-dis.c
+++ b/opcodes/bfin-dis.c
@@ -25,16 +25,6 @@
#include "opcode/bfin.h"
-#define M_S2RND 1
-#define M_T 2
-#define M_W32 3
-#define M_FU 4
-#define M_TFU 6
-#define M_IS 8
-#define M_ISS2 9
-#define M_IH 11
-#define M_IU 12
-
#ifndef PRINTF
#define PRINTF printf
#endif