Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
a991b969
Commit
a991b969
authored
26 years ago
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
moved some optimizations
Rev: src/peep.in:1.19
parent
1d2ea7b6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/peep.in
+6
-2
6 additions, 2 deletions
src/peep.in
with
6 additions
and
2 deletions
src/peep.in
+
6
−
2
View file @
a991b969
//
//
// $Id: peep.in,v 1.1
8
1998/0
5/22 15:12:12
hubbe Exp $
// $Id: peep.in,v 1.1
9
1998/0
6/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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment