Lines Matching refs:printf

190     printf("lea %s = " FMTLX "\n", STR, res);\
198 printf("lea %s = " FMTLX "\n", STR, res);\
206 printf("lea %s = %08lx\n", STR, res);\
359 printf("%-10s %d\n", "j" JCC, res);\
366 printf("%-10s %d\n", "set" JCC, res);\
375 printf("%-10s R=" FMTLX "\n", "cmov" JCC "q", res);)\
380 printf("%-10s R=" FMTLX "\n", "cmov" JCC "l", res);\
385 printf("%-10s R=" FMTLX "\n", "cmov" JCC "w", res);\
464 printf("%-10s ECX=" FMTLX " ZF=%ld r=%d\n", insn, ecx, zf, res); \
524 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CC=%04lx\n", in test_imulw2()
542 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CC=%04lx\n", in test_imull2()
561 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CC=%04lx\n", in test_imulq2()
579 printf("%-10s A=" FMTLX " B=" FMTLX " R=" FMTLX " CC=%04lx\n",\
715 printf("%-10s A=" FMTLX " R=" FMTLX " %ld\n", #op, val, res, resz);\
772 printf("a=%f b=%f a+b=%f\n", a, b, a + b); in test_fops()
773 printf("a=%f b=%f a-b=%f\n", a, b, a - b); in test_fops()
774 printf("a=%f b=%f a*b=%f\n", a, b, a * b); in test_fops()
775 printf("a=%f b=%f a/b=%f\n", a, b, a / b); in test_fops()
776 printf("a=%f b=%f fmod(a, b)=%f\n", a, b, fmod(a, b)); in test_fops()
777 printf("a=%f sqrt(a)=%f\n", a, sqrt(a)); in test_fops()
778 printf("a=%f sin(a)=%f\n", a, sin(a)); in test_fops()
779 printf("a=%f cos(a)=%f\n", a, cos(a)); in test_fops()
780 printf("a=%f tan(a)=%f\n", a, tan(a)); in test_fops()
781 printf("a=%f log(a)=%f\n", a, log(a)); in test_fops()
782 printf("a=%f exp(a)=%f\n", a, exp(a)); in test_fops()
783 printf("a=%f b=%f atan2(a, b)=%f\n", a, b, atan2(a, b)); in test_fops()
785 printf("a=%f asin(sin(a))=%f\n", a, asin(sin(a))); in test_fops()
786 printf("a=%f acos(cos(a))=%f\n", a, acos(cos(a))); in test_fops()
787 printf("a=%f atan(tan(a))=%f\n", a, atan(tan(a))); in test_fops()
822 printf("fcom(%f %f)=%04lx\n", in test_fcmp()
829 printf("fucom(%f %f)=%04lx\n", in test_fcmp()
840 printf("fcomi(%f %f)=%04lx %02lx\n", in test_fcmp()
849 printf("fucomi(%f %f)=%04lx %02lx\n", in test_fcmp()
857 printf("fxam(%f)=%04lx\n", a, fpus & 0x4700); in test_fcmp()
874 printf("(float)%f = %f\n", a, fa); in test_fcvt()
875 printf("(long double)%f = %Lf\n", a, la); in test_fcvt()
876 printf("a=" FMT64X "\n", *(uint64_t *)&a); in test_fcvt()
877 printf("la=" FMT64X " %04x\n", *(uint64_t *)&la, in test_fcvt()
891 printf("(short)a = %d\n", wa); in test_fcvt()
892 printf("(int)a = %d\n", ia); in test_fcvt()
893 printf("(int64_t)a = " FMT64X "\n", lla); in test_fcvt()
894 printf("rint(a) = %f\n", ra); in test_fcvt()
900 printf("fld" #N "= %f\n", a);
921 printf("a=%f bcd=%04x%04x%04x%04x%04x b=%f\n", in test_fbcd()
935 printf("res[%d]=%f\n", i, rtab[i]);\
936 printf("fpuc=%04x fpus=%04x fptag=%04x\n",\
979 printf("fptag=%04x\n", float_env32.fptag); in test_fenv()
991 printf("fcmov%s eflags=0x%04lx-> %f\n", \
1065 printf("%-10s A=%08x R=%08x CCIN=%04x CC=%04x\n",\
1130 printf("%-10s A=" FMTLX " B=" FMTLX "\n",\
1143 printf("%-10s EAX=" FMTLX " A=" FMTLX " C=" FMTLX "\n",\
1174 printf("xaddl same res=%08x\n", res); in test_xchg()
1231 printf("cmpxchg8b: eax=" FMTLX " edx=" FMTLX " op1=" FMT64X " CC=%02lx\n", in test_xchg()
1271 printf(op ": Z=%d %08x\n", res2, res & ~(mask));\
1285 printf(op size " A=" FMTLX " B=" FMTLX " R=" FMTLX " z=%ld\n",\
1328 printf("%d: %016Lx\n", i, ldt_table[i]); in test_segs()
1338 printf("FS[1] = %02x\n", res); in test_segs()
1346 printf("GS[1] = %02x\n", res); in test_segs()
1360 printf("DS[1] = %02x\n", res); in test_segs()
1361 printf("SS[tmp] = %02x\n", res2); in test_segs()
1369 printf("FS:reg = %04x:%08x\n", res2, res); in test_segs()
1413 printf("func1() = 0x%08x\n", res); in test_code16()
1417 printf("func2() = 0x%08x spdec=%d\n", res, res2); in test_code16()
1421 printf("func3() = 0x%08x\n", res); in test_code16()
1453 printf("xlat: EAX=" FMTLX "\n", res); in test_misc()
1473 printf("func_lret=" FMTLX "\n", res); in test_misc()
1483 printf("func_lret2=" FMTLX "\n", res); in test_misc()
1493 printf("func_lret3=" FMTLX "\n", res); in test_misc()
1500 printf("func_lret=" FMTLX "\n", res); in test_misc()
1505 printf("func_iret=" FMTLX "\n", res); in test_misc()
1512 printf("popl esp=" FMTLX "\n", res); in test_misc()
1517 printf("popl esp=" FMTLX "\n", res); in test_misc()
1522 printf("popw esp=" FMTLX "\n", res); in test_misc()
1546 printf("%-10s ESI=" FMTLX " EDI=" FMTLX " EAX=" FMTLX " ECX=" FMTLX " EFL=%04x\n",\
1624 printf("ERROR: could not map vm86 memory"); in test_vm86()
1688 printf("%08x\n", v); in test_vm86()
1692 printf("unsupported int 0x%02x\n", int_num); in test_vm86()
1703 printf("ERROR: unhandled vm86 return code (0x%x)\n", ret); in test_vm86()
1708 printf("VM86 end\n"); in test_vm86()
1741 printf("si_signo=%d si_errno=%d si_code=%d", in sig_handler()
1743 printf(" si_addr=0x%08lx", in sig_handler()
1745 printf("\n"); in sig_handler()
1747 printf("trapno=" FMTLX " err=" FMTLX, in sig_handler()
1750 printf(" EIP=" FMTLX, (long)uc->uc_mcontext.gregs[REG_EIP]); in sig_handler()
1751 printf("\n"); in sig_handler()
1770 printf("DIVZ exception:\n"); in test_exceptions()
1778 printf("BOUND exception:\n"); in test_exceptions()
1788 printf("segment exceptions:\n"); in test_exceptions()
1821 printf("PF exception:\n"); in test_exceptions()
1831 printf("PF exception:\n"); in test_exceptions()
1839 printf("UD2 exception:\n"); in test_exceptions()
1844 printf("lock nop exception:\n"); in test_exceptions()
1850 printf("INT exception:\n"); in test_exceptions()
1867 printf("INT3 exception:\n"); in test_exceptions()
1872 printf("CLI exception:\n"); in test_exceptions()
1877 printf("STI exception:\n"); in test_exceptions()
1883 printf("INTO exception:\n"); in test_exceptions()
1890 printf("OUTB exception:\n"); in test_exceptions()
1895 printf("INB exception:\n"); in test_exceptions()
1900 printf("REP OUTSB exception:\n"); in test_exceptions()
1905 printf("REP INSB exception:\n"); in test_exceptions()
1910 printf("HLT exception:\n"); in test_exceptions()
1915 printf("single step exception:\n"); in test_exceptions()
1924 printf("val=0x%x\n", val); in test_exceptions()
1932 printf("EIP=" FMTLX "\n", (long)uc->uc_mcontext.gregs[REG_EIP]); in sig_trap_handler()
2007 printf("val=%d\n", val); in test_single_step()
2009 printf("sstep_buf2[%d] = %d\n", i, sstep_buf2[i]); in test_single_step()
2041 printf("self modifying code:\n"); in test_self_modifying_code()
2042 printf("func1 = 0x%x\n", ((FuncType *)code)()); in test_self_modifying_code()
2045 printf("func%d = 0x%x\n", i, ((FuncType *)code)()); in test_self_modifying_code()
2052 printf("smc_code2(%d) = %d\n", i, smc_code2(i)); in test_self_modifying_code()
2096 printf("level=%d:\n", level);\
2097 printf("esp_val=" FMTLX "\n", esp_val - (long)stack_end);\
2098 printf("ebp_val=" FMTLX "\n", ebp_val - (long)stack_end);\
2100 printf(FMTLX "\n", (long)ptr[0]);\
2130 printf("%-10s A=" FMTLX " R=" FMTLX "\n", #op, a, r);\
2141 printf("%-10s A=" FMTLX " R=" FMTLX ":" FMTLX "\n", #op, a, r, rh); \
2162 printf("%-10s: A=" FMTLX " R=" FMTLX "\n", "bswapl", a, r); in test_conv()
2169 printf("%-10s: A=" FMTLX " R=" FMTLX "\n", "bswapq", a, r); in test_conv()