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

Function get_features

src/fpp.cpp:3600–3615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3598}
3599
3600static void get_features(void)
3601{
3602 support_exceptions = (fpp_get_support_flags() & FPU_FEATURE_EXCEPTIONS) != 0;
3603 support_denormals = (fpp_get_support_flags() & FPU_FEATURE_DENORMALS) != 0;
3604 if (currprefs.fpu_model == 68040 || currprefs.fpu_model == 68060) {
3605 condition_table = condition_table_040_060;
3606 } else {
3607 condition_table = condition_table_6888x;
3608 }
3609 fpsr_mask = 0x0ffffff8;
3610 if (currprefs.fpu_model == 68040) {
3611 fpcr_mask = 0xffff;
3612 } else {
3613 fpcr_mask = 0xfff0;
3614 }
3615}
3616
3617void fpu_clearstatus(void)
3618{

Callers 2

fpu_modechangeFunction · 0.85
fpu_resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected