Branch: Tag:

2003-04-07

2003-04-07 19:33:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now generates ADD_TO.

Rev: src/peep.in:1.67

2:   // 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.66 2003/01/01 13:22:52 grubba Exp $ + // $Id: peep.in,v 1.67 2003/04/07 19:33:46 grubba Exp $      NOP :   POP_N_ELEMS (0) :
235:   ADD_INT ADD_NEG_INT [$2a <= $1a]: ADD_INT ($1a-$2a)   ADD_INT ADD_NEG_INT [$2a > $1a]: ADD_NEG_INT ($2a-$1a)    - ASSIGN POP_VALUE: ASSIGN_AND_POP - LTOSVAL2 ADD ASSIGN_AND_POP : ADD_TO_AND_POP - LTOSVAL ADD ASSIGN_AND_POP : ADD_TO_AND_POP + LTOSVAL2 ADD ASSIGN : ADD_TO + LTOSVAL ADD ASSIGN : ADD_TO    - LTOSVAL2 ADD_INTS ASSIGN_AND_POP : ADD_TO_AND_POP - LTOSVAL ADD_INTS ASSIGN_AND_POP : ADD_TO_AND_POP + LTOSVAL2 ADD_INTS ASSIGN : ADD_TO + LTOSVAL ADD_INTS ASSIGN : ADD_TO    - LTOSVAL2 ADD_FLOATS ASSIGN_AND_POP : ADD_TO_AND_POP - LTOSVAL ADD_FLOATS ASSIGN_AND_POP : ADD_TO_AND_POP + LTOSVAL2 ADD_FLOATS ASSIGN : ADD_TO + LTOSVAL ADD_FLOATS ASSIGN : ADD_TO    -  + LOCAL CONST1 ADD_TO : INC_LOCAL($1a) + LOCAL CONST_1 ADD_TO : DEC_LOCAL($1a) +  + ADD_TO POP_VALUE : ADD_TO_AND_POP + ASSIGN POP_VALUE : ASSIGN_AND_POP +    LOCAL CONST1 ADD_TO_AND_POP : INC_LOCAL_AND_POP($1a)   LOCAL CONST_1 ADD_TO_AND_POP : DEC_LOCAL_AND_POP($1a)    - LOCAL RETURN : RETURN_LOCAL($1a) - LOCAL VOLATILE_RETURN : RETURN_LOCAL($1a) + INC_LOCAL POP_VALUE : INC_LOCAL_AND_POP($1a) + DEC_LOCAL POP_VALUE : DEC_LOCAL_AND_POP($1a) +    #ifdef EAT_STACK   APPLY ASSIGN_LOCAL_AND_POP : APPLY_ASSIGN_LOCAL_AND_POP($1a,$2a)   #endif - 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) + ASSIGN_LOCAL_AND_POP INC_LOCAL($1a) : ADD_INT(1) ASSIGN_LOCAL($1a) + ASSIGN_LOCAL_AND_POP DEC_LOCAL($1a) : ADD_NEG_INT(1) ASSIGN_LOCAL($1a) +  + LOCAL RETURN : RETURN_LOCAL($1a) + LOCAL VOLATILE_RETURN : RETURN_LOCAL($1a) +    NUMBER ADD_INT [ !INT_TYPE_ADD_OVERFLOW($1a, $2a) ] : NUMBER($1a+$2a)   NUMBER ADD_NEG_INT [ !INT_TYPE_SUB_OVERFLOW($1a, $2a) ]: NUMBER($1a-$2a)   NEG_NUMBER ADD_INT [ !INT_TYPE_ADD_OVERFLOW(-$1a, $2a) ]: NUMBER(-$1a+$2a)