[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdemultimedia/mpeglib/lib/util/mmx
From: Dirk Mueller <mueller () kde ! org>
Date: 2003-03-29 12:49:12
[Download RAW message or body]
CVS commit by mueller:
compile
M +0 -2 Makefile.am 1.3
M +4 -4 cpu_accel.c 1.2
--- kdemultimedia/mpeglib/lib/util/mmx/Makefile.am #1.2:1.3
@@ -4,6 +4,4 @@
# (I dont have debugged why)
-CFLAGS = -O2
-
INCLUDES = $(all_includes)
--- kdemultimedia/mpeglib/lib/util/mmx/cpu_accel.c #1.1:1.2
@@ -41,5 +41,5 @@ static uint32_t arch_accel (void)
#ifndef PIC
#define cpuid(op,eax,ebx,ecx,edx) \
- asm ("cpuid" \
+ __asm__ ("cpuid" \
: "=a" (eax), \
"=b" (ebx), \
@@ -50,5 +50,5 @@ static uint32_t arch_accel (void)
#else /* PIC version : save ebx */
#define cpuid(op,eax,ebx,ecx,edx) \
- asm ("pushl %%ebx\n\t" \
+ __asm__ ("pushl %%ebx\n\t" \
"cpuid\n\t" \
"movl %%ebx,%1\n\t" \
@@ -62,5 +62,5 @@ static uint32_t arch_accel (void)
#endif
- asm ("pushfl\n\t"
+ __asm__ ("pushfl\n\t"
"pushfl\n\t"
"popl %0\n\t"
@@ -138,5 +138,5 @@ static uint32_t arch_accel (void)
canjump = 1;
- asm volatile ("mtspr 256,%0" :: "r" (-1));
+ __asm__ volatile ("mtspr 256,%0" :: "r" (-1));
signal (SIGILL, SIG_DFL);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic