13 #if defined(__i386__) || (defined __x86_64__) 14 asm(
"\txor %%ecx,%%ecx\n" 15 "\tmov $500000,%%ecx\n" 28 :
"cc",
"%ecx",
"%eax" 32 #elif defined(__arm__) 34 asm(
"\teor r3,r3,r3\n" 55 #elif defined(__aarch64__) 56 asm(
"\teor x3,x3,x3\n" 77 #elif defined(__powerpc__) 82 "\taddi 3,3,500000@l\n" 114 for(j=0;j<number;j++) {
116 if (( ((random()>>2)^(random()>>4)) %1000)>500)
goto label_false;
127 if (!
quiet) printf(
"%lf\n",junk2);
int random_branches_testcode(int number, int quiet)
int branches_testcode(void)