#define REGISTERS ((STATE_CPU (sd,0))->registers)
#define GPR (®ISTERS[0])
+#define GPR_SET(N,VAL) (REGISTERS[(N)] = (VAL))
#define FGRIDX (38)
#define FGR (®ISTERS[FGRIDX])
#define LO (REGISTERS[33])
#define PENDING_SLOT_REG ((STATE_CPU (sd, 0))->pending_slot_reg)
#define PENDING_SLOT_VALUE ((STATE_CPU (sd, 0))->pending_slot_value)
-#if 0
-
/* The following are not used for MIPS IV onwards: */
#define PENDING_FILL(r,v) {\
/* printf("DBG: FILL BEFORE pending_in = %d, pending_out = %d, pending_total = %d\n",PENDING_IN,PENDING_OUT,PENDING_TOTAL); */\
PENDING_IN = 0;\
/*printf("DBG: FILL AFTER pending_in = %d, pending_out = %d, pending_total = %d\n",PENDING_IN,PENDING_OUT,PENDING_TOTAL);*/\
}
-#endif
/* LLBIT = Load-Linked bit. A bit of "virtual" state used by atomic