diff options
| author | 2025-12-07 12:32:51 +0100 | |
|---|---|---|
| committer | 2025-12-07 12:32:51 +0100 | |
| commit | 66a58cee57b5b3025d441d84e9e0b1df2885118e (patch) | |
| tree | a78b9e4c20f523ca2e179ff42f6b72452624c2c3 | |
| parent | 4d4e61e82cd693d2800bf409c8e3dde1ac2b75a5 (diff) | |
amd64: fix wrong condition code being used for float gth
ughh
| -rw-r--r-- | amd64/emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/emit.c b/amd64/emit.c index 95055da..e188782 100644 --- a/amd64/emit.c +++ b/amd64/emit.c @@ -948,7 +948,7 @@ static const uchar icmpop2cc[] = { [Oand] = CCNE, [Osub] = CCNE, }, fcmpop2cc[] = { [Oequ] = CCE, [Oneq] = CCNE, - [Olth] = CCB, [Ogth] = CCAE, [Olte] = CCBE, [Ogte] = CCAE, + [Olth] = CCB, [Ogth] = CCA, [Olte] = CCBE, [Ogte] = CCAE, }; /* condition code for TEST reg,reg (compare with zero) */ static const uchar icmpzero2cc[] = { |