comparison ppc/dsputil_ppc.c @ 5744:88dc8b291b54 libavcodec

Remove Metrowerks compiler workaround.
author diego
date Mon, 01 Oct 2007 14:10:49 +0000
parents d5ba514e3f4a
children 784dcbdc910f
comparison
equal deleted inserted replaced
5743:8ce32ae71c01 5744:88dc8b291b54
153 ((unsigned long*)blocks)[2] = 0L; 153 ((unsigned long*)blocks)[2] = 0L;
154 ((unsigned long*)blocks)[3] = 0L; 154 ((unsigned long*)blocks)[3] = 0L;
155 i += 16; 155 i += 16;
156 } 156 }
157 for ( ; i < sizeof(DCTELEM)*6*64-31 ; i += 32) { 157 for ( ; i < sizeof(DCTELEM)*6*64-31 ; i += 32) {
158 #ifndef __MWERKS__
159 asm volatile("dcbz %0,%1" : : "b" (blocks), "r" (i) : "memory"); 158 asm volatile("dcbz %0,%1" : : "b" (blocks), "r" (i) : "memory");
160 #else
161 __dcbz( blocks, i );
162 #endif
163 } 159 }
164 if (misal) { 160 if (misal) {
165 ((unsigned long*)blocks)[188] = 0L; 161 ((unsigned long*)blocks)[188] = 0L;
166 ((unsigned long*)blocks)[189] = 0L; 162 ((unsigned long*)blocks)[189] = 0L;
167 ((unsigned long*)blocks)[190] = 0L; 163 ((unsigned long*)blocks)[190] = 0L;