From bce458608deebeefba0a6281ee94f570cbb674ad Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 6 Nov 2025 18:13:01 +0100 Subject: amd64: errata with unsigned greater than or equal (should be JAE) --- amd64/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amd64') 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) */ -- cgit v1.2.3