aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/a29k
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1995-02-13 12:52:26 +0000
committerTorbjorn Granlund <tege@gnu.org>1995-02-13 12:52:26 +0000
commitf9151c433cc4bc4091ce2af4dfc13e2e024f169b (patch)
treebd1bc25781f2b80178c66aff8eaa16b7d6104cde /gcc/config/a29k
parent42d191605d927532c91425d7148cb8b0d7a31fd0 (diff)
downloadgcc-f9151c433cc4bc4091ce2af4dfc13e2e024f169b.zip
gcc-f9151c433cc4bc4091ce2af4dfc13e2e024f169b.tar.gz
gcc-f9151c433cc4bc4091ce2af4dfc13e2e024f169b.tar.bz2
(TARGET_MULTM): New #define.
(TARGET_SWITCHES): Recognize "-mno-multm". From-SVN: r8919
Diffstat (limited to 'gcc/config/a29k')
-rw-r--r--gcc/config/a29k/a29k.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h
index 98f9a8d..662c291 100644
--- a/gcc/config/a29k/a29k.h
+++ b/gcc/config/a29k/a29k.h
@@ -90,6 +90,11 @@ extern int target_flags;
#define TARGET_SOFT_FLOAT (target_flags & 512)
+/* This means that we should not emit the multm or mutmu instructions
+ that some embedded systems' trap handlers don't support. */
+
+#define TARGET_MULTM ((target_flags & 1024) == 0)
+
#define TARGET_SWITCHES \
{ {"dw", 1}, \
{"ndw", -1}, \
@@ -109,6 +114,7 @@ extern int target_flags;
{"reuse-arg-regs", -256}, \
{"no-reuse-arg-regs", 256}, \
{"soft-float", 512}, \
+ {"no-multm", 1024}, \
{"", TARGET_DEFAULT}}
#define TARGET_DEFAULT 3