From 26bb3ddd506a68a8315a4d4215aaff52260fdf95 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 12 Feb 2011 19:36:31 +0000 Subject: 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 --- opcodes/ChangeLog | 6 ++++++ opcodes/bfin-dis.c | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'opcodes') 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 + + * 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 * 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 -- cgit v1.1