aboutsummaryrefslogtreecommitdiff
path: root/gas/config/bfin-defs.h
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 /gas/config/bfin-defs.h
parentdcb5e50678a5b4e3cc1453bbd8a9cc1165ed0c8d (diff)
downloadgdb-26bb3ddd506a68a8315a4d4215aaff52260fdf95.zip
gdb-26bb3ddd506a68a8315a4d4215aaff52260fdf95.tar.gz
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 'gas/config/bfin-defs.h')
-rw-r--r--gas/config/bfin-defs.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/gas/config/bfin-defs.h b/gas/config/bfin-defs.h
index 8217332..b43fe76 100644
--- a/gas/config/bfin-defs.h
+++ b/gas/config/bfin-defs.h
@@ -1,5 +1,5 @@
/* bfin-defs.h ADI Blackfin gas header file
- Copyright 2005, 2006, 2007, 2009, 2010
+ Copyright 2005, 2006, 2007, 2009, 2010, 2011
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -22,6 +22,8 @@
#ifndef BFIN_PARSE_H
#define BFIN_PARSE_H
+#include "opcode/bfin.h"
+
#define PCREL 1
#define CODE_FRAG_SIZE 4096 /* 1 page. */
@@ -166,17 +168,6 @@ enum reg_class
LIM_REG_CLASSES
};
-/* mmod field. */
-#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
-
/* Register type checking macros. */
#define CODE_MASK 0x07