aboutsummaryrefslogtreecommitdiff
path: root/gas/config/bfin-defs.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-22 21:30:35 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-22 21:30:35 +0000
commit9d2eed0673a525c8afecb5c9511ec47cd94bf769 (patch)
treeed538920ed50cd5a5c8cc1aadf39b1cc689dcd3f /gas/config/bfin-defs.h
parenta2c28b80f1bc424f2b8858118634ea8428ffe985 (diff)
downloadgdb-9d2eed0673a525c8afecb5c9511ec47cd94bf769.zip
gdb-9d2eed0673a525c8afecb5c9511ec47cd94bf769.tar.gz
gdb-9d2eed0673a525c8afecb5c9511ec47cd94bf769.tar.bz2
gas: blackfin: add missing register move insns
The Blackfin ISA supports moving just about anything to/from EMUDAT, so make sure the assembler accepts these insns too. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gas/config/bfin-defs.h')
-rw-r--r--gas/config/bfin-defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/bfin-defs.h b/gas/config/bfin-defs.h
index 7dd9796..8217332 100644
--- a/gas/config/bfin-defs.h
+++ b/gas/config/bfin-defs.h
@@ -203,6 +203,7 @@ enum reg_class
#define IS_BREG(r) (((r).regno & 0xf4) == T_REG_B)
#define IS_LREG(r) (((r).regno & 0xf4) == T_REG_L)
#define IS_CREG(r) ((r).regno == REG_LC0 || (r).regno == REG_LC1)
+#define IS_EMUDAT(r) ((r).regno == REG_EMUDAT)
#define IS_ALLREG(r) ((r).regno < T_NOGROUP)
#define IS_GENREG(r) \