pike.git / src / code / sparc.c

version» Context lines:

pike.git/src/code/sparc.c:1:   /* -  * $Id: sparc.c,v 1.8 2001/07/24 12:23:14 grubba Exp $ +  * $Id: sparc.c,v 1.9 2001/07/24 12:34:23 grubba Exp $    *    * Machine code generator for sparc.    *    * Henrik Grubbström 20010720    */      #include "operators.h"      #define ADD_CALL(X, DELAY_OK) do { \    INT32 delta_; \
pike.git/src/code/sparc.c:63: Inside #if undefined(PIKE_DEBUG)
   switch(b)    {    case F_MAKE_ITERATOR - F_OFFSET:    {    extern void f_Iterator(INT32);    SET_REG(SPARC_REG_O0, 1);    delay_ok = 1;    addr = (void *)f_Iterator;    }    break; -  case F_COMPL - F_OFFSET: addr=(void *)o_compl; break; -  case F_LSH - F_OFFSET: addr=(void *)o_lsh; break; -  case F_RSH - F_OFFSET: addr=(void *)o_rsh; break; +     case F_ADD - F_OFFSET:    SET_REG(SPARC_REG_O0, 2);    delay_ok = 1;    addr = (void *)f_add;    break; -  case F_SUBTRACT - F_OFFSET: addr = (void *)o_subtract; break; -  case F_AND - F_OFFSET: addr=(void *)o_and; break; -  case F_OR - F_OFFSET: addr=(void *)o_or; break; -  case F_XOR - F_OFFSET: addr=(void *)o_xor; break; -  case F_MULTIPLY - F_OFFSET: addr=(void *)o_multiply; break; -  case F_DIVIDE - F_OFFSET: addr=(void *)o_divide; break; -  case F_MOD - F_OFFSET: addr=(void *)o_mod; break; -  case F_CAST - F_OFFSET: addr = (void *)f_cast; break; -  case F_CAST_TO_INT - F_OFFSET: addr = (void *)o_cast_to_int; break; -  case F_CAST_TO_STRING - F_OFFSET: addr = (void *)o_cast_to_string; break; -  case F_RANGE - F_OFFSET: addr = (void *)o_range; break; -  case F_SSCANF - F_OFFSET: addr=(void *)o_sscanf; break; +     }   #endif       ADD_CALL(addr, delay_ok);   }      void ins_f_byte(unsigned int opcode)   {    low_ins_f_byte(opcode, 0);   }