mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 23:51:49 +00:00
cpuid.c: Remove outdated code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31904 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1605194717
commit
4843c8d7d9
@ -92,13 +92,6 @@ static int has_cpuid(void)
|
||||
static void
|
||||
do_cpuid(unsigned int ax, unsigned int *p)
|
||||
{
|
||||
#if 0
|
||||
__asm__ volatile(
|
||||
"cpuid;"
|
||||
: "=a" (p[0]), "=b" (p[1]), "=c" (p[2]), "=d" (p[3])
|
||||
: "0" (ax)
|
||||
);
|
||||
#else
|
||||
// code from libavcodec:
|
||||
__asm__ volatile
|
||||
("mov %%"REG_b", %%"REG_S"\n\t"
|
||||
@ -107,7 +100,6 @@ do_cpuid(unsigned int ax, unsigned int *p)
|
||||
: "=a" (p[0]), "=S" (p[1]),
|
||||
"=c" (p[2]), "=d" (p[3])
|
||||
: "0" (ax));
|
||||
#endif
|
||||
}
|
||||
|
||||
void GetCpuCaps( CpuCaps *caps)
|
||||
|
Loading…
Reference in New Issue
Block a user