Commit gdb and sim support for v850e2 and v850e2v3 on behalf of
[deliverable/binutils-gdb.git] / sim / iq2000 / cpu.c
CommitLineData
edece237
CV
1/* Misc. support for CPU family iq2000bf.
2
3THIS FILE IS MACHINE GENERATED WITH CGEN.
4
c5a57081 5Copyright 1996-2010, 2012 Free Software Foundation, Inc.
edece237
CV
6
7This file is part of the GNU simulators.
8
1a5691a5
DE
9 This file is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option)
12 any later version.
edece237 13
1a5691a5
DE
14 It is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 License for more details.
edece237 18
1a5691a5
DE
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
edece237
CV
22
23*/
24
25#define WANT_CPU iq2000bf
26#define WANT_CPU_IQ2000BF
27
28#include "sim-main.h"
29#include "cgen-ops.h"
30
31/* Get the value of h-pc. */
32
33USI
34iq2000bf_h_pc_get (SIM_CPU *current_cpu)
35{
36 return GET_H_PC ();
37}
38
39/* Set a value for h-pc. */
40
41void
42iq2000bf_h_pc_set (SIM_CPU *current_cpu, USI newval)
43{
44 SET_H_PC (newval);
45}
46
47/* Get the value of h-gr. */
48
49SI
50iq2000bf_h_gr_get (SIM_CPU *current_cpu, UINT regno)
51{
52 return GET_H_GR (regno);
53}
54
55/* Set a value for h-gr. */
56
57void
58iq2000bf_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
59{
60 SET_H_GR (regno, newval);
61}
62
63/* Record trace results for INSN. */
64
65void
66iq2000bf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
67 int *indices, TRACE_RECORD *tr)
68{
69}
This page took 0.477251 seconds and 4 git commands to generate.