repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ext2fs - A few bug fixes and syntax adjustments.
[dragonfly.git]
/
test
/
cpuperf
/
cpu_add.S
blob
9df8720d9776ca5acedcb9ba58fcc2bc7cefbcbd
1
/* $DragonFly: src/test/cpuperf/cpu_add.S,v 1.1 2004/02/09 18:08:54 dillon Exp $ */
2
3
.globl test_dummy
4
.globl test_load
5
.globl test_str
6
7
.p2align 5
8
test_dummy:
9
movl 4(%esp),%ecx
10
addl %ebx,%edx
11
nop
12
nop
13
movl %ebx,%edx
14
ret
15
16
.p2align 5
17
test_load:
18
movl 4(%esp),%ecx
19
addl %ebx,%edx
20
addl $1,(%ecx) /* instruction under test */
21
movl %ebx,%edx
22
ret
23
24
.p2align 5
25
test_str:
26
.asciz "3 x addl $1,%eax in pipeline"
27