diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-11 03:50:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-11 04:04:29 +0200 |
commit | dd0a9b78db0eeea72183bd3f5bc5fe51a5d3f537 (patch) | |
tree | a18603cfcdb1ce0dd73da23a3a65d4b78b3a9f5b /libavcodec/mips/mpegaudiodsp_mips_fixed.c | |
parent | b8a90976da8a61bcf34fcfc4e785914fdb23844b (diff) | |
download | ffmpeg-dd0a9b78db0eeea72183bd3f5bc5fe51a5d3f537.tar.gz |
replace all __volatile__ by volatile
__volatile__ can cause problems with some compilers and volatile is a standard keyword.
Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mips/mpegaudiodsp_mips_fixed.c')
-rw-r--r-- | libavcodec/mips/mpegaudiodsp_mips_fixed.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/mips/mpegaudiodsp_mips_fixed.c b/libavcodec/mips/mpegaudiodsp_mips_fixed.c index 259fb856bb..d1b02775d4 100644 --- a/libavcodec/mips/mpegaudiodsp_mips_fixed.c +++ b/libavcodec/mips/mpegaudiodsp_mips_fixed.c @@ -84,7 +84,7 @@ static void ff_mpadsp_apply_window_mips_fixed(int32_t *synth_buf, int32_t *windo * use of round_sample function from the original code is eliminated, * changed with appropriate assembly instructions. */ - __asm__ __volatile__ ( + __asm__ volatile ( "mthi $zero \n\t" "mtlo %[temp1] \n\t" "lw %[w_asm], 0(%[w]) \n\t" @@ -175,7 +175,7 @@ static void ff_mpadsp_apply_window_mips_fixed(int32_t *synth_buf, int32_t *windo access per two sample */ for(j = 1; j < 16; j++) { - __asm__ __volatile__ ( + __asm__ volatile ( "mthi $0, $ac1 \n\t" "mtlo $0, $ac1 \n\t" "mthi $0 \n\t" @@ -299,7 +299,7 @@ static void ff_mpadsp_apply_window_mips_fixed(int32_t *synth_buf, int32_t *windo p = synth_buf + 32; - __asm__ __volatile__ ( + __asm__ volatile ( "mthi $0 \n\t" "mtlo %[temp1] \n\t" "lw %[w_asm], 32*4(%[w]) \n\t" @@ -372,7 +372,7 @@ static void imdct36_mips_fixed(int *out, int *buf, int *in, int *win) * in order to eliminate unnecessary readings and writings in array */ - __asm__ __volatile__ ( + __asm__ volatile ( "lw %[t1], 17*4(%[in]) \n\t" "lw %[t2], 16*4(%[in]) \n\t" "lw %[t3], 15*4(%[in]) \n\t" @@ -469,7 +469,7 @@ static void imdct36_mips_fixed(int *out, int *buf, int *in, int *win) * "sub %[t0], %[temp_reg1],%[t0] \n\t" */ - __asm__ __volatile__ ( + __asm__ volatile ( "lw %[t7], 4*4(%[in1]) \n\t" "lw %[t8], 8*4(%[in1]) \n\t" "lw %[t6], 16*4(%[in1]) \n\t" @@ -585,7 +585,7 @@ static void imdct36_mips_fixed(int *out, int *buf, int *in, int *win) * */ - __asm__ __volatile__ ( + __asm__ volatile ( "lw %[t2], 1*4(%[tmp]) \n\t" "lw %[t3], 3*4(%[tmp]) \n\t" "lw %[t0], 0*4(%[tmp]) \n\t" |