summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sux.h b/sux.h
index c532c6e..6d4d283 100644
--- a/sux.h
+++ b/sux.h
@@ -856,6 +856,7 @@ static /*inline*/ uint64_t mov(struct sux *cpu, uint64_t src, uint64_t size, uin
}
static /*inline*/ uint64_t set(struct sux *cpu, uint8_t flag, uint8_t thread) {
+ setflag(flag == 0, Z);
return (flag != 0);
}