Files
LSL-PyOptimizer/lslopt
Sei Lisa 3a849fe4b9 Optimize a common condition of (x & flag1) && (x & flag2)
It can't be done always: flag1 and flag2 must be nonzero powers of two. In that case, we can transform it to:

!~(x|~(flag1|flag2)) = !~(x|constant)

The -2147483648 case has trouble with the sign hack detector and I couldn't trigger it.
2017-10-13 02:59:32 +02:00
..
2014-07-26 02:43:44 +02:00
2017-08-09 19:45:46 +02:00
2017-08-09 19:45:46 +02:00
2017-08-16 22:00:16 +02:00