Index: test/simdjs/benchmarks-adapt.js |
diff --git a/test/simdjs/benchmarks-adapt.js b/test/simdjs/benchmarks-adapt.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..43f9993e0b7220cc0515c2c7a57376bb31e2b5ca |
--- /dev/null |
+++ b/test/simdjs/benchmarks-adapt.js |
@@ -0,0 +1,27 @@ |
+// Copyright 2015 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+(function() { |
+ |
Michael Achenbach
2015/05/20 10:33:17
This is not used yet. See comment in other file.
bradn
2015/05/20 11:30:05
Dropped, leftover from the other approach.
|
+"use strict"; |
+ |
+var _oldLoad = load; |
+ |
+load = function(filename) { |
+ // TODO(bradnelson): Drop this when fixed upstream. |
+ // Skip broken tests for now. |
+ if (filename === 'averageFloat32x4Load.js' || |
+ filename === 'matrix-multiplication.js' || |
+ filename === 'aobench.js') return; |
+ if (filename !== 'kernel-template.js' && |
+ filename !== 'run.js' && |
+ filename !== 'base.js' && |
+ filename !== 'ecmascript_simd_tests.js' && |
+ filename !== '../ecmascript_simd.js' && |
+ filename !== 'averageFloat32x4.js' && |
+ filename !== 'averageFloat32x4LoadFromInt8Array.js') return; |
+ _oldLoad(filename); |
+}; |
+ |
+})(); |