* Makefile.am: "make dep-am".
[deliverable/binutils-gdb.git] / sim / i960 / cpu.c
CommitLineData
c906108c
SS
1/* Misc. support for CPU family i960base.
2
3THIS FILE IS MACHINE GENERATED WITH CGEN.
4
5Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
6
7This file is part of the GNU Simulators.
8
9This program is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation; either version 2, or (at your option)
12any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License along
20with this program; if not, write to the Free Software Foundation, Inc.,
2159 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
23*/
24
25#define WANT_CPU i960base
26#define WANT_CPU_I960BASE
27
28#include "sim-main.h"
7a292a7a 29#include "cgen-ops.h"
c906108c
SS
30
31/* Get the value of h-pc. */
32
33USI
34i960base_h_pc_get (SIM_CPU *current_cpu)
35{
36 return CPU (h_pc);
37}
38
39/* Set a value for h-pc. */
40
41void
42i960base_h_pc_set (SIM_CPU *current_cpu, USI newval)
43{
44 CPU (h_pc) = newval;
45}
46
47/* Get the value of h-gr. */
48
49SI
50i960base_h_gr_get (SIM_CPU *current_cpu, UINT regno)
51{
52 return CPU (h_gr[regno]);
53}
54
55/* Set a value for h-gr. */
56
57void
58i960base_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
59{
60 CPU (h_gr[regno]) = newval;
61}
62
63/* Get the value of h-cc. */
64
65SI
66i960base_h_cc_get (SIM_CPU *current_cpu)
67{
68 return CPU (h_cc);
69}
70
71/* Set a value for h-cc. */
72
73void
74i960base_h_cc_set (SIM_CPU *current_cpu, SI newval)
75{
76 CPU (h_cc) = newval;
77}
78
79/* Record trace results for INSN. */
80
81void
82i960base_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
83 int *indices, TRACE_RECORD *tr)
84{
85}
This page took 0.109802 seconds and 4 git commands to generate.