gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / sim / sh64 / sh64-sim.h
CommitLineData
cbb38b47 1/* collection of junk waiting time to sort out
b811d2c2 2 Copyright (C) 2000-2020 Free Software Foundation, Inc.
cbb38b47
BE
3 Contributed by Red Hat, Inc.
4
5This file is part of the GNU Simulators.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
4744ac1b
JB
9the Free Software Foundation; either version 3 of the License, or
10(at your option) any later version.
cbb38b47
BE
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
4744ac1b
JB
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>. */
cbb38b47
BE
19
20#ifndef SH64_SIM_H
21#define SH64_SIM_H
22
cbb38b47
BE
23enum {
24 ISM_COMPACT, ISM_MEDIA
25};
26
cbb38b47
BE
27extern IDESC * sh64_idesc_media;
28extern IDESC * sh64_idesc_compact;
29
30/* Function prototypes from sh64.c. */
31
32BI sh64_endian (SIM_CPU *);
33VOID sh64_break (SIM_CPU *, PCADDR);
c7e628df 34SI sh64_movua (SIM_CPU *, PCADDR, SI);
cbb38b47
BE
35VOID sh64_trapa (SIM_CPU *, DI, PCADDR);
36VOID sh64_compact_trapa (SIM_CPU *, UQI, PCADDR);
37
38SF sh64_fldi0 (SIM_CPU *);
39SF sh64_fldi1 (SIM_CPU *);
40DF sh64_fcnvsd (SIM_CPU *, SF);
41SF sh64_fcnvds (SIM_CPU *, DF);
42
43DF sh64_fabsd (SIM_CPU *, DF);
44SF sh64_fabss (SIM_CPU *, SF);
45DF sh64_faddd (SIM_CPU *, DF, DF);
46SF sh64_fadds (SIM_CPU *, SF, SF);
47DF sh64_fdivd (SIM_CPU *, DF, DF);
48SF sh64_fdivs (SIM_CPU *, SF, SF);
49DF sh64_floatld (SIM_CPU *, SF);
50SF sh64_floatls (SIM_CPU *, SF);
51DF sh64_floatqd (SIM_CPU *, DF);
52SF sh64_floatqs (SIM_CPU *, DF);
53SF sh64_fmacs(SIM_CPU *, SF, SF, SF);
54DF sh64_fmuld (SIM_CPU *, DF, DF);
55SF sh64_fmuls (SIM_CPU *, SF, SF);
56DF sh64_fnegd (SIM_CPU *, DF);
57SF sh64_fnegs (SIM_CPU *, SF);
58DF sh64_fsqrtd (SIM_CPU *, DF);
59SF sh64_fsqrts (SIM_CPU *, SF);
60DF sh64_fsubd (SIM_CPU *, DF, DF);
61SF sh64_fsubs (SIM_CPU *, SF, SF);
62SF sh64_ftrcdl (SIM_CPU *, DF);
63DF sh64_ftrcdq (SIM_CPU *, DF);
64SF sh64_ftrcsl (SIM_CPU *, SF);
65DF sh64_ftrcsq (SIM_CPU *, SF);
66VOID sh64_ftrvs (SIM_CPU *, unsigned, unsigned, unsigned);
c7e628df
DB
67VOID sh64_fipr (SIM_CPU *cpu, unsigned m, unsigned n);
68SF sh64_fiprs (SIM_CPU *cpu, unsigned g, unsigned h);
69VOID sh64_fldp (SIM_CPU *cpu, PCADDR pc, DI rm, DI rn, unsigned f);
70VOID sh64_fstp (SIM_CPU *cpu, PCADDR pc, DI rm, DI rn, unsigned f);
71VOID sh64_ftrv (SIM_CPU *cpu, UINT ignored);
72VOID sh64_pref (SIM_CPU *cpu, SI addr);
cbb38b47
BE
73BI sh64_fcmpeqs (SIM_CPU *, SF, SF);
74BI sh64_fcmpeqd (SIM_CPU *, DF, DF);
75BI sh64_fcmpges (SIM_CPU *, SF, SF);
76BI sh64_fcmpged (SIM_CPU *, DF, DF);
77BI sh64_fcmpgts (SIM_CPU *, SF, SF);
78BI sh64_fcmpgtd (SIM_CPU *, DF, DF);
79BI sh64_fcmpund (SIM_CPU *, DF, DF);
80BI sh64_fcmpuns (SIM_CPU *, SF, SF);
81
82DI sh64_nsb (SIM_CPU *, DI);
83
84#endif /* SH64_SIM_H */
This page took 0.826274 seconds and 4 git commands to generate.