annotate i386/cpuid.s @ 16:89bc3bf1a031 libavcodec

added external cpuid code to solve -fPIC and gcc unclear constraints problems
author glantau
date Mon, 30 Jul 2001 23:51:20 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
1 .file "cpuid.s"
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
2 .version "01.01"
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
3 gcc2_compiled.:
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
4 .text
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
5 .align 4
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
6 .globl cpuid
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
7 .type cpuid,@function
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
8 cpuid:
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
9 pushl %ebp
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
10 movl %esp,%ebp
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
11 pushl %edi
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
12 pushl %esi
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
13 pushl %ebx
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
14 movl 8(%ebp),%eax
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
15 movl 12(%ebp),%edi
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
16 movl 24(%ebp),%esi
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
17 cpuid
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
18 movl %eax,(%edi)
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
19 movl 16(%ebp),%eax
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
20 movl %ebx,(%eax)
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
21 movl 20(%ebp),%eax
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
22 movl %ecx,(%eax)
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
23 movl %edx,(%esi)
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
24 popl %ebx
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
25 popl %esi
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
26 popl %edi
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
27 leave
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
28 ret
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
29 .Lfe1:
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
30 .size cpuid,.Lfe1-cpuid
89bc3bf1a031 added external cpuid code to solve -fPIC and gcc unclear constraints problems
glantau
parents:
diff changeset
31 .align 4