Skip to content

Commit

Permalink
fix comment of sample/ccmp.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Dec 26, 2023
1 parent 5438fc6 commit 523cf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/ccmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct Code1 : Xbyak::CodeGenerator {
const auto& p2 = sf.p[1];
int dfv = 0;
cmp(p1, 3);
ctesta(p2, 1, dfv); // eflags = (p1 > 3) ? (p2 & 1) : dfv;
ctesta(p2, 1, dfv); // eflags = (p1 > 3) ? ((p2 & 1) == 0) : dfv;
setz(al|T_zu);
}
};
Expand Down

0 comments on commit 523cf1e

Please sign in to comment.