Fixed cmp instruction code-gen