Mercurial > libavcodec.hg
diff i386/cputest.c @ 6391:3dc36ec2dcad libavcodec
__asm __volatile -> asm volatile, improves code consistency and works
(as far as that is possible) with the Sun C compiler.
author | reimar |
---|---|
date | Sun, 24 Feb 2008 14:46:22 +0000 |
parents | 7ba06222bda7 |
children | 18a7d03d5059 |
line wrap: on
line diff
--- a/i386/cputest.c Sun Feb 24 07:47:02 2008 +0000 +++ b/i386/cputest.c Sun Feb 24 14:46:22 2008 +0000 @@ -35,7 +35,7 @@ /* ebx saving is necessary for PIC. gcc seems unable to see it alone */ #define cpuid(index,eax,ebx,ecx,edx)\ - __asm __volatile\ + asm volatile\ ("mov %%"REG_b", %%"REG_S"\n\t"\ "cpuid\n\t"\ "xchg %%"REG_b", %%"REG_S\