pike.git / src / peep.in

version» Context lines:

pike.git/src/peep.in:1:   // - // $Id: peep.in,v 1.34 2000/04/30 23:15:16 hubbe Exp $ + // $Id: peep.in,v 1.35 2000/05/01 02:11:25 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:28:   NUMBER NEGATE : NEG_NUMBER($1a)   NUMBER [$1a < 0 && (-$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] : + START_FUNCTION LABEL(0) CLEAR_LOCAL : LABEL(0) + START_FUNCTION LABEL(0) CLEAR_2_LOCAL : LABEL(0) + START_FUNCTION LABEL(0) CLEAR_4_LOCAL : LABEL(0)    -  + START_FUNCTION CLEAR_LOCAL : + START_FUNCTION CLEAR_2_LOCAL : + START_FUNCTION CLEAR_4_LOCAL : +    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:290:   NUMBER POP_VALUE :   STRING POP_VALUE :   FLOAT POP_VALUE :   CONSTANT POP_VALUE :   LOCAL POP_VALUE :   IDENTIFIER POP_VALUE :   TRAMPOLINE POP_VALUE :         RECUR RETURN: TAIL_RECUR ($1a) - MARK TAIL_RECUR : BRANCH ($1a) +     -  + // This doesn't really work + // MARK TAIL_RECUR : BRANCH ($1a) +    ASSIGN_LOCAL BRANCH_WHEN_ZERO 2_LOCALS(,$1a) BRANCH_WHEN_EQ : ASSIGN_LOCAL($1a) BRANCH_AND_POP_WHEN_ZERO($2a) LOCAL($3a) BRANCH_WHEN_EQ($4a)   ASSIGN_LOCAL BRANCH_WHEN_ZERO 2_LOCALS(,$1a) BRANCH_WHEN_NE : ASSIGN_LOCAL($1a) BRANCH_AND_POP_WHEN_ZERO($2a) LOCAL($3a) BRANCH_WHEN_NE($4a)      /* This will facilitate other optimizations I hope */   CLEAR_LOCAL MARK LOCAL [ $1a != $3a ] : MARK LOCAL($3a) CLEAR_LOCAL($1a)      /* The result of this optimization could be reordered... */   CLEAR_LOCAL MARK LOCAL($1a) : MARK CLEAR_LOCAL($1a) CONST0