Reduce code size in crc hash functions
commit1ea69d060994735d7fec9e364d083f72fc900144
authorBin Liu <binliu@fb.com>
Sat, 7 Feb 2015 23:45:18 +0000 (7 15:45 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Sun, 8 Feb 2015 00:00:27 +0000 (7 16:00 -0800)
treee57f9c08b95c208ad9610affbdffb284959ceb8d
parente7af8ed12a655d52998c6e60ac5407a0d41510d1
Reduce code size in crc hash functions

Summary: mov $-1, %eax   --->  or $-1, %eax
Should not change anything, just save two bytes when encoded.
It makes room for possible future optimizations.

Reviewed By: @edwinsmith

Differential Revision: D1824439
hphp/runtime/base/program-functions.cpp
hphp/util/hash-crc.S