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

Unified Diff: src/factory.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: Don't run downloaded SIMD value type tests. 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/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 9d42130ee1a85bc1facfd865240e0b5c70a512d1..9a595c411566288711fccba9a1a8e68908609b18 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -351,8 +351,20 @@ class Factory final {
Handle<HeapNumber> NewHeapNumber(double value,
MutableMode mode = IMMUTABLE,
PretenureFlag pretenure = NOT_TENURED);
- Handle<Float32x4> NewFloat32x4(float w, float x, float y, float z,
+ Handle<Float32x4> NewFloat32x4(float lanes[4],
PretenureFlag pretenure = NOT_TENURED);
+ Handle<Int32x4> NewInt32x4(int32_t lanes[4],
+ PretenureFlag pretenure = NOT_TENURED);
+ Handle<Bool32x4> NewBool32x4(bool lanes[4],
+ PretenureFlag pretenure = NOT_TENURED);
+ Handle<Int16x8> NewInt16x8(int16_t lanes[8],
+ PretenureFlag pretenure = NOT_TENURED);
+ Handle<Bool16x8> NewBool16x8(bool lanes[8],
+ PretenureFlag pretenure = NOT_TENURED);
+ Handle<Int8x16> NewInt8x16(int8_t lanes[16],
+ PretenureFlag pretenure = NOT_TENURED);
+ Handle<Bool8x16> NewBool8x16(bool lanes[16],
+ PretenureFlag pretenure = NOT_TENURED);
// These objects are used by the api to create env-independent data
// structures in the heap.
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698