Implement remaining float comparisons in the op table, ordered/unordered and signaling/non-signaling still unimplemented

This commit is contained in:
Thar0 2025-06-07 00:24:21 +01:00
parent 989a86b369
commit b382f9e67b
2 changed files with 41 additions and 25 deletions

View file

@ -748,6 +748,10 @@ void N64Recomp::LiveGenerator::process_binary_op(const BinaryOp& op, const Instr
case BinaryOpType::LessEqDouble:
do_float_compare_op(SLJIT_F_LESS_EQUAL, SLJIT_SET_F_LESS_EQUAL, true);
break;
case BinaryOpType::False:
// Load 0 into condition destination
sljit_emit_op1(compiler, SLJIT_MOV, dst, dstw, SLJIT_IMM, 0);
break;
// Loads
case BinaryOpType::LD: