Mercurial > libavcodec.hg
comparison libpostproc/postprocess.c @ 149:3fc494e92f0d libavcodec
gcc does optimize writes to non volatile variables away if it didnt know that they were read in between
| author | michael |
|---|---|
| date | Tue, 06 Nov 2001 19:26:22 +0000 |
| parents | 1cfc4d567c0a |
| children | 668dda5ef46d |
comparison
equal
deleted
inserted
replaced
| 148:1cfc4d567c0a | 149:3fc494e92f0d |
|---|---|
| 114 | 114 |
| 115 #define GET_MODE_BUFFER_SIZE 500 | 115 #define GET_MODE_BUFFER_SIZE 500 |
| 116 #define OPTIONS_ARRAY_SIZE 10 | 116 #define OPTIONS_ARRAY_SIZE 10 |
| 117 | 117 |
| 118 #ifdef HAVE_MMX | 118 #ifdef HAVE_MMX |
| 119 static uint64_t __attribute__((aligned(8))) packedYOffset= 0x0000000000000000LL; | 119 static volatile uint64_t __attribute__((aligned(8))) packedYOffset= 0x0000000000000000LL; |
| 120 static uint64_t __attribute__((aligned(8))) packedYScale= 0x0100010001000100LL; | 120 static volatile uint64_t __attribute__((aligned(8))) packedYScale= 0x0100010001000100LL; |
| 121 static uint64_t __attribute__((aligned(8))) w05= 0x0005000500050005LL; | 121 static uint64_t __attribute__((aligned(8))) w05= 0x0005000500050005LL; |
| 122 static uint64_t __attribute__((aligned(8))) w20= 0x0020002000200020LL; | 122 static uint64_t __attribute__((aligned(8))) w20= 0x0020002000200020LL; |
| 123 static uint64_t __attribute__((aligned(8))) w1400= 0x1400140014001400LL; | 123 static uint64_t __attribute__((aligned(8))) w1400= 0x1400140014001400LL; |
| 124 static uint64_t __attribute__((aligned(8))) bm00000001= 0x00000000000000FFLL; | 124 static uint64_t __attribute__((aligned(8))) bm00000001= 0x00000000000000FFLL; |
| 125 static uint64_t __attribute__((aligned(8))) bm00010000= 0x000000FF00000000LL; | 125 static uint64_t __attribute__((aligned(8))) bm00010000= 0x000000FF00000000LL; |
