xref: /dragonfly/test/cpuperf/cpu_ladd.S (revision 5fb3968e)
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
8test_dummy:
9	movl	4(%esp),%ecx
10	addl	%ebx,%edx
11	nop
12	nop
13	movl	%ebx,%edx
14	ret
15
16	.p2align 5
17test_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
25test_str:
26	.asciz	"3 x addl $1,%eax in pipeline"
27
28