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
2eed7245
Commit
2eed7245
authored
Dec 30, 2011
by
Jayke Meijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes report.
parent
95f32aab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
report/report.tex
report/report.tex
+8
-4
No files found.
report/report.tex
View file @
2eed7245
...
@@ -246,14 +246,18 @@ the generated Assembly code.
...
@@ -246,14 +246,18 @@ the generated Assembly code.
The writer expects a list of statements, so first the blocks have to be
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
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
the writer, which writes the instructions back to Assembly and saves the file
so we can let xgcc compile it.
We also write the original statements to a file,
so we can let xgcc compile it.
The original statements can also written to a
so differences in tabs, spaces and newlines do not show up when we check the
file, so differences in tabs, spaces and newlines do not show up when checking
differences between the optimized and non-optimized files.
the
differences between the optimized and non-optimized files.
\subsection
{
Execution
}
\subsection
{
Execution
}
To execute the optimizer, the following command can be given:
\\
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
}
\section
{
Testing
}
...
...
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