-
Christoph Mallon authored
Simply directly check the magnitude of the tarval instead of converting it to a long. * On 64 bit hosts 32 bit operations could not match immediates with bit 31 set. E.g. v32 & 0xFFFFFFF0. * On 32 bit hosts 64 bit operations with 32 bit non-negative constants were erroneously matched and caused silent miscompilation. E.g. v64 & 0xFFFFFFF0. * On 32 bit hosts 64 bit operations with constants, which would fit into 32 bits, but have higher bits set, were not matched, because get_tarval_long() failed. E.g. v64 & 0xFFFFFFFFFFFFFFF0.
bb112628