/* Indicate the expense of an access to an output storage class */ static int oclsExpense(struct memmap *oclass) { if (IN_FARSPACE(oclass)) return 1; return 0; }
/* Indicate the expense of an access to an output storage class */ static int oclsExpense (struct memmap *oclass) { /* The IN_FARSPACE test is compatible with historical behaviour, */ /* but I don't think it is applicable to PIC. If so, please feel */ /* free to remove this test -- EEP */ if (IN_FARSPACE(oclass)) return 1; return 0; }
/* Indicate the expense of an access to an output storage class */ static int oclsExpense (struct memmap *oclass) { /* The hc08's addressing modes allow access to all storage classes */ /* inexpensively (<=0) */ if (IN_DIRSPACE (oclass)) /* direct addressing mode is fastest */ return -2; if (IN_FARSPACE (oclass)) /* extended addressing mode is almost at fast */ return -1; if (oclass == istack) /* stack is the slowest, but still faster than */ return 0; /* trying to copy to a temp location elsewhere */ return 0; /* anything we missed */ }