Small optimization of ARM compare stub. Reverse all references to
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Jan 2010 08:36:06 +0000 (08:36 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Jan 2010 08:36:06 +0000 (08:36 +0000)
commita5ac66628d6be5dc11f914bb7e0befca6d70120f
tree3418f86e99a16ad7d96f5f496a762208b4f636e4
parent6d7ce681021cde91f4b06da1c4602d98e3ea8c66
Small optimization of ARM compare stub.  Reverse all references to
left and right sides of the comparison to reflect reality.  Don't
check explicitly for NaNs when using VFP3 since the compare
operation can signal this case with the v flag.  Use cmp instead
of tst in the fast compilers since tst leaves the v flag unchanged
and thus can only work by accident on non-equality comparisons.
Review URL: http://codereview.chromium.org/551048

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/codegen-arm.cc
src/arm/fast-codegen-arm.cc
src/arm/simulator-arm.cc
src/assembler.cc