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

Class ConditionalBranchOp

include/recompiler/operations.h:196–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 };
195
196 struct ConditionalBranchOp {
197 // The type of binary operation to use for this compare
198 BinaryOpType comparison;
199 // The input operands.
200 BinaryOperands operands;
201 // Whether this jump should link for returns.
202 bool link;
203 // Whether this jump has "likely" behavior (doesn't execute the delay slot if skipped).
204 bool likely;
205 };
206
207 extern const std::unordered_map<InstrId, UnaryOp> unary_ops;
208 extern const std::unordered_map<InstrId, BinaryOp> binary_ops;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected