Skip to content
Snippets Groups Projects
Commit a991b969 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

moved some optimizations

Rev: src/peep.in:1.19
parent 1d2ea7b6
No related branches found
No related tags found
No related merge requests found
// //
// $Id: peep.in,v 1.18 1998/05/22 15:12:12 hubbe Exp $ // $Id: peep.in,v 1.19 1998/06/06 03:18:09 hubbe Exp $
// //
NOP : NOP :
...@@ -55,7 +55,6 @@ CLEAR_2_LOCAL CLEAR_2_LOCAL($1a+2) : CLEAR_4_LOCAL($1a) ...@@ -55,7 +55,6 @@ CLEAR_2_LOCAL CLEAR_2_LOCAL($1a+2) : CLEAR_4_LOCAL($1a)
CONST0 SUBTRACT: CONST0 SUBTRACT:
CONST0 XOR: CONST0 XOR:
CONST_1 XOR: COMPL CONST_1 XOR: COMPL
EQ CONST0: NOT
CONST0 RETURN: RETURN_0 CONST0 RETURN: RETURN_0
CONST1 RETURN: RETURN_1 CONST1 RETURN: RETURN_1
INC POP_VALUE: INC_AND_POP INC POP_VALUE: INC_AND_POP
...@@ -97,6 +96,11 @@ CONST0 BRANCH_WHEN_ZERO: BRANCH($2a) ...@@ -97,6 +96,11 @@ CONST0 BRANCH_WHEN_ZERO: BRANCH($2a)
CONST1 BRANCH_WHEN_NON_ZERO: BRANCH($2a) CONST1 BRANCH_WHEN_NON_ZERO: BRANCH($2a)
CONST0 BRANCH_WHEN_NON_ZERO: CONST0 BRANCH_WHEN_NON_ZERO:
# These optimizations are now handled in optimize_eq
# CONST0 BRANCH_WHEN_EQ: BRANCH_WHEN_ZERO($2a)
# CONST0 BRANCH_WHEN_NE: BRANCH_WHEN_NON_ZERO($2a)
# CONST0 EQ: NOT
EQ BRANCH_WHEN_NON_ZERO: BRANCH_WHEN_EQ ($2a) EQ BRANCH_WHEN_NON_ZERO: BRANCH_WHEN_EQ ($2a)
NE BRANCH_WHEN_NON_ZERO: BRANCH_WHEN_NE ($2a) NE BRANCH_WHEN_NON_ZERO: BRANCH_WHEN_NE ($2a)
LT BRANCH_WHEN_NON_ZERO: BRANCH_WHEN_LT ($2a) LT BRANCH_WHEN_NON_ZERO: BRANCH_WHEN_LT ($2a)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment