2003-06-14 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / config / mips / tm-mips64.h
1 /* Target machine parameters for MIPS r4000
2 Copyright 1994, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
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
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
21
22 /* Use eight byte registers. */
23 #define MIPS_REGSIZE 8
24
25 /* define 8 byte register type */
26 #define REGISTER_VIRTUAL_TYPE(N) \
27 (((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32) ? builtin_type_double \
28 : ((N) == 32 /*SR*/) ? builtin_type_uint32 \
29 : ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \
30 : builtin_type_long_long)
31
32 /* Load double words in CALL_DUMMY. */
33 #define OP_LDFPR 065 /* ldc1 */
34 #define OP_LDGPR 067 /* ld */
35
36 /* Get the basic MIPS definitions. */
37 #include "mips/tm-mips.h"
This page took 0.03003 seconds and 4 git commands to generate.