aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2001-06-26 12:12:32 +0000
committerRainer Orth <ro@gcc.gnu.org>2001-06-26 12:12:32 +0000
commitd7f4934bc700a83c75393b1647fcfc4abbca799b (patch)
treed2ca5e3fd9cd5a51472e4a52cd1a7d44bd2ba944 /gcc
parent57482f585e5245a474f416eb2c1a114cf3ea1043 (diff)
downloadgcc-d7f4934bc700a83c75393b1647fcfc4abbca799b.zip
gcc-d7f4934bc700a83c75393b1647fcfc4abbca799b.tar.gz
gcc-d7f4934bc700a83c75393b1647fcfc4abbca799b.tar.bz2
iris5.h (UNALIGNED_INT_ASM_OP, [...]): Define.
* config/mips/iris5.h (UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Define. * config/mips/iris6.h (UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Undef. From-SVN: r43579
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/mips/iris5.h7
-rw-r--r--gcc/config/mips/iris6.h2
3 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 34c713a..d2db699 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * config/mips/iris5.h (UNALIGNED_INT_ASM_OP,
+ UNALIGNED_SHORT_ASM_OP): Define.
+ * config/mips/iris6.h (UNALIGNED_INT_ASM_OP,
+ UNALIGNED_SHORT_ASM_OP): Undef.
+
Tue Jun 26 12:40:12 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.md (float_truncate splitter, and to mov splitters): Add
diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h
index 11eacda..59d172c 100644
--- a/gcc/config/mips/iris5.h
+++ b/gcc/config/mips/iris5.h
@@ -1,5 +1,6 @@
/* Definitions of target machine for GNU compiler. Iris version 5.
- Copyright (C) 1993, 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996, 1998, 2000,
+ 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -154,6 +155,10 @@ do { \
fputs (" .text\n", FILE); \
} while (0)
+/* To get unaligned data, we have to turn off auto alignment. */
+#define UNALIGNED_SHORT_ASM_OP "\t.align 0\n\t.half\t"
+#define UNALIGNED_INT_ASM_OP "\t.align 0\n\t.word\t"
+
/* Also do this for libcalls. */
#define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \
mips_output_external_libcall (FILE, XSTR (FUN, 0))
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h
index d7fc219..6f45cbb 100644
--- a/gcc/config/mips/iris6.h
+++ b/gcc/config/mips/iris6.h
@@ -155,6 +155,8 @@ Boston, MA 02111-1307, USA. */
#undef ASM_OUTPUT_UNDEF_FUNCTION
#undef ASM_OUTPUT_EXTERNAL_LIBCALL
#undef ASM_DECLARE_FUNCTION_SIZE
+#undef UNALIGNED_SHORT_ASM_OP
+#undef UNALIGNED_INT_ASM_OP
/* Stuff we need for Irix 6 that isn't in Irix 5. */