aboutsummaryrefslogtreecommitdiff
path: root/sim/i960/arch.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/i960/arch.c')
-rw-r--r--sim/i960/arch.c126
1 files changed, 0 insertions, 126 deletions
diff --git a/sim/i960/arch.c b/sim/i960/arch.c
index 5d3ab84..74833b0 100644
--- a/sim/i960/arch.c
+++ b/sim/i960/arch.c
@@ -36,129 +36,3 @@ const MACH *sim_machs[] =
0
};
-/* Get the value of h-pc. */
-
-USI
-a_i960_h_pc_get (SIM_CPU *current_cpu)
-{
- switch (STATE_ARCHITECTURE (CPU_STATE (current_cpu))->mach)
- {
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ka_sa :
- return i960base_h_pc_get (current_cpu);
-#endif
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ca :
- return i960base_h_pc_get (current_cpu);
-#endif
- default :
- abort ();
- }
-}
-
-/* Set a value for h-pc. */
-
-void
-a_i960_h_pc_set (SIM_CPU *current_cpu, USI newval)
-{
- switch (STATE_ARCHITECTURE (CPU_STATE (current_cpu))->mach)
- {
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ka_sa :
- i960base_h_pc_set (current_cpu, newval);
- break;
-#endif
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ca :
- i960base_h_pc_set (current_cpu, newval);
- break;
-#endif
- default :
- abort ();
- }
-}
-
-/* Get the value of h-gr. */
-
-SI
-a_i960_h_gr_get (SIM_CPU *current_cpu, UINT regno)
-{
- switch (STATE_ARCHITECTURE (CPU_STATE (current_cpu))->mach)
- {
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ka_sa :
- return i960base_h_gr_get (current_cpu, regno);
-#endif
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ca :
- return i960base_h_gr_get (current_cpu, regno);
-#endif
- default :
- abort ();
- }
-}
-
-/* Set a value for h-gr. */
-
-void
-a_i960_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
-{
- switch (STATE_ARCHITECTURE (CPU_STATE (current_cpu))->mach)
- {
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ka_sa :
- i960base_h_gr_set (current_cpu, regno, newval);
- break;
-#endif
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ca :
- i960base_h_gr_set (current_cpu, regno, newval);
- break;
-#endif
- default :
- abort ();
- }
-}
-
-/* Get the value of h-cc. */
-
-SI
-a_i960_h_cc_get (SIM_CPU *current_cpu)
-{
- switch (STATE_ARCHITECTURE (CPU_STATE (current_cpu))->mach)
- {
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ka_sa :
- return i960base_h_cc_get (current_cpu);
-#endif
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ca :
- return i960base_h_cc_get (current_cpu);
-#endif
- default :
- abort ();
- }
-}
-
-/* Set a value for h-cc. */
-
-void
-a_i960_h_cc_set (SIM_CPU *current_cpu, SI newval)
-{
- switch (STATE_ARCHITECTURE (CPU_STATE (current_cpu))->mach)
- {
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ka_sa :
- i960base_h_cc_set (current_cpu, newval);
- break;
-#endif
-#ifdef HAVE_CPU_I960BASE
- case bfd_mach_i960_ca :
- i960base_h_cc_set (current_cpu, newval);
- break;
-#endif
- default :
- abort ();
- }
-}
-