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
61b61a39
Commit
61b61a39
authored
13 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Added print line to hello.c.
parent
2fdd48ad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
benchmarks/.gitignore
+6
-0
6 additions, 0 deletions
benchmarks/.gitignore
benchmarks/build/hello.s
+8
-2
8 additions, 2 deletions
benchmarks/build/hello.s
benchmarks/hello.c
+4
-2
4 additions, 2 deletions
benchmarks/hello.c
with
18 additions
and
4 deletions
benchmarks/.gitignore
0 → 100644
+
6
−
0
View file @
61b61a39
acron
clinpack
dhrystone
pi
slalom
whet
This diff is collapsed.
Click to expand it.
benchmarks/build/hello.s
+
8
−
2
View file @
61b61a39
...
...
@@ -6,11 +6,14 @@
#
-
mgas
-
mgpOPT
#
Cc1
arguments
(-
G
value
=
8
,
Cpu
=
default
,
ISA
=
1
)
:
#
-
quiet
-
dumpbase
-
o
#
-
quiet
-
dumpbase
-
O0
-
o
gcc2_compiled
.:
__gnu_compiled_c
:
.
sdata
.
align
2
$LC2
:
.
ascii
"e: %d\n\000"
.
align
3
$LC0
:
.
word
0x00000000
#
2
...
...
@@ -25,7 +28,7 @@ $LC1:
.
text
.
loc
1
2
.
loc
1
3
.
ent
main
main
:
.
frame
$fp
,
64
,
$
31
#
vars
=
40
,
regs
=
2
/
0
,
args
=
16
,
extra
=
0
...
...
@@ -53,6 +56,9 @@ main:
s.d
$f0
,
40
(
$fp
)
li
$
2
,
0x00000061
#
97
sb
$
2
,
48
(
$fp
)
la
$
4
,
$LC2
lw
$
5
,
28
(
$fp
)
jal
printf
move
$
2
,
$
0
j
$L1
$L1
:
...
...
This diff is collapsed.
Click to expand it.
benchmarks/hello.c
+
4
−
2
View file @
61b61a39
int
main
(
void
)
{
#include
<stdio.h>
int
main
(
void
)
{
int
x
=
1
,
b
=
5
,
d
=
x
+
b
,
e
=
x
+
10
;
double
y
=
2
.,
z
=
3
.
5
;
char
c
=
'a'
;
printf
(
"e: %d
\n
"
,
e
);
// 11
return
0
;
}
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