From 55231d81f3983892822df110c6bebb7d0f3faa7c Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 1 Mar 2004 10:11:45 +0000 Subject: Add fr450 support. --- sim/frv/frv-sim.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sim/frv/frv-sim.h') diff --git a/sim/frv/frv-sim.h b/sim/frv/frv-sim.h index 39da19c37be..ce5d492766d 100644 --- a/sim/frv/frv-sim.h +++ b/sim/frv/frv-sim.h @@ -23,11 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "sim-options.h" -/* Not defined in the cgen cpu file for access restriction purposes. */ -#define H_SPR_ACC4 1412 -#define H_SPR_ACC63 1471 -#define H_SPR_ACCG4 1476 -#define H_SPR_ACCG63 1535 +/* True if SPR is the number of accumulator or accumulator guard register. */ +#define SPR_IS_ACC(SPR) ((SPR) >= 1408 && (SPR) <= 1535) /* Initialization of the frv cpu. */ void frv_initialize (SIM_CPU *, SIM_DESC); -- cgit v1.2.1