pike.git / src / code / ppc32.h

version» Context lines:

pike.git/src/code/ppc32.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: ppc32.h,v 1.26 2005/11/19 22:38:51 grubba Exp $ + || $Id: ppc32.h,v 1.27 2005/11/21 10:38:22 grubba Exp $   */      #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_I_FORM(OPCD,LI,AA,LK) \    add_to_program(((OPCD)<<26)|((LI)&0x03fffffc)|((AA)<<1)|(LK))   #define PPC_INSTR_M_FORM(OPCD,S,A,SH,MB,ME,Rc) \
pike.git/src/code/ppc32.h:165:    ppc32_codegen_last_pc = pc; \    ppc32_codegen_state |= PPC_CODEGEN_PC_ISSET; \    } while (0)      #define ins_pointer(PTR) add_to_program((INT32)(PTR))   #define read_pointer(OFF) (Pike_compiler->new_program->program[(INT32)(OFF)])   #define upd_pointer(OFF,PTR) (Pike_compiler->new_program->program[(INT32)(OFF)] = (INT32)(PTR))   #define ins_align(ALIGN)   #define ins_byte(VAL) add_to_program((INT32)(VAL))   #define ins_data(VAL) add_to_program((INT32)(VAL)) - #define read_data(PTR, OFF) ((INT32)((PTR)[OFF])) + #define read_program_data(PTR, OFF) ((INT32)((PTR)[OFF]))      INT32 ppc32_ins_f_jump(unsigned int a, int backward_jump);   INT32 ppc32_ins_f_jump_with_arg(unsigned int a, unsigned INT32 b, int backward_jump);   INT32 ppc32_ins_f_jump_with_2_args(unsigned int a, unsigned INT32 b, unsigned INT32 c, int backward_jump);   void ppc32_update_f_jump(INT32 offset, INT32 to_offset);   INT32 ppc32_read_f_jump(INT32 offset);   #define INS_F_JUMP ppc32_ins_f_jump   #define INS_F_JUMP_WITH_ARG ppc32_ins_f_jump_with_arg   #define INS_F_JUMP_WITH_TWO_ARGS ppc32_ins_f_jump_with_2_args   #define UPDATE_F_JUMP ppc32_update_f_jump