v8/test/cctest
kbr@chromium.org cbc1c0fca6 Truncate rather than round to nearest when performing float-to-integer
conversions for external array types, which implement the Typed Array
spec. (Revision of http://codereview.chromium.org/6315004 .)

Prefer SSE2 code path on x86 processors. Non-SSE2 processors now make
a slow runtime call for float-to-int conversions. Use SSE3 for 32-bit
signed and unsigned int array types where possible.

The movement of code from ic-arm.cc to stub-cache-arm.cc caused the
VFP3 code path to be tested for the first time. Fixed bugs in the
register usage and in the constant value stored into integer arrays
for NaN and +/-Infinity.

Added new truncation test to test-api.cc. Storage of NaN and +/-Inf
was already covered. Ran unit tests on x86, x64 and ARM simulator.
Tested ia32 and x64 code in Chromium on Mac and Linux respectively
with Typed Array unit tests and WebGL content.

BUG=http://code.google.com/p/chromium/issues/detail?id=50972
TEST=test-api/ExternalArrays

Review URL: http://codereview.chromium.org/6303012

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6431 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-01-21 23:58:00 +00:00
..
cctest.cc Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.gyp Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
cctest.h Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.status X64 Crank: Implemented DoBranch and all *AndBranch comparisons. 2011-01-19 10:17:18 +00:00
gay-fixed.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-fixed.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-precision.cc Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
gay-precision.h Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
gay-shortest.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-shortest.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
SConscript Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-accessors.cc Fixed problem where popping a handle scope after calling an accessor 2009-11-06 11:35:47 +00:00
test-alloc.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-api.cc Truncate rather than round to nearest when performing float-to-integer 2011-01-21 23:58:00 +00:00
test-assembler-arm.cc ARM: The Simulator will now handle different VFP rounding modes. RZ and RM are implemented. This is a commit of 2010-11-09 08:26:02 +00:00
test-assembler-ia32.cc Changed #define symbols in test to OBJECT_PRINT from PRINT_OBJECT 2011-01-03 09:32:42 +00:00
test-assembler-mips.cc Fix the ambigous Operand(0) for newer C++ compilers. 2010-09-07 11:09:45 +00:00
test-assembler-x64.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-ast.cc Add and use AsciiAlphaToLower. Move RemoveLast test. Add Clear test. This is a commit of http://codereview.chromium.org/3307003/show http://codereview.chromium.org/3312007/show and http://codereview.chromium.org/3341002/show for tfarina 2010-09-03 12:59:52 +00:00
test-bignum-dtoa.cc Add bignum fall-back when the fast dtoa doesn't succeed. This removes Gay's dtoa for the double->string direction. We still need it for the string->double direction. 2010-11-17 13:20:44 +00:00
test-bignum.cc Bignum implementation of Strtod. 2010-11-08 11:49:47 +00:00
test-circular-queue.cc CPU profiler: make code events handling scalable. 2010-05-22 05:27:19 +00:00
test-compiler.cc Make Failure inherit from MaybeObject instead of Object. 2010-10-25 15:22:03 +00:00
test-conversions.cc Fix number parsing to not allow space between sign and digits. 2010-11-26 12:45:41 +00:00
test-cpu-profiler.cc Fix CPU profiler crash in start / stop sequence when non-existent name is passed 2010-08-10 12:06:42 +00:00
test-dataflow.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-debug.cc Misc debugger enhancements and bug fixes. 2011-01-06 13:14:32 +00:00
test-decls.cc Get rid of requested size in RetryAfterGC. 2010-10-18 12:58:56 +00:00
test-deoptimization.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-disasm-arm.cc Improve support for vmrs/vmsr in ARM disassembler. This is a commit of http://codereview.chromium.org/4904001 for Martyn Capewell. 2010-11-15 10:21:57 +00:00
test-disasm-ia32.cc SSE2 truncating double-to-i. 2011-01-11 13:48:49 +00:00
test-diy-fp.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-double.cc Fix Double.NextDouble function. 2010-11-08 12:13:05 +00:00
test-dtoa.cc Add bignum fall-back when the fast dtoa doesn't succeed. This removes Gay's dtoa for the double->string direction. We still need it for the string->double direction. 2010-11-17 13:20:44 +00:00
test-fast-dtoa.cc Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
test-fixed-dtoa.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-flags.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-func-name-inference.cc API: Resolve linker issues with using V8 as a DLL 2010-06-18 10:52:59 +00:00
test-hashmap.cc Make the hash map test run faster by doing less work. 2009-05-15 13:49:00 +00:00
test-heap-profiler.cc New heap profiler: add support for progress reporting and control. 2010-12-13 10:42:06 +00:00
test-heap.cc Implement HeapIterator that skips over unreachable objects. 2010-12-21 10:49:40 +00:00
test-list.cc Add and use AsciiAlphaToLower. Move RemoveLast test. Add Clear test. This is a commit of http://codereview.chromium.org/3307003/show http://codereview.chromium.org/3312007/show and http://codereview.chromium.org/3341002/show for tfarina 2010-09-03 12:59:52 +00:00
test-liveedit.cc API: Resolve linker issues with using V8 as a DLL 2010-06-18 10:52:59 +00:00
test-lock.cc Stop running some liveedit tests (see issue 915). 2010-10-29 07:10:14 +00:00
test-log-stack-tracer.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-log-utils.cc Remove log compression support. 2010-12-07 13:24:22 +00:00
test-log.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-macro-assembler-x64.cc Rename some x64 macros to be more precise about their semantics. 2010-09-30 11:48:03 +00:00
test-mark-compact.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-mips.cc MIPS simple function calls 2010-03-23 15:04:45 +00:00
test-parsing.cc Change interpretation of malformed \c? escapes in RegExp to match JSC. 2011-01-07 12:35:42 +00:00
test-platform-linux.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-macos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-nullos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-win32.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-profile-generator.cc Fix RecordStackTraceAtStartProfiling test. 2010-12-07 14:10:41 +00:00
test-regexp.cc Change interpretation of malformed \c? escapes in RegExp to match JSC. 2011-01-07 12:35:42 +00:00
test-reloc-info.cc Fix mac build. 2010-11-30 11:44:51 +00:00
test-serialize.cc Fix some memory leaks in the serialization tests. 2010-10-29 07:10:41 +00:00
test-sockets.cc Fixed some cctest flakiness on mac. 2009-09-25 10:36:00 +00:00
test-spaces.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-strings.cc Make Failure inherit from MaybeObject instead of Object. 2010-10-25 15:22:03 +00:00
test-strtod.cc Fix strtod. 2010-11-11 16:32:32 +00:00
test-thread-termination.cc Include check for execution termination into bailout check. 2010-05-21 20:52:19 +00:00
test-threads.cc Clean JS function results cache on each major GC. 2010-05-04 16:42:11 +00:00
test-type-info.cc Type info: fix three bit representation of smi type. 2010-06-29 13:48:20 +00:00
test-unbound-queue.cc CPU profiler: make code events handling scalable. 2010-05-22 05:27:19 +00:00
test-utils.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-version.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
testcfg.py Enable sharding of individual testsuites in tools/test.py 2011-01-10 13:54:42 +00:00