diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-04-17 21:57:52 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-04-17 21:57:52 +0000 |
commit | c88c253d8b333c0e956255a3fff369dca143cf94 (patch) | |
tree | 7d8d85766f5edebcd3cfdd3ec27d0bcc1125419e /libavcodec/ps2/idct_mmi.c | |
parent | c6d4cef7c37ea490633e75c2d377fdc642190930 (diff) | |
download | ffmpeg-c88c253d8b333c0e956255a3fff369dca143cf94.tar.gz |
cosmetics: __asm__ __volatile__ --> asm volatile
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ps2/idct_mmi.c')
-rw-r--r-- | libavcodec/ps2/idct_mmi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/ps2/idct_mmi.c b/libavcodec/ps2/idct_mmi.c index 2ba2ad02d2..d886479612 100644 --- a/libavcodec/ps2/idct_mmi.c +++ b/libavcodec/ps2/idct_mmi.c @@ -257,7 +257,7 @@ static short consttable[] align16 = { pmaxh($2, $0, $2); \ ppacb($0, $2, $2); \ sd3(2, 0, 4); \ - __asm__ __volatile__ ("add $4, $5, $4"); + asm volatile ("add $4, $5, $4"); #define DCT_8_INV_COL8_PUT() \ PUT($16); \ @@ -277,7 +277,7 @@ static short consttable[] align16 = { pmaxh($2, $0, $2); \ ppacb($0, $2, $2); \ sd3(2, 0, 4); \ - __asm__ __volatile__ ("add $4, $5, $4"); + asm volatile ("add $4, $5, $4"); /*fixme: schedule*/ #define DCT_8_INV_COL8_ADD() \ @@ -294,7 +294,7 @@ static short consttable[] align16 = { void ff_mmi_idct(int16_t * block) { /* $4 = block */ - __asm__ __volatile__("la $24, %0"::"m"(consttable[0])); + asm volatile("la $24, %0"::"m"(consttable[0])); lq($24, ROUNDER_0, $8); lq($24, ROUNDER_1, $7); DCT_8_INV_ROW1($4, 0, TAB_i_04, $8, $8); @@ -309,14 +309,14 @@ void ff_mmi_idct(int16_t * block) DCT_8_INV_COL8_STORE($4); //let savedtemp regs be saved - __asm__ __volatile__(" ":::"$16", "$17", "$18", "$19", "$20", "$21", "$22", "$23"); + asm volatile(" ":::"$16", "$17", "$18", "$19", "$20", "$21", "$22", "$23"); } void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block) { /* $4 = dest, $5 = line_size, $6 = block */ - __asm__ __volatile__("la $24, %0"::"m"(consttable[0])); + asm volatile("la $24, %0"::"m"(consttable[0])); lq($24, ROUNDER_0, $8); lq($24, ROUNDER_1, $7); DCT_8_INV_ROW1($6, 0, TAB_i_04, $8, $8); @@ -333,14 +333,14 @@ void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block) DCT_8_INV_COL8_PUT(); //let savedtemp regs be saved - __asm__ __volatile__(" ":::"$16", "$17", "$18", "$19", "$20", "$21", "$22", "$23"); + asm volatile(" ":::"$16", "$17", "$18", "$19", "$20", "$21", "$22", "$23"); } void ff_mmi_idct_add(uint8_t *dest, int line_size, DCTELEM *block) { /* $4 = dest, $5 = line_size, $6 = block */ - __asm__ __volatile__("la $24, %0"::"m"(consttable[0])); + asm volatile("la $24, %0"::"m"(consttable[0])); lq($24, ROUNDER_0, $8); lq($24, ROUNDER_1, $7); DCT_8_INV_ROW1($6, 0, TAB_i_04, $8, $8); @@ -357,6 +357,6 @@ void ff_mmi_idct_add(uint8_t *dest, int line_size, DCTELEM *block) DCT_8_INV_COL8_ADD(); //let savedtemp regs be saved - __asm__ __volatile__(" ":::"$16", "$17", "$18", "$19", "$20", "$21", "$22", "$23"); + asm volatile(" ":::"$16", "$17", "$18", "$19", "$20", "$21", "$22", "$23"); } |