Branch: Tag:

2001-01-15

2001-01-15 18:36:43 by Martin Stjernholm <mast@lysator.liu.se>

Fixed stack bug when eliminating conditional jumps.

Rev: src/peep.in:1.45

1:   // - // $Id: peep.in,v 1.44 2001/01/15 00:35:15 mast Exp $ + // $Id: peep.in,v 1.45 2001/01/15 18:36:43 mast Exp $   //      NOP :
239:   // Branches that jump to the next instruction   // Basic branches   BRANCH LABEL($1a) : LABEL($1a) - BRANCH_WHEN_ZERO LABEL($1a) : LABEL($1a) - BRANCH_WHEN_NON_ZERO LABEL($1a) : LABEL($1a) - BRANCH_WHEN_EQ LABEL($1a) : LABEL($1a) - BRANCH_WHEN_NE LABEL($1a) : LABEL($1a) - BRANCH_WHEN_LT LABEL($1a) : LABEL($1a) - BRANCH_WHEN_LE LABEL($1a) : LABEL($1a) - BRANCH_WHEN_GT LABEL($1a) : LABEL($1a) - BRANCH_WHEN_GE LABEL($1a) : LABEL($1a) + BRANCH_WHEN_ZERO LABEL($1a) : POP_VALUE LABEL($1a) + BRANCH_WHEN_NON_ZERO LABEL($1a) : POP_VALUE LABEL($1a) + BRANCH_WHEN_EQ LABEL($1a) : POP_VALUE POP_VALUE LABEL($1a) + BRANCH_WHEN_NE LABEL($1a) : POP_VALUE POP_VALUE LABEL($1a) + BRANCH_WHEN_LT LABEL($1a) : POP_VALUE POP_VALUE LABEL($1a) + BRANCH_WHEN_LE LABEL($1a) : POP_VALUE POP_VALUE LABEL($1a) + BRANCH_WHEN_GT LABEL($1a) : POP_VALUE POP_VALUE LABEL($1a) + BRANCH_WHEN_GE LABEL($1a) : POP_VALUE POP_VALUE LABEL($1a)   // These variants use a POINTER   BRANCH_IF_NOT_LOCAL_ARROW POINTER LABEL ($2a) : LABEL($2a)   BRANCH_IF_LOCAL POINTER LABEL($2a) : LABEL($2a)