long check_dcbzl_effect(void)

{

  register char *fakedata = (char*)av_malloc(1024);

  register char *fakedata_middle;

  register long zero = 0;

  register long i = 0;

  long count = 0;



  if (!fakedata)

  {

    return 0L;

  }



  fakedata_middle = (fakedata + 512);



  memset(fakedata, 0xFF, 1024);



  /* below the constraint "b" seems to mean "Address base register"

     in gcc-3.3 / RS/6000 speaks. seems to avoid using r0, so.... */

  asm volatile("dcbzl %0, %1" : : "b" (fakedata_middle), "r" (zero));



  for (i = 0; i < 1024 ; i ++)

  {

    if (fakedata[i] == (char)0)

      count++;

  }



  av_free(fakedata);



  return count;

}

long check_dcbzl_effect(void)

{

  register char *fakedata = (char*)av_malloc(1024);

  register char *fakedata_middle;

  register long zero = 0;

  register long i = 0;

  long count = 0;



  if (!fakedata)

  {

    return 0L;

  }



  fakedata_middle = (fakedata + 512);



  memset(fakedata, 0xFF, 1024);



  



  asm volatile("dcbzl %0, %1" : : "b" (fakedata_middle), "r" (zero));



  for (i = 0; i < 1024 ; i ++)

  {

    if (fakedata[i] == (char)0)

      count++;

  }



  av_free(fakedata);



  return count;

}

long FUNC_0(void)

{

  register char *VAR_0 = (char*)av_malloc(1024);

  register char *VAR_1;

  register long VAR_2 = 0;

  register long VAR_3 = 0;

  long VAR_4 = 0;



  if (!VAR_0)

  {

    return 0L;

  }



  VAR_1 = (VAR_0 + 512);



  memset(VAR_0, 0xFF, 1024);



  



  asm volatile("dcbzl %0, %1" : : "b" (VAR_1), "r" (VAR_2));



  for (VAR_3 = 0; VAR_3 < 1024 ; VAR_3 ++)

  {

    if (VAR_0[VAR_3] == (char)0)

      VAR_4++;

  }



  av_free(VAR_0);



  return VAR_4;

}

long FUNC_0(void)
{ register char *VAR_0 = (char*)av_malloc(1024); register char *VAR_1; register long VAR_2 = 0; register long VAR_3 = 0; long VAR_4 = 0; if (!VAR_0)
{ return 0L; } VAR_1 = (VAR_0 + 512); memset(VAR_0, 0xFF, 1024); asm volatile("dcbzl %0, %1" : : "b" (VAR_1), "r" (VAR_2)); for (VAR_3 = 0; VAR_3 < 1024 ; VAR_3 ++) { if (VAR_0[VAR_3] == (char)0)
VAR_4++; } av_free(VAR_0); return VAR_4; }