mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
[a64 Fix floating-point BRANCH_FALSE
This commit is contained in:
+2
-2
@@ -528,7 +528,7 @@ struct BRANCH_FALSE_F32
|
||||
oaknut::Label* label = e.lookup_label(i.src2.value->name);
|
||||
assert_not_null(label);
|
||||
e.FCMP(i.src1, 0);
|
||||
e.B(Cond::NE, *label);
|
||||
e.B(Cond::EQ, *label);
|
||||
}
|
||||
};
|
||||
struct BRANCH_FALSE_F64
|
||||
@@ -538,7 +538,7 @@ struct BRANCH_FALSE_F64
|
||||
oaknut::Label* label = e.lookup_label(i.src2.value->name);
|
||||
assert_not_null(label);
|
||||
e.FCMP(i.src1, 0);
|
||||
e.B(Cond::NE, *label);
|
||||
e.B(Cond::EQ, *label);
|
||||
}
|
||||
};
|
||||
EMITTER_OPCODE_TABLE(OPCODE_BRANCH_FALSE, BRANCH_FALSE_I8, BRANCH_FALSE_I16,
|
||||
|
||||
Reference in New Issue
Block a user