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

Unified Diff: src/contexts.h

Issue 90643003: Experimental implementation: Exposing SIMD instructions into JavaScript Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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/code-stubs.cc ('k') | src/d8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/contexts.h
diff --git a/src/contexts.h b/src/contexts.h
index 461c9dc6b714667f94af9909087abb245b2ca811..80ba2f0de6bb2bcb81d18b155b8e3fbd335b2484 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -101,6 +101,12 @@ enum BindingFlags {
V(SECURITY_TOKEN_INDEX, Object, security_token) \
V(BOOLEAN_FUNCTION_INDEX, JSFunction, boolean_function) \
V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \
+ V(FLOAT32x4_FUNCTION_INDEX, JSFunction, float32x4_function) \
+ V(FLOAT32x4_FUNCTION_PROTOTYPE_MAP_INDEX, Map, \
+ float32x4_function_prototype_map) \
+ V(INT32x4_FUNCTION_INDEX, JSFunction, int32x4_function) \
+ V(INT32x4_FUNCTION_PROTOTYPE_MAP_INDEX, Map, \
+ int32x4_function_prototype_map) \
V(STRING_FUNCTION_INDEX, JSFunction, string_function) \
V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \
V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \
@@ -132,6 +138,8 @@ enum BindingFlags {
V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \
V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
V(FLOAT_ARRAY_FUN_INDEX, JSFunction, float_array_fun) \
+ V(FLOAT32x4_ARRAY_FUN_INDEX, JSFunction, float32x4_array_fun) \
+ V(INT32x4_ARRAY_FUN_INDEX, JSFunction, int32x4_array_fun) \
V(DOUBLE_ARRAY_FUN_INDEX, JSFunction, double_array_fun) \
V(UINT8C_ARRAY_FUN_INDEX, JSFunction, uint8c_array_fun) \
V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \
@@ -267,6 +275,10 @@ class Context: public FixedArray {
INITIAL_ARRAY_PROTOTYPE_INDEX,
BOOLEAN_FUNCTION_INDEX,
NUMBER_FUNCTION_INDEX,
+ FLOAT32x4_FUNCTION_INDEX,
+ FLOAT32x4_FUNCTION_PROTOTYPE_MAP_INDEX,
+ INT32x4_FUNCTION_INDEX,
+ INT32x4_FUNCTION_PROTOTYPE_MAP_INDEX,
STRING_FUNCTION_INDEX,
STRING_FUNCTION_PROTOTYPE_MAP_INDEX,
SYMBOL_FUNCTION_INDEX,
@@ -297,6 +309,8 @@ class Context: public FixedArray {
UINT32_ARRAY_FUN_INDEX,
INT32_ARRAY_FUN_INDEX,
FLOAT_ARRAY_FUN_INDEX,
+ FLOAT32x4_ARRAY_FUN_INDEX,
+ INT32x4_ARRAY_FUN_INDEX,
DOUBLE_ARRAY_FUN_INDEX,
UINT8C_ARRAY_FUN_INDEX,
DATA_VIEW_FUN_INDEX,
« no previous file with comments | « src/code-stubs.cc ('k') | src/d8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698