diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-05-05 12:46:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-05-05 12:46:25 +0000 |
commit | 3971886ac1616c4125531e42a884f031e27f7e21 (patch) | |
tree | 1a3e5f5227febd8d8bca79acd070a64afe4ee1eb /sim/tic80/alu.h | |
parent | 04a7708a32d9cfae136bfcb879b70160caeb6f3f (diff) | |
download | gdb-3971886ac1616c4125531e42a884f031e27f7e21.zip gdb-3971886ac1616c4125531e42a884f031e27f7e21.tar.gz gdb-3971886ac1616c4125531e42a884f031e27f7e21.tar.bz2 |
Add flakey floating-point support to the TI c80 simulator.
Diffstat (limited to 'sim/tic80/alu.h')
-rw-r--r-- | sim/tic80/alu.h | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h index 7312f60..3a325e1 100644 --- a/sim/tic80/alu.h +++ b/sim/tic80/alu.h @@ -1,10 +1,30 @@ +/* Texas Instruments TMS320C80 (MVP) Simulator. + Copyright (C) 1997 Free Software Foundation, Inc. + Contributed by Cygnus Support. + +This file is part of GDB, the GNU debugger. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + + + #ifndef _TIC80_ALU_H_ #define _TIC80_ALU_H_ #define ALU_CARRY 0 /* FIXME */ -#include "sim-alu.h" - #define ALU32_END(TARG) \ { \ (TARG) = (unsigned32)alu_carry_val; /* FIXME */ \ @@ -12,6 +32,9 @@ #define ALU_END(TARG) ALU32_END(TARG) +#include "sim-alu.h" + + /* Bring data in from the cold */ @@ -37,4 +60,11 @@ do { \ nia.ip += sizeof (instruction_word); \ nia.dp += sizeof (instruction_word); + + +/* Floating point support */ + +#include "sim-fpu.h" + + #endif |