aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-09-07 20:33:22 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-09-07 20:33:22 +0000
commitb637f306bac78d02ec2944199271dd989a31abb2 (patch)
tree8d19f79178b509227f99a005a2a244b9eb5d3a51 /sim
parent4a04414acea793a319071b5e213178c2019709a2 (diff)
downloadgdb-b637f306bac78d02ec2944199271dd989a31abb2.zip
gdb-b637f306bac78d02ec2944199271dd989a31abb2.tar.gz
gdb-b637f306bac78d02ec2944199271dd989a31abb2.tar.bz2
tx19 and related necessary changes.
* config.sub: Add tx19/r1900. * sim/mips/configure.in, sim/mips/gencode: Add tx19/r1900. * gcc/config.sub, gcc/configure: Add tx19/r1900. * gcc/config/mips/r1900.h, config/mips/t-r1900: New. * gas/config/tc-mips.c: Add tx19/r1900. * gcc/config/mips/mips.c: Don't build 16 bit to 32 bit stubs for TARGET_SOFT_FLOAT. * config.sub: Add "marketing-names" patch. * gcc/config.sub: Add "marketing-names" patch. * gcc/configure: Change "as" link from "../gas/as.new" to "../gas/as-new"; Same for "ld" link.
Diffstat (limited to 'sim')
-rw-r--r--sim/mips/ChangeLog6
-rw-r--r--sim/mips/configure.in3
-rw-r--r--sim/mips/gencode.c9
3 files changed, 18 insertions, 0 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 21ff77d..d09aae5 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,9 @@
+start-sanitize-tx19
+Sun Sep 7 16:05:46 1997 Gavin Koch <gavin@cygnus.com>
+
+ * mips/configure.in, mips/gencode: Add tx19/r1900.
+
+end-sanitize-tx19
Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/mips/configure.in b/sim/mips/configure.in
index 97ef4f3..1ffee3c 100644
--- a/sim/mips/configure.in
+++ b/sim/mips/configure.in
@@ -14,6 +14,9 @@ SIM_AC_OPTION_WARNINGS
# Ensure a reasonable default simulator is constructed:
case "${target}" in
+# start-sanitize-tx19
+ mipstx19*-*-*) SIMCONF="-mips1 -mcpu=r1900 -mno-fp --warnings";;
+# end-sanitize-tx19
# start-sanitize-r5900
mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
# end-sanitize-r5900
diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c
index 4c6937d..f5221ae 100644
--- a/sim/mips/gencode.c
+++ b/sim/mips/gencode.c
@@ -475,9 +475,15 @@ typedef struct instruction {
/* start-sanitize-r5900 */
#define ARCH_R5900 ((unsigned)1 << 30) /* Toshiba r5900 extension instructions */
/* end-sanitize-r5900 */
+/* start-sanitize-tx19 */
+#define ARCH_TX19 ((unsigned)1 << 27) /* Toshiba TX19 extention instruction */
+/* end-sanitize-tx19 */
/* A list (or'ed) of extension insn sets that can be requested independant of the ISA# */
#define MASK_ISA_INDEP (0 \
+ /* start-sanitize-tx19 */ \
+ | ARCH_TX19 \
+ /* end-sanitize-tx19 */ \
/* start-sanitize-r5900 */ \
| ARCH_R5900 \
/* end-sanitize-r5900 */ \
@@ -4111,6 +4117,9 @@ struct architectures {
};
static const struct architectures available_architectures[] = {
+ /* start-sanitize-tx19 */
+ {"1900",ARCH_TX19}, /* Toshiba TX19 */
+ /* end-sanitize-tx19 */
{"4100",ARCH_VR4100}, /* NEC MIPS VR4100 */
/* start-sanitize-r5900 */
{"5900",ARCH_R5900},