mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 598486 - nanojit: clarify semantics of comparisons. r=edwsmith.
--HG-- extra : convert_revision : 2c8245cb9048cc79ca561ec7a7b014249788247c
This commit is contained in:
parent
a9ecc87093
commit
7d32b0e525
@ -209,7 +209,9 @@ OP_UN(52)
|
||||
// Comparisons
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
// Within each size group, order must be preserved so that, except for eq*, (op
|
||||
// All comparisons return an int: 0 on failure and 1 on success.
|
||||
//
|
||||
// Within each type group, order must be preserved so that, except for eq*, (op
|
||||
// ^ 1) gives the opposite one (eg. lt ^ 1 == gt). eq* must have odd numbers
|
||||
// for this to work. They must also remain contiguous so that opcode range
|
||||
// checking works correctly. Static assertions in LIR.h check these
|
||||
|
Loading…
Reference in New Issue
Block a user