MIPS: Change CmpWeakValue to a more MIPS like GetWeakValue.
authorbalazs.kilvady <balazs.kilvady@imgtec.com>
Thu, 4 Dec 2014 16:29:01 +0000 (08:29 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Dec 2014 16:29:16 +0000 (16:29 +0000)
commita25003cfa6eac88635c12b51ec6ad74fed0d91a1
tree9e1c3159f220c55bc7234a16c96a0f6a12ecc658
parentedf3dab4660ed6273e5d46bd2b0eae9f3210157d
MIPS: Change CmpWeakValue to a more MIPS like GetWeakValue.

This approach saves one instruction by eliminating the use of Subu as a
pseudo-comparison.

BUG=

Review URL: https://codereview.chromium.org/779793004

Cr-Commit-Position: refs/heads/master@{#25662}
src/ic/mips/handler-compiler-mips.cc
src/ic/mips64/handler-compiler-mips64.cc
src/mips/macro-assembler-mips.cc
src/mips/macro-assembler-mips.h
src/mips64/macro-assembler-mips64.cc
src/mips64/macro-assembler-mips64.h