Microoptimize comparisons with 0 on x86oids.
authorStas Boukarev <stassats@gmail.com>
Sun, 28 Jul 2013 18:26:18 +0000 (22:26 +0400)
committerStas Boukarev <stassats@gmail.com>
Sun, 28 Jul 2013 18:26:18 +0000 (22:26 +0400)
commitd62278d1ad8359740e590810b12d84b50b2dc6be
tree750c7a21176d421ec0bac85481e16e7bbdd0286f
parent49ab16a1ebe3184cebd6a7954a113f934278b715
Microoptimize comparisons with 0 on x86oids.

Implement the common idiom of using TEST REG, REG in place of CMP REG,
0, saving 1 byte, for fast-if->/< VOPs.
src/compiler/x86-64/arith.lisp
src/compiler/x86/arith.lisp