mirror of
git://c9x.me/qbe.git
synced 2026-05-26 15:34:41 +00:00
arm64: fix unordered fp comparisons
This commit is contained in:
parent
dba8d5a4bf
commit
0454fa259b
@ -660,7 +660,7 @@ arm64_emitfn(Fn *fn, FILE *out)
|
||||
c = b->jmp.type - Jjf;
|
||||
if (c < 0 || c > NCmp)
|
||||
die("unhandled jump %d", b->jmp.type);
|
||||
if (b->link == b->s2) {
|
||||
if (b->link == b->s2 || c >= NCmpI) {
|
||||
t = b->s1;
|
||||
b->s1 = b->s2;
|
||||
b->s2 = t;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user