pike.git / src / peep.in

version» Context lines:

pike.git/src/peep.in:1:   // -*- c -*-   // 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: peep.in,v 1.69 2004/04/30 20:33:07 grubba Exp $ + // $Id: peep.in,v 1.70 2004/04/30 20:42:05 grubba 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   POP_VALUE POP_TO_MARK : POP_TO_MARK   POP_N_ELEMS POP_TO_MARK : POP_TO_MARK
pike.git/src/peep.in:231:   // This set of optimizations is broken. Consider the case:   // STRING ADD_INT ADD_INT   //   // ADD_INT ADD_INT: ADD_INT ($1a+$2a)   // ADD_NEG_INT ADD_NEG_INT: ADD_NEG_INT ($1a+$2a)   // ADD_NEG_INT ADD_INT [$1a <= $2a]: ADD_INT ($2a-$1a)   // ADD_NEG_INT ADD_INT [$1a > $2a]: ADD_NEG_INT ($1a-$2a)   // ADD_INT ADD_NEG_INT [$2a <= $1a]: ADD_INT ($1a-$2a)   // ADD_INT ADD_NEG_INT [$2a > $1a]: ADD_NEG_INT ($2a-$1a)    - NUMBER ADD_INT : NUMBER ($1a+$2a) - NUMBER ADD_NEG_INT : NUMBER ($1a-$2a) + CONST0 ADD_INT : NUMBER ($2a) + CONST0 ADD_NEG_INT : NUMBER($2a)    -  + // FIXME: BIGNUMS? + // + // NUMBER ADD_INT : NUMBER ($1a+$2a) + // NUMBER ADD_NEG_INT : NUMBER ($1a-$2a) + // CONST1 ADD_INT : NUMBER(1+$2a) + // CONST1 ADD_NEG_INT : NUMBER(1-$2a) + // CONST_1 ADD_INT : NUMBER($2a-1) + // CONST_1 ADD_NEG_INT : NUMBER(-(1+$2a)) +    LTOSVAL2 ADD ASSIGN : ADD_TO   LTOSVAL ADD ASSIGN : ADD_TO      LTOSVAL2 ADD_INTS ASSIGN : ADD_TO   LTOSVAL ADD_INTS ASSIGN : ADD_TO      LTOSVAL2 ADD_FLOATS ASSIGN : ADD_TO   LTOSVAL ADD_FLOATS ASSIGN : ADD_TO      LOCAL CONST1 ADD_TO : INC_LOCAL($1a)