Mercurial > mplayer.hg
comparison mp3lib/decode_mmx.c @ 27757:b5a46071062a
Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.
author | diego |
---|---|
date | Thu, 16 Oct 2008 20:17:56 +0000 |
parents | 08d18fe9da52 |
children | 79d82aac91a3 |
comparison
equal
deleted
inserted
replaced
27756:1266470a5651 | 27757:b5a46071062a |
---|---|
215 } | 215 } |
216 | 216 |
217 dct64_MMX_func(a, b, bandPtr); | 217 dct64_MMX_func(a, b, bandPtr); |
218 window = mp3lib_decwins + 16 - bo1; | 218 window = mp3lib_decwins + 16 - bo1; |
219 //printf("DEBUG: channel %d, bo %d, off %d\n", channel, bo, 16 - bo1); | 219 //printf("DEBUG: channel %d, bo %d, off %d\n", channel, bo, 16 - bo1); |
220 __asm__ __volatile( | 220 __asm__ volatile( |
221 ASMALIGN(4) | 221 ASMALIGN(4) |
222 ".L03:\n\t" | 222 ".L03:\n\t" |
223 "movq (%1),%%mm0\n\t" | 223 "movq (%1),%%mm0\n\t" |
224 "movq 64(%1),%%mm4\n\t" | 224 "movq 64(%1),%%mm4\n\t" |
225 "pmaddwd (%2),%%mm0\n\t" | 225 "pmaddwd (%2),%%mm0\n\t" |