c7e628df2e
* Contribute the following changes: 2006-06-14 Dave Brolley <brolley@redhat.com> * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv) (sh64_fpref): New functions. * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv) (sh64_fpref): New functions. (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a, sh4a_nofpu and sh4al. (sh2e_mach): New MACH. (sh2a_fpu_mach): New MACH. (sh2a_nofpu_mach): New MACH. (sh4_nofpu): New MACH. (sh4a_mach): New MACH. (sh4a_nofpu_mach): New MACH. (sh4al_mach): New MACH. * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass archfile to CGEN script. * arch.c: Regenerated. * arch.h: Regenerated. * cpu.c: Regenerated. * cpu.h: Regenerated. * cpuall.h: Regenerated. * decode-compact.c: Regenerated. * decode-compact.h: Regenerated. * decode-media.c: Regenerated. * decode-media.h: Regenerated. * defs-compact.h: Regenerated. * defs-media.h: Regenerated. * sem-compact-switch.c: Regenerated. * sem-compact.c: Regenerated. * sem-media-switch.c: Regenerated. * sem-media.c: Regenerated. * sh-desc.c: Regenerated. * sh-desc.h: Regenerated. * sh-opc.h: Regenerated.
68 lines
1.4 KiB
C
68 lines
1.4 KiB
C
/* Simulator support for sh.
|
|
|
|
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
|
|
|
Copyright 1996-2005 Free Software Foundation, Inc.
|
|
|
|
This file is part of the GNU simulators.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
#include "sim-main.h"
|
|
#include "bfd.h"
|
|
|
|
const MACH *sim_machs[] =
|
|
{
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh2_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh2e_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh2a_fpu_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh2a_nofpu_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh3_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh3e_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh4_nofpu_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh4_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh4a_nofpu_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh4a_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh4al_mach,
|
|
#endif
|
|
#ifdef HAVE_CPU_SH64
|
|
& sh5_mach,
|
|
#endif
|
|
0
|
|
};
|
|
|