aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64/emit.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-06 18:13:01 +0100
committerlemon <lsof@mailbox.org>2025-11-06 18:13:01 +0100
commitbce458608deebeefba0a6281ee94f570cbb674ad (patch)
treede99add4cc4417228204e1516514217c9acd8c52 /amd64/emit.c
parentca73a7eef5ca52a0c95d500d9498a714bba12b02 (diff)
amd64: errata with unsigned greater than or equal (should be JAE)
Diffstat (limited to 'amd64/emit.c')
-rw-r--r--amd64/emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/emit.c b/amd64/emit.c
index f8a0010..aa041c3 100644
--- a/amd64/emit.c
+++ b/amd64/emit.c
@@ -888,7 +888,7 @@ gencopy(uchar **pcode, enum irclass cls, struct block *blk, int curi, struct ope
static const uchar icmpop2cc[] = {
[Oequ] = CCE, [Oneq] = CCNE,
[Olth] = CCL, [Ogth] = CCG, [Olte] = CCLE, [Ogte] = CCGE,
- [Oulth] = CCB, [Ougth] = CCA, [Oulte] = CCBE, [Ougte] = CCGE,
+ [Oulth] = CCB, [Ougth] = CCA, [Oulte] = CCBE, [Ougte] = CCAE,
[Oand] = CCNE, [Osub] = CCNE,
};
/* condition code for TEST reg,reg (compare with zero) */