Commit | Line | Data |
---|---|---|
4fbce2fd | 1 | /* Target machine parameters for MIPS r4000 |
3f550b59 | 2 | Copyright 1994, 1996 Free Software Foundation, Inc. |
4fbce2fd KH |
3 | Contributed by Ian Lance Taylor (ian@cygnus.com) |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
6c9638b4 | 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
4fbce2fd | 20 | |
97d3151a | 21 | #define GDB_TARGET_IS_MIPS64 1 |
4fbce2fd KH |
22 | |
23 | /* Use eight byte registers. */ | |
24 | #define MIPS_REGSIZE 8 | |
25 | ||
031b390a KH |
26 | /* define 8 byte register type */ |
27 | #define REGISTER_VIRTUAL_TYPE(N) \ | |
28 | (((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32) \ | |
29 | ? builtin_type_double : builtin_type_long_long) \ | |
30 | ||
4fbce2fd KH |
31 | /* Load double words in CALL_DUMMY. */ |
32 | #define OP_LDFPR 065 /* ldc1 */ | |
33 | #define OP_LDGPR 067 /* ld */ | |
34 | ||
da9fd98c | 35 | /* Get the basic MIPS definitions. */ |
4fbce2fd | 36 | #include "tm-mips.h" |