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

Unified Diff: src/messages.js

Issue 1294513004: [simd.js] Update to spec version 0.8.2. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 5 years, 4 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
« no previous file with comments | « src/heap/heap.h ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index b67cdf027409ca616a2754382566011f5959b01a..b9e2aae2133d9e49171834f1f54a5f4e0ef92cf9 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -48,6 +48,16 @@ var StringCharAt;
var StringIndexOf;
var StringSubstring;
var ToString;
+var Float32x4ToString;
+var Int32x4ToString;
+var Uint32x4ToString;
+var Bool32x4ToString;
+var Int16x8ToString;
+var Uint16x8ToString;
+var Bool16x8ToString;
+var Int8x16ToString;
+var Uint8x16ToString;
+var Bool8x16ToString;
utils.Import(function(from) {
ArrayJoin = from.ArrayJoin;
@@ -64,6 +74,16 @@ utils.Import(function(from) {
StringCharAt = from.StringCharAt;
StringIndexOf = from.StringIndexOf;
StringSubstring = from.StringSubstring;
+ Float32x4ToString = from.Float32x4ToString;
+ Int32x4ToString = from.Int32x4ToString;
+ Uint32x4ToString = from.Uint32x4ToString;
+ Bool32x4ToString = from.Bool32x4ToString;
+ Int16x8ToString = from.Int16x8ToString;
+ Uint16x8ToString = from.Uint16x8ToString;
+ Bool16x8ToString = from.Bool16x8ToString;
+ Int8x16ToString = from.Int8x16ToString;
+ Uint8x16ToString = from.Uint8x16ToString;
+ Bool8x16ToString = from.Bool8x16ToString;
});
utils.ImportNow(function(from) {
@@ -107,11 +127,14 @@ function NoSideEffectToString(obj) {
switch (typeof(obj)) {
case 'float32x4': return %_CallFunction(obj, Float32x4ToString);
case 'int32x4': return %_CallFunction(obj, Int32x4ToString);
+ case 'uint32x4': return %_CallFunction(obj, Uint32x4ToString);
case 'bool32x4': return %_CallFunction(obj, Bool32x4ToString);
case 'int16x8': return %_CallFunction(obj, Int16x8ToString);
+ case 'uint16x8': return %_CallFunction(obj, Uint16x8ToString);
case 'bool16x8': return %_CallFunction(obj, Bool16x8ToString);
- case 'int16x8': return %_CallFunction(obj, Int16x8ToString);
- case 'bool16x8': return %_CallFunction(obj, Bool16x8ToString);
+ case 'int8x16': return %_CallFunction(obj, Int8x16ToString);
+ case 'uint8x16': return %_CallFunction(obj, Uint8x16ToString);
+ case 'bool8x16': return %_CallFunction(obj, Bool8x16ToString);
}
}
if (IS_OBJECT(obj)
« no previous file with comments | « src/heap/heap.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698