aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386/cpuid.s
blob: c25367e0d5cf6291a67b5af334afa370938bc6cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
	.file	"cpuid.s"
	.version	"01.01"
gcc2_compiled.:
.text
	.align 4
        .globl   cpuid
	.type	 cpuid,@function
cpuid:
	pushl %ebp
	movl %esp,%ebp
	pushl %edi
	pushl %esi
	pushl %ebx
	movl 8(%ebp),%eax
	movl 12(%ebp),%edi
	movl 24(%ebp),%esi
	cpuid
	movl %eax,(%edi)
	movl 16(%ebp),%eax
	movl %ebx,(%eax)
	movl 20(%ebp),%eax
	movl %ecx,(%eax)
	movl %edx,(%esi)
	popl %ebx
	popl %esi
	popl %edi
	leave
	ret
.Lfe1:
	.size	 cpuid,.Lfe1-cpuid
	.align 4