2005-10-28 Dave Brolley <brolley@redhat.com>
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate. Contribute the following changes: 2003-09-29 Dave Brolley <brolley@redhat.com> * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of CGEN_ATTR_VALUE_TYPE. * mloop.in: Ditto. * pipeline.c: Ditto. * traps.c: Ditto.
This commit is contained in:
parent
fb53f5a81a
commit
79e59fe67b
@ -1,3 +1,16 @@
|
||||
2005-10-28 Dave Brolley <brolley@redhat.com>
|
||||
|
||||
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
|
||||
|
||||
Contribute the following changes:
|
||||
2003-09-29 Dave Brolley <brolley@redhat.com>
|
||||
|
||||
* frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
|
||||
CGEN_ATTR_VALUE_TYPE.
|
||||
* mloop.in: Ditto.
|
||||
* pipeline.c: Ditto.
|
||||
* traps.c: Ditto.
|
||||
|
||||
2005-03-23 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
||||
|
||||
Copyright 1996-2004 Free Software Foundation, Inc.
|
||||
Copyright 1996-2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU simulators.
|
||||
|
||||
@ -18,7 +18,7 @@ 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.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
||||
|
||||
Copyright 1996-2004 Free Software Foundation, Inc.
|
||||
Copyright 1996-2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU simulators.
|
||||
|
||||
@ -18,7 +18,7 @@ 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.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
||||
|
||||
Copyright 1996-2004 Free Software Foundation, Inc.
|
||||
Copyright 1996-2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU simulators.
|
||||
|
||||
@ -18,7 +18,7 @@ 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.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
@ -28,6 +28,22 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "sim-main.h"
|
||||
#include "cgen-ops.h"
|
||||
|
||||
/* Get the value of h-reloc-ann. */
|
||||
|
||||
BI
|
||||
frvbf_h_reloc_ann_get (SIM_CPU *current_cpu)
|
||||
{
|
||||
return CPU (h_reloc_ann);
|
||||
}
|
||||
|
||||
/* Set a value for h-reloc-ann. */
|
||||
|
||||
void
|
||||
frvbf_h_reloc_ann_set (SIM_CPU *current_cpu, BI newval)
|
||||
{
|
||||
CPU (h_reloc_ann) = newval;
|
||||
}
|
||||
|
||||
/* Get the value of h-pc. */
|
||||
|
||||
USI
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
||||
|
||||
Copyright 1996-2004 Free Software Foundation, Inc.
|
||||
Copyright 1996-2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU simulators.
|
||||
|
||||
@ -18,7 +18,7 @@ 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.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
@ -36,6 +36,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
typedef struct {
|
||||
/* Hardware elements. */
|
||||
struct {
|
||||
/* relocation annotation */
|
||||
BI h_reloc_ann;
|
||||
#define GET_H_RELOC_ANN() CPU (h_reloc_ann)
|
||||
#define SET_H_RELOC_ANN(x) (CPU (h_reloc_ann) = (x))
|
||||
/* program counter */
|
||||
USI h_pc;
|
||||
#define GET_H_PC() CPU (h_pc)
|
||||
@ -267,6 +271,8 @@ SET_H_SPR (((UINT) 281), TRUNCDISI ((x)));\
|
||||
;} while (0)
|
||||
|
||||
/* Cover fns for register access. */
|
||||
BI frvbf_h_reloc_ann_get (SIM_CPU *);
|
||||
void frvbf_h_reloc_ann_set (SIM_CPU *, BI);
|
||||
USI frvbf_h_pc_get (SIM_CPU *);
|
||||
void frvbf_h_pc_set (SIM_CPU *, USI);
|
||||
UQI frvbf_h_psr_imple_get (SIM_CPU *);
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
||||
|
||||
Copyright 1996-2004 Free Software Foundation, Inc.
|
||||
Copyright 1996-2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU simulators.
|
||||
|
||||
@ -18,7 +18,7 @@ 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.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
3719
sim/frv/decode.c
3719
sim/frv/decode.c
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
|
||||
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
||||
|
||||
Copyright 1996-2004 Free Software Foundation, Inc.
|
||||
Copyright 1996-2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU simulators.
|
||||
|
||||
@ -18,7 +18,7 @@ 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.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -143,7 +143,7 @@ struct _device { int foo; };
|
||||
|
||||
/* maintain the address of the start of the previous VLIW insn sequence. */
|
||||
extern IADDR previous_vliw_pc;
|
||||
extern CGEN_ATTR_VALUE_TYPE frv_current_fm_slot;
|
||||
extern CGEN_ATTR_VALUE_ENUM_TYPE frv_current_fm_slot;
|
||||
|
||||
/* Hardware status. */
|
||||
#define GET_HSR0() GET_H_SPR (H_SPR_HSR0)
|
||||
|
@ -456,7 +456,7 @@ cat <<EOF
|
||||
int first_insn_p = 1;
|
||||
int last_insn_p = 0;
|
||||
int ninsns;
|
||||
CGEN_ATTR_VALUE_TYPE slot;
|
||||
CGEN_ATTR_VALUE_ENUM_TYPE slot;
|
||||
|
||||
/* If the timer is enabled, then enable model profiling. This is because
|
||||
the timer needs accurate cycles counts to work properly. */
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
||||
|
||||
Copyright 1996-2004 Free Software Foundation, Inc.
|
||||
Copyright 1996-2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU simulators.
|
||||
|
||||
@ -18,7 +18,7 @@ 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.,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -61,7 +61,7 @@ frv_vliw_setup_insn (SIM_CPU *current_cpu, const CGEN_INSN *insn)
|
||||
{
|
||||
/* Clear the appropriate MSR fields depending on which slot
|
||||
this insn is in. */
|
||||
CGEN_ATTR_VALUE_TYPE preserve_ovf;
|
||||
CGEN_ATTR_VALUE_ENUM_TYPE preserve_ovf;
|
||||
SI msr0 = GET_MSR (0);
|
||||
|
||||
preserve_ovf = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_PRESERVE_OVF);
|
||||
|
288
sim/frv/sem.c
288
sim/frv/sem.c
File diff suppressed because it is too large
Load Diff
@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "bfd.h"
|
||||
#include "libiberty.h"
|
||||
|
||||
CGEN_ATTR_VALUE_TYPE frv_current_fm_slot;
|
||||
CGEN_ATTR_VALUE_ENUM_TYPE frv_current_fm_slot;
|
||||
|
||||
/* The semantic code invokes this for invalid (unrecognized) instructions. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user