v8/test/unittests
pierre.langlois d1472d65dd [arm] Optimize vcmp when lhs operand is #0.0
This patch checks the type of the lhs operand of a floating point
comparison for ARM, and commutes the operands if it is #0.0.  It allows
us to optimize a comparison with zero, as the vcmp instruction
accepts #0.0 as rhs operand.

Code before for "0.0 < 0.123":
------------------------------
movw ip, #29360
movt ip, #37224
movw r9, #31981
movt r9, #16319
vmov d0, ip, r9
mov ip, #0
vmov d1, ip, ip
vcmp.f64 d1, d0
vmrs APSR, FPSCR
bcc +12

Code after:
-----------
movw ip, #29360
movt ip, #37224
movw r9, #31981
movt r9, #16319
vmov d0, ip, r9
vcmp.f64 d0, #0.0
vmrs APSR, FPSCR
bgt +12

BUG=

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

Cr-Commit-Position: refs/heads/master@{#30911}
2015-09-24 12:04:16 +00:00
..
base [turbofan] Use appropriate type for NodeId. 2015-06-12 12:03:19 +00:00
compiler [arm] Optimize vcmp when lhs operand is #0.0 2015-09-24 12:04:16 +00:00
heap Use idle task to perform incremental marking steps. 2015-09-08 15:54:37 +00:00
interpreter [Interpreter] Add support for loading globals in the interpreter. 2015-09-24 11:48:37 +00:00
libplatform Fix memory-leak in default platform implementation of delayed tasks. 2015-07-02 14:37:32 +00:00
atomic-utils-unittest.cc Add barriers to atomic utils. 2015-09-15 14:58:54 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
counters-unittest.cc Fix more -Werror=sign-compare bugs with GCC 4.9.2 2015-05-11 11:07:15 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
run-all-unittests.cc Rework startup-data-util. 2015-08-14 12:11:46 +00:00
test-utils.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-utils.h Pass ArrayBuffer::Allocator via Isolate::CreateParams 2015-04-29 09:54:43 +00:00
unittests.gyp [Interpreter] Skeleton bytecode graph builder 2015-09-10 16:21:40 +00:00
unittests.status Fix platform unittests. 2014-11-25 07:22:00 +00:00