Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
peephole
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
peephole
Commits
41528750
Commit
41528750
authored
Dec 29, 2011
by
Richard Torenvliet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checked half report
parent
18a29e6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
report/report.tex
report/report.tex
+9
-1
No files found.
report/report.tex
View file @
41528750
...
@@ -35,7 +35,7 @@ the keywords in to an action.
...
@@ -35,7 +35,7 @@ the keywords in to an action.
\section
{
Design
}
\section
{
Design
}
There are two general types of o
f o
ptimizations of the assembly code, global
There are two general types of optimizations of the assembly code, global
optimizations and optimizations on a so-called basic block. These optimizations
optimizations and optimizations on a so-called basic block. These optimizations
will be discussed separately
will be discussed separately
...
@@ -99,6 +99,14 @@ Appendix \ref{opt}.
...
@@ -99,6 +99,14 @@ Appendix \ref{opt}.
A more advanced optimization is common subexpression elimination. This means
A more advanced optimization is common subexpression elimination. This means
that expensive operations as a multiplication or addition are performed only
that expensive operations as a multiplication or addition are performed only
once and the result is then `copied' into variables where needed.
once and the result is then `copied' into variables where needed.
\begin
{
verbatim
}
non
-
optimized:
addu
$
2,
$
2
,
$
3
addu
$
4
,
$
2,
$
3
optimized:
\end
{
verbatim
}
A standard method for doing this is the creation of a DAG or Directed Acyclic
A standard method for doing this is the creation of a DAG or Directed Acyclic
Graph. However, this requires a fairly advanced implementation. Our
Graph. However, this requires a fairly advanced implementation. Our
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment