Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1731)

Unified Diff: src/runtime/runtime.h

Issue 1250733005: SIMD.js Add the other SIMD Phase 1 types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 18e8af7c8d03ba3f533e6406e64cd1fb75a2c2e9..3117276c1ff77210fb3da2fcc5e8a24ead729820 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -565,14 +565,65 @@ namespace internal {
F(Arguments, 1, 1)
-#define FOR_EACH_INTRINSIC_SIMD(F) \
- F(CreateFloat32x4, 4, 1) \
- F(NewFloat32x4Wrapper, 1, 1) \
- F(Float32x4Check, 1, 1) \
- F(Float32x4ExtractLane, 2, 1) \
- F(Float32x4Equals, 2, 1) \
- F(Float32x4SameValue, 2, 1) \
- F(Float32x4SameValueZero, 2, 1)
+#define FOR_EACH_INTRINSIC_SIMD(F) \
+ F(CreateFloat32x4, 4, 1) \
+ F(CreateInt32x4, 4, 1) \
+ F(CreateBool32x4, 4, 1) \
+ F(CreateInt16x8, 8, 1) \
+ F(CreateBool16x8, 8, 1) \
+ F(CreateInt8x16, 16, 1) \
+ F(CreateBool8x16, 16, 1) \
+ F(NewFloat32x4Wrapper, 1, 1) \
+ F(NewInt32x4Wrapper, 1, 1) \
+ F(NewBool32x4Wrapper, 1, 1) \
+ F(NewInt16x8Wrapper, 1, 1) \
+ F(NewBool16x8Wrapper, 1, 1) \
+ F(NewInt8x16Wrapper, 1, 1) \
+ F(NewBool8x16Wrapper, 1, 1) \
+ F(Float32x4Check, 1, 1) \
+ F(Int32x4Check, 1, 1) \
+ F(Bool32x4Check, 1, 1) \
+ F(Int16x8Check, 1, 1) \
+ F(Bool16x8Check, 1, 1) \
+ F(Int8x16Check, 1, 1) \
+ F(Bool8x16Check, 1, 1) \
+ F(Float32x4ExtractLane, 2, 1) \
+ F(Int32x4ExtractLane, 2, 1) \
+ F(Bool32x4ExtractLane, 2, 1) \
+ F(Int16x8ExtractLane, 2, 1) \
+ F(Int16x8UnsignedExtractLane, 2, 1) \
+ F(Bool16x8ExtractLane, 2, 1) \
+ F(Int8x16ExtractLane, 2, 1) \
+ F(Int8x16UnsignedExtractLane, 2, 1) \
+ F(Bool8x16ExtractLane, 2, 1) \
+ F(Float32x4ReplaceLane, 3, 1) \
+ F(Int32x4ReplaceLane, 3, 1) \
+ F(Bool32x4ReplaceLane, 3, 1) \
+ F(Int16x8ReplaceLane, 3, 1) \
+ F(Bool16x8ReplaceLane, 3, 1) \
+ F(Int8x16ReplaceLane, 3, 1) \
+ F(Bool8x16ReplaceLane, 3, 1) \
+ F(Float32x4Equals, 2, 1) \
+ F(Int32x4Equals, 2, 1) \
+ F(Bool32x4Equals, 2, 1) \
+ F(Int16x8Equals, 2, 1) \
+ F(Bool16x8Equals, 2, 1) \
+ F(Int8x16Equals, 2, 1) \
+ F(Bool8x16Equals, 2, 1) \
+ F(Float32x4SameValue, 2, 1) \
+ F(Int32x4SameValue, 2, 1) \
+ F(Bool32x4SameValue, 2, 1) \
+ F(Int16x8SameValue, 2, 1) \
+ F(Bool16x8SameValue, 2, 1) \
+ F(Int8x16SameValue, 2, 1) \
+ F(Bool8x16SameValue, 2, 1) \
+ F(Float32x4SameValueZero, 2, 1) \
+ F(Int32x4SameValueZero, 2, 1) \
+ F(Bool32x4SameValueZero, 2, 1) \
+ F(Int16x8SameValueZero, 2, 1) \
+ F(Bool16x8SameValueZero, 2, 1) \
+ F(Int8x16SameValueZero, 2, 1) \
+ F(Bool8x16SameValueZero, 2, 1)
#define FOR_EACH_INTRINSIC_STRINGS(F) \

Powered by Google App Engine
This is Rietveld 408576698