pike.git / src / peep.in

version» Context lines:

pike.git/src/peep.in:1:   // - // $Id: peep.in,v 1.14 1998/04/01 00:47:49 hubbe Exp $ + // $Id: peep.in,v 1.15 1998/05/12 23:51:26 hubbe Exp $   //      NOP :   POP_N_ELEMS (0) :   POP_N_ELEMS POP_VALUE : POP_N_ELEMS ($1a + 1)   POP_VALUE POP_VALUE : POP_N_ELEMS (2)   POP_VALUE POP_N_ELEMS : POP_N_ELEMS ($2a + 1)   POP_N_ELEMS POP_N_ELEMS : POP_N_ELEMS ($1a + $2a)   POP_N_ELEMS(1) : POP_VALUE   
pike.git/src/peep.in:26:   CONST1 NEGATE : CONST_1   CONST_1 NEGATE : CONST1   NUMBER NEGATE : NEG_NUMBER($1a)   NUMBER [$1a < 0] : NEG_NUMBER (-$1a)   NEG_NUMBER NEGATE : NUMBER ($1a)   NEGATE NEGATE :   COMPL COMPL :   NEGATE CONST_1 ADD : COMPL   NEGATE CONST1 SUBTRACT : COMPL   CONST0 ASSIGN_LOCAL_AND_POP : CLEAR_LOCAL($2a) +  + // Remove clearing of locals from the beginning of functions + CLEAR_LOCAL [(fifo_len == (long)instrbuf.s.len / (long)sizeof(p_instr)) && $1a>=remove_clear_locals] : + CLEAR_2_LOCAL [(fifo_len == (long)instrbuf.s.len / (long)sizeof(p_instr)) && $1a>=remove_clear_locals] : + CLEAR_4_LOCAL [(fifo_len == (long)instrbuf.s.len / (long)sizeof(p_instr)) && $1a>=remove_clear_locals] : +    CLEAR_LOCAL NUMBER(0) ASSIGN_LOCAL_AND_POP ($1a) : CLEAR_LOCAL($1a)   CLEAR_LOCAL NUMBER(0) ASSIGN_LOCAL_AND_POP ($1a+1) : CLEAR_2_LOCAL($1a)   CLEAR_2_LOCAL CLEAR_2_LOCAL($1a+2) : CLEAR_4_LOCAL($1a)      // CONST_1 MULTIPLY : NEGATE   // CONST0 MULTIPLY : POP_VALUE CONST0   // CONST1 MULTIPLY :   // NUMBER MULTIPLY [count_bits($1a)==1]: NUMBER(my_log2($1a)) LSH      // CONST_1 DIVIDE : NEGATE
pike.git/src/peep.in:163:   LOCAL RETURN : RETURN_LOCAL($1a)   APPLY ASSIGN_LOCAL_AND_POP : APPLY_ASSIGN_LOCAL_AND_POP($1a) BYTE($2a)   ASSIGN_LOCAL_AND_POP INC_LOCAL_AND_POP($1a) : ADD_INT(1) ASSIGN_LOCAL_AND_POP($1a)   ASSIGN_LOCAL_AND_POP DEC_LOCAL_AND_POP($1a) : ADD_NEG_INT(1) ASSIGN_LOCAL_AND_POP($1a)   NUMBER ADD_INT: NUMBER($1a+$2a)   NUMBER ADD_NEG_INT: NUMBER($1a-$2a)   NEG_NUMBER ADD_INT: NUMBER($-1a+$2a)   NEG_NUMBER ADD_NEG_INT: NUMBER(-$1a-$2a)      LOCAL BRANCH_WHEN_NON_ZERO : BRANCH_IF_LOCAL($1a) POINTER($2a) + LOCAL BRANCH_WHEN_ZERO : BRANCH_IF_NOT_LOCAL($1a) POINTER($2a)      DEC_LOCAL_AND_POP LOCAL ($1a) : DEC_LOCAL ($1a)   INC_LOCAL_AND_POP LOCAL ($1a) : INC_LOCAL ($1a)   ASSIGN_LOCAL_AND_POP LOCAL($1a) : ASSIGN_LOCAL($1a)   ASSIGN_GLOBAL_AND_POP GLOBAL($1a) : ASSIGN_GLOBAL($1a)   APPLY_ASSIGN_LOCAL_AND_POP BYTE LOCAL ($2a) : APPLY_ASSIGN_LOCAL($1a) BYTE($2a)      DEC_LOCAL_AND_POP MARK_AND_LOCAL ($1a) : MARK DEC_LOCAL ($1a)   INC_LOCAL_AND_POP MARK_AND_LOCAL ($1a) : MARK INC_LOCAL ($1a)   ASSIGN_GLOBAL_AND_POP MARK GLOBAL($1a) : MARK_X(1) ASSIGN_GLOBAL($1a)
pike.git/src/peep.in:210:   #define BasicBranch1(Branch,Oper,Pre,Post) \    BasicBranch2(Branch,Oper,Pre,Post,LOCAL) \    BasicBranch2(Branch,Oper,Pre,Post,GLOBAL)      #define BasicBranch0(Branch,Oper) \    BasicBranch1(Branch,Oper,MARK,MARK_X(1)) \    BasicBranch1(Branch,Oper, , )      BasicBranch0(BRANCH_WHEN_NON_ZERO, BRANCH_AND_POP_WHEN_NON_ZERO)   BasicBranch0(BRANCH_WHEN_ZERO, BRANCH_AND_POP_WHEN_ZERO) +  + LOCAL ASSIGN_LOCAL_AND_POP : LOCAL_2_LOCAL($2a) BYTE($1a) + GLOBAL ASSIGN_LOCAL_AND_POP : GLOBAL_2_LOCAL($1a) BYTE($2a) + LOCAL ASSIGN_GLOBAL_AND_POP : LOCAL_2_GLOBAL($2a) BYTE($1a) +  + LOCAL ARROW : LOCAL_ARROW($2a) BYTE($1a) + LOCAL_ARROW BYTE BRANCH_WHEN_ZERO: BRANCH_IF_NOT_LOCAL_ARROW($1a) BYTE($2a) POINTER($3a) +  + GLOBAL LOCAL_INDEX : GLOBAL_LOCAL_INDEX($1a) BYTE($2a) +  + SIZEOF CONST1 BRANCH_WHEN_LT : SIZEOF BRANCH_WHEN_ZERO ($3a) + SIZEOF_LOCAL CONST1 BRANCH_WHEN_LT : SIZEOF BRANCH_WHEN_ZERO ($3a) + SIZEOF CONST0 BRANCH_WHEN_LE : SIZEOF BRANCH_WHEN_ZERO ($3a) + SIZEOF_LOCAL CONST0 BRANCH_WHEN_LE : SIZEOF BRANCH_WHEN_ZERO ($3a)