Branch: Tag:

1997-01-30

1997-01-30 03:51:37 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

many optimizations added (see Changelog)

Rev: src/builtin_functions.c:1.25
Rev: src/docode.c:1.10
Rev: src/interpret.c:1.23
Rev: src/language.yacc:1.21
Rev: src/las.c:1.16
Rev: src/lex.c:1.14
Rev: src/lex.h:1.3
Rev: src/peep.c:1.5
Rev: src/peep.in:1.3
Rev: src/pike_types.c:1.15
Rev: src/port.h:1.11

10:   ASSIGN_GLOBAL POP_VALUE : ASSIGN_GLOBAL_AND_POP($1a)   ASSIGN_LOCAL POP_VALUE : ASSIGN_LOCAL_AND_POP($1a)   CALL_LFUN POP_VALUE : CALL_LFUN_AND_POP($1a) + APPLY POP_VALUE : APPLY_AND_POP($1a)   NUMBER(0) : CONST0   NUMBER(1) : CONST1   NUMBER(-1) : CONST_1
23:   NEGATE CONST_1 ADD : COMPL   NEGATE CONST1 SUBTRACT : COMPL   CONST0 ASSIGN_LOCAL_AND_POP : CLEAR_LOCAL($2a) + 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)      CONST_1 MULTIPLY : NEGATE   #CONST0 MULTIPLY : POP_VALUE CONST0
97:   LE NOT: GT   GE NOT: LT    + LOCAL LOCAL [$2a<256 && $3o != F_SIZEOF && $3o != F_INDEX ]: 2_LOCALS ($1a) BYTE ($2a) + MARK LOCAL [ $3o != F_SIZEOF && $3o != F_INDEX ]: MARK_AND_LOCAL ($2a)   LOCAL SIZEOF: SIZEOF_LOCAL ($1a)   STRING INDEX: STRING_INDEX ($1a)   LOCAL INDEX: LOCAL_INDEX ($1a)