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

Side by Side Diff: test/simdjs/harness-adapt.js

Issue 2695653005: Revert of Remove SIMD.js from V8. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « test/simdjs/generate.py ('k') | test/simdjs/harness-finish.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 (function() {
6
7 "use strict";
8
9 var _oldLoad = load;
10
11 // Filter load paths in the ecmascript_simd tests that
12 // assume the test is run with a current working directory
13 // set to the directory containing the test.
14 load = function(filename) {
15 // Decide if this is the compliance test or the benchmarks.
16 if (filename === 'ecmascript_simd.js' ||
17 filename === 'ecmascript_simd_tests.js') {
18 _oldLoad('test/simdjs/data/src/' + filename);
19 } else {
20 _oldLoad('test/simdjs/data/src/benchmarks/' + filename);
21 }
22 };
23
24 // To enable SIMD polyfill, load ecmascript_simd.js here,
25 // add to resources in SimdJs.json as well as the script
26 // to re-generate SimdJs.json.
27
28 load('base.js');
29
30 })();
31
32 // ecmascript_simd_tests logs errors to the console.
33 var console = {
34 log: function(x) { print(x); },
35 };
36
37
38 // Disable value type tests for now. The value semantics tests are incorrect.
39 // TODO(bbudge): Drop when tests are fixed.
40 var skipValueTests = true;
OLDNEW
« no previous file with comments | « test/simdjs/generate.py ('k') | test/simdjs/harness-finish.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698