Expose SIMD.Float32x4 type to Javascript.
authorbbudge <bbudge@chromium.org>
Thu, 16 Jul 2015 19:43:21 +0000 (12:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 19:43:32 +0000 (19:43 +0000)
commit61130584270ebffdfc43c4ab802c6b0b75f1504b
tree36db656377d048d9062af23e336e7ae05abc96ea
parent843b0e29f6d5abb220887552dc89631ded0d6113
Expose SIMD.Float32x4 type to Javascript.
This CL exposes the constructor function, defines type related
information, and implements value type semantics.
It also refactors test/mjsunit/samevalue.js to test SameValue and SameValueZero.

TEST=test/mjsunit/harmony/simd.js, test/cctest/test-simd.cc

LOG=Y
BUG=v8:4124

Committed: https://crrev.com/e5ed3bee99807c502fa7d7a367ec401e16d3f773
Cr-Commit-Position: refs/heads/master@{#29689}

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

Cr-Commit-Position: refs/heads/master@{#29712}
58 files changed:
BUILD.gn
include/v8.h
src/arm/code-stubs-arm.cc
src/arm/full-codegen-arm.cc
src/arm/lithium-codegen-arm.cc
src/arm64/code-stubs-arm64.cc
src/arm64/full-codegen-arm64.cc
src/arm64/lithium-codegen-arm64.cc
src/bootstrapper.cc
src/code-stubs-hydrogen.cc
src/code-stubs.cc
src/code-stubs.h
src/contexts.h
src/flag-definitions.h
src/globals.h
src/harmony-simd.js [new file with mode: 0644]
src/heap/heap.h
src/hydrogen-instructions.cc
src/ia32/code-stubs-ia32.cc
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/ic/handler-compiler.cc
src/ic/ic-inl.h
src/macros.py
src/messages.h
src/messages.js
src/mips/code-stubs-mips.cc
src/mips/full-codegen-mips.cc
src/mips/lithium-codegen-mips.cc
src/mips64/code-stubs-mips64.cc
src/mips64/full-codegen-mips64.cc
src/mips64/lithium-codegen-mips64.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/ppc/code-stubs-ppc.cc
src/ppc/full-codegen-ppc.cc
src/ppc/lithium-codegen-ppc.cc
src/runtime.js
src/runtime/runtime-simd.cc [new file with mode: 0644]
src/runtime/runtime.h
src/type-info.cc
src/types.cc
src/x64/code-stubs-x64.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc
src/x87/code-stubs-x87.cc
src/x87/full-codegen-x87.cc
src/x87/lithium-codegen-x87.cc
test/cctest/cctest.gyp
test/cctest/test-heap-profiler.cc
test/cctest/test-heap.cc
test/cctest/test-simd.cc [new file with mode: 0644]
test/mjsunit/harmony/simd.js [new file with mode: 0644]
test/mjsunit/messages.js
test/mjsunit/samevalue.js
test/simdjs/harness-adapt.js
tools/gyp/v8.gyp