Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
peephole
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Taddeüs Kroes
peephole
Commits
2eed7245
Commit
2eed7245
authored
13 years ago
by
Jayke Meijer
Browse files
Options
Downloads
Patches
Plain Diff
Small changes report.
parent
95f32aab
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
report/report.tex
+8
-4
8 additions, 4 deletions
report/report.tex
with
8 additions
and
4 deletions
report/report.tex
+
8
−
4
View file @
2eed7245
...
...
@@ -246,14 +246,18 @@ the generated Assembly code.
The writer expects a list of statements, so first the blocks have to be
concatenated again into a list. After this is done, the list is passed on to
the writer, which writes the instructions back to Assembly and saves the file
so we can let xgcc compile it.
We also write t
he original statements
to a file,
so differences in tabs, spaces and newlines do not show up when
we
check
the
differences between the optimized and non-optimized files.
so we can let xgcc compile it.
T
he original statements
can also written to a
file,
so differences in tabs, spaces and newlines do not show up when check
ing
the
differences between the optimized and non-optimized files.
\subsection
{
Execution
}
To execute the optimizer, the following command can be given:
\\
\texttt
{
./main <original file> <optimized file> <rewritten original file>
}
\texttt
{
./main.py <original file> <optimized file> <rewritten original file>
}
\\
There is also a script available that runs the optimizer and automatically
starts the program
\emph
{
meld
}
. In meld it is easy to visually compare the
original file and the optimized file. The command to execute this script is:
\\
\texttt
{
./run <benchmark name (e.g. whet)>
}
\\
\section
{
Testing
}
...
...
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