MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / emit_check_nan

Method emit_check_nan

src/cgenerator.cpp:492–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492void N64Recomp::CGenerator::emit_check_nan(int fpr, bool is_double) const {
493 fmt::print(output_file, "NAN_CHECK(ctx->f{}.{}); ", fpr, is_double ? "d" : "fl");
494}
495
496void N64Recomp::CGenerator::emit_cop0_status_read(int reg) const {
497 fmt::print(output_file, "{} = cop0_status_read(ctx);\n", gpr_to_string(reg));

Callers 1

process_instructionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected