2002-11-21 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / config / mips / tm-mips64.h
CommitLineData
c906108c 1/* Target machine parameters for MIPS r4000
b6ba6518 2 Copyright 1994, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
c906108c
SS
3 Contributed by Ian Lance Taylor (ian@cygnus.com)
4
c5aa993b 5 This file is part of GDB.
c906108c 6
c5aa993b
JM
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.
c906108c 11
c5aa993b
JM
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.
c906108c 16
c5aa993b
JM
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. */
c906108c 21
c906108c
SS
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. */
c5aa993b
JM
33#define OP_LDFPR 065 /* ldc1 */
34#define OP_LDGPR 067 /* ld */
c906108c 35
c906108c 36/* Get the basic MIPS definitions. */
4f2e4a4f 37#include "mips/tm-mips.h"
This page took 0.222474 seconds and 4 git commands to generate.