Revision aab34ca0 libavcodec/ppc/dsputil_ppc.c

View differences:

libavcodec/ppc/dsputil_ppc.c
69 69
void powerpc_display_perf_report(void)
70 70
{
71 71
  int i, j;
72
  fprintf(stderr, "PowerPC performance report\n Values are from the PMC registers, and represent whatever the registers are set to record.\n");
72
  av_log(NULL, AV_LOG_INFO, "PowerPC performance report\n Values are from the PMC registers, and represent whatever the registers are set to record.\n");
73 73
  for(i = 0 ; i < powerpc_perf_total ; i++)
74 74
  {
75 75
    for (j = 0; j < POWERPC_NUM_PMC_ENABLED ; j++)
76 76
      {
77 77
	if (perfdata[j][i][powerpc_data_num] != (unsigned long long)0)
78
	  fprintf(stderr,
78
	  av_log(NULL, AV_LOG_INFO,
79 79
		  " Function \"%s\" (pmc%d):\n\tmin: %llu\n\tmax: %llu\n\tavg: %1.2lf (%llu)\n",
80 80
		  perfname[i],
81 81
		  j+1,
......
129 129
      i += 16;
130 130
    }
131 131
    for ( ; i < sizeof(DCTELEM)*6*64 ; i += 32) {
132
#ifndef __MWERKS__
132 133
      asm volatile("dcbz %0,%1" : : "b" (blocks), "r" (i) : "memory");
134
#else
135
      __dcbz( blocks, i );
136
#endif
133 137
    }
134 138
    if (misal) {
135 139
      ((unsigned long*)blocks)[188] = 0L;

Also available in: Unified diff