MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / fpu_test

Function fpu_test

src/fpp.cpp:3662–3672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3660#if FPU_TEST
3661
3662static void fpu_test(void)
3663{
3664 fpdata testp;
3665 uae_u32 packed[3];
3666
3667 fpp_set_fpcr(0x30);
3668 fpp_to_exten_fmovem(&testp, 0xB4000000, 0x80000000, 0x000003fc);
3669 write_log(_T("INPUT: %s (%04x %16llx)\n"), fpp_print(&testp, -1), testp.fpx.high, testp.fpx.low);
3670 fpp_from_pack(&testp, packed, 17);
3671 fpp_to_pack(&testp, packed, 0);
3672}
3673
3674#endif
3675

Callers 1

fpu_resetFunction · 0.85

Calls 2

fpp_set_fpcrFunction · 0.85
write_logFunction · 0.70

Tested by

no test coverage detected