Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / test / cpuperf / cpu_add.S
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