pike.git / src / code / ppc32.h

version» Context lines:

pike.git/src/code/ppc32.h:1:   /* -  * $Id: ppc32.h,v 1.9 2001/08/16 21:35:41 marcus Exp $ +  * $Id: ppc32.h,v 1.10 2001/09/19 21:59:15 marcus Exp $    */      #define PIKE_OPCODE_T unsigned INT32      #define PPC_INSTR_B_FORM(OPCD,BO,BI,BD,AA,LK) \    add_to_program(((OPCD)<<26)|((BO)<<21)|((BI)<<16)| \    (((BD)&0x3fff)<<2)|((AA)<<1)|(LK))   #define PPC_INSTR_D_FORM(OPCD,S,A,d) \    add_to_program(((OPCD)<<26)|((S)<<21)|((A)<<16)|((d)&0xffff))   #define PPC_INSTR_M_FORM(OPCD,S,A,SH,MB,ME,Rc) \
pike.git/src/code/ppc32.h:40:    } else { \    /* addis reg,0,%hi(val) */ \    ADDIS(reg_, 0, val_ >> 16); \    if (val_ & 0xffff) { \    /* ori reg,reg,%lo(val) */ \    ORI(reg_, reg_, val_); \    } \    } \    } while(0)    + #define PPC_REG_RET 0 +    #define PPC_REG_ARG1 3   #define PPC_REG_ARG2 4   #define PPC_REG_ARG3 5      #define PPC_REG_PIKE_MARK_SP 8   #define PPC_REG_PIKE_FP 9   #define PPC_REG_PIKE_SP 10      #define PPC_REG_PIKE_INTERP 31