Expose SIMD.Float32x4 type to Javascript.
authorbbudge <bbudge@chromium.org>
Wed, 15 Jul 2015 19:16:52 +0000 (12:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Jul 2015 19:17:06 +0000 (19:17 +0000)
commite5ed3bee99807c502fa7d7a367ec401e16d3f773
tree02844fe7191bff9fee18fd869124c7a1f95b7ef3
parentbb247d4fb437b91acb984ccdabfeb4ffbfedb65a
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

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

Cr-Commit-Position: refs/heads/master@{#29689}
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