Mercurial > mplayer.hg
comparison mp3lib/dct64_mmx.c @ 27754:08d18fe9da52
Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.
author | diego |
---|---|
date | Thu, 16 Oct 2008 18:59:27 +0000 |
parents | 2095f98cf0fa |
children | b5a46071062a |
comparison
equal
deleted
inserted
replaced
27753:6c915906bbc6 | 27754:08d18fe9da52 |
---|---|
7 #define real float /* ugly - but only way */ | 7 #define real float /* ugly - but only way */ |
8 | 8 |
9 void dct64_MMX(short *a,short *b,real *c) | 9 void dct64_MMX(short *a,short *b,real *c) |
10 { | 10 { |
11 char tmp[256]; | 11 char tmp[256]; |
12 __asm __volatile( | 12 __asm__ __volatile( |
13 " movl %2,%%eax\n\t" | 13 " movl %2,%%eax\n\t" |
14 /* Phase 1*/ | 14 /* Phase 1*/ |
15 " flds (%%eax)\n\t" | 15 " flds (%%eax)\n\t" |
16 " leal 128+%3,%%edx\n\t" | 16 " leal 128+%3,%%edx\n\t" |
17 " fadds 124(%%eax)\n\t" | 17 " fadds 124(%%eax)\n\t" |