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
drm - Fix memory leak in broadwell or later GPUs
[dragonfly.git]
/
test
/
cpuperf
/
cpu_ladd.S
blob
ffcaa27fc1ff026ac2d43df2a35dfe1ea02064ac
1
/* $DragonFly: src/test/cpuperf/cpu_ladd.S,v 1.1 2004/02/09 18:15:35 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
lock; 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