Skip to content

Commit

Permalink
#42: aboba
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Nov 1, 2023
1 parent 1d6bf7b commit 3eeabc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChaiVM/interpreter/executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ void Executor::cmpgf(Instruction ins) {
regFile_.acc() =
(acc_f64 < r1_f64 || acc_f64 != acc_f64 || r1_f64 != r1_f64
? static_cast<chsize_t>(-1)
: static_cast<chsize_t>(regFile_.acc() != regFile_[ins.r1]));
: static_cast<chsize_t>(acc_f64 != r1_f64));
advancePc();
DO_NEXT_INS()
}
Expand Down

0 comments on commit 3eeabc1

Please sign in to comment.