Add fr450 support.
[deliverable/binutils-gdb.git] / sim / frv / frv-sim.h
index 39da19c37beec6b954351b45621a893cdcbcf03a..ce5d492766d1be2c2c906a99044914f699fe81b6 100644 (file)
@@ -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);
This page took 0.023733 seconds and 4 git commands to generate.