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

Function fpr_u32l_to_string

src/cgenerator.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96static std::string fpr_u32l_to_string(int fpr_index) {
97 if (fpr_index & 1) {
98 return fmt::format("ctx->f_odd[({} - 1) * 2]", fpr_index);
99 }
100 else {
101 return fmt::format("ctx->f{}.u32l", fpr_index);
102 }
103}
104
105static std::string fpr_u64_to_string(int fpr_index) {
106 return fmt::format("ctx->f{}.u64", fpr_index);

Callers 1

get_operand_stringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected