Mercurial > mplayer.hg
comparison mp3lib/d_cpu.s @ 739:c0131b42214a
ize ... sorry ;)
author | pontscho |
---|---|
date | Wed, 09 May 2001 16:46:02 +0000 |
parents | 7705b51ab518 |
children | 03b7e2955a20 |
comparison
equal
deleted
inserted
replaced
738:7705b51ab518 | 739:c0131b42214a |
---|---|
13 / --------------------------------------------------------------------------- | 13 / --------------------------------------------------------------------------- |
14 / in C: unsigned long CpuDetect( void ); | 14 / in C: unsigned long CpuDetect( void ); |
15 / return: cpu ident number. | 15 / return: cpu ident number. |
16 / --------------------------------------------------------------------------- | 16 / --------------------------------------------------------------------------- |
17 CpuDetect: | 17 CpuDetect: |
18 pushl %eax | |
19 pushl %ebx | 18 pushl %ebx |
20 pushl %ecx | 19 pushl %ecx |
21 pushl %edx | 20 pushl %edx |
22 | 21 |
23 pushfl | 22 pushfl |
40 exit_cpudetect: | 39 exit_cpudetect: |
41 | 40 |
42 popl %edx | 41 popl %edx |
43 popl %ecx | 42 popl %ecx |
44 popl %ebx | 43 popl %ebx |
45 popl %eax | |
46 ret | 44 ret |
47 | 45 |
48 / --------------------------------------------------------------------------- | 46 / --------------------------------------------------------------------------- |
49 / in C: unsigled long ipentium( void ); | 47 / in C: unsigled long ipentium( void ); |
50 / return: 0 if the processor is not P5 or above else above 1. | 48 / return: 0 if the processor is not P5 or above else above 1. |