aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-12-26 16:22:11 +0900
committerMITSUNARI Shigeo <[email protected]>2023-12-26 16:22:11 +0900
commit523cf1ed04bcf97794d8796fab8527e28b07e86f (patch)
treede7448379fce1d3323feffb7809ad19db94a4e98 /sample
parent5438fc69dbc0ee92a1536e4f8572c45070390df9 (diff)
downloadxbyak-523cf1ed04bcf97794d8796fab8527e28b07e86f.tar.gz
xbyak-523cf1ed04bcf97794d8796fab8527e28b07e86f.zip
fix comment of sample/ccmp.cpp
Diffstat (limited to 'sample')
-rw-r--r--sample/ccmp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/ccmp.cpp b/sample/ccmp.cpp
index 622d3d1..ff75796 100644
--- a/sample/ccmp.cpp
+++ b/sample/ccmp.cpp
@@ -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);
}
};