diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-10-27 15:45:10 +0100 |
---|---|---|
committer | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-11-03 17:01:16 +0100 |
commit | 9d18b750c25350ab2e50bcef40231033cdbc29d6 (patch) | |
tree | 149914dce4a8061812cd82fb40f41a9886f60516 /rts/win32/AsyncIO.c | |
parent | d858a3aebee5adc447556b668b65b6e46370d8c0 (diff) | |
download | haskell-wip/andreask/32bit_cmp_fix.tar.gz |
NCG: Fix 64bit int comparisons on 32bit x86wip/andreask/32bit_cmp_fix
We no compare these by doing 64bit subtraction and
checking the resulting flags.
We used to do this differently but the old approach was
broken when the high bits compared equal and the comparison
was one of >= or <=.
The new approach should be both correct and faster.
Diffstat (limited to 'rts/win32/AsyncIO.c')
0 files changed, 0 insertions, 0 deletions