Change 'cmp <op> 0' instructions to 'tst <op> <op>'.

The compare to 0 come from the ARM world. On x86 a test is better.