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

Side by Side Diff: test/mjsunit/regress/regress-5888.js

Issue 2652153005: [turbofan] Correct regalloc blocked register behavior (Closed)
Patch Set: Handle case when range ends at the instruction with blocking regs 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 | « src/compiler/register-allocator.cc ('k') | no next file » | 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 2017 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 load("test/mjsunit/wasm/wasm-constants.js");
6 load("test/mjsunit/wasm/wasm-module-builder.js");
7
8 (function() {
9 var builder = new WasmModuleBuilder();
10 builder.addMemory(32, 32, false);
11 builder.addFunction("test", kSig_i_iii)
12 .addBodyWithEnd([
13 // body:
14 kExprI64Const, 0xb4, 0x42,
15 kExprI64Const, 0x7a,
16 kExprI64Const, 0x42,
17 kExprI64Const, 0x7a,
18 kExprI64Ior,
19 kExprI64Ctz,
20 kExprI64Ctz,
21 kExprI64Shl,
22 kExprI64Mul,
23 kExprI64Const, 0x41,
24 kExprI64Ctz,
25 kExprI64Ctz,
26 kExprI64Shl,
27 kExprF32SConvertI64,
28 kExprI64Const, 0x42,
29 kExprI64Const, 0x02,
30 kExprI64Const, 0x7a,
31 kExprI64Mul,
32 kExprI64Const, 0x42,
33 kExprI64Ctz,
34 kExprI64Shl,
35 kExprI64Const, 0x7a,
36 kExprI64Ctz,
37 kExprI64Shl,
38 kExprI64Mul,
39 kExprI64Const, 0x41,
40 kExprI64Ctz,
41 kExprI64Ctz,
42 kExprI64Shl,
43 kExprF32SConvertI64,
44 kExprUnreachable,
45 kExprEnd, // @65
46 ])
47 .exportFunc();
48 var module = new WebAssembly.Module(builder.toBuffer());
49 })();
50
51 (function() {
52 var builder = new WasmModuleBuilder();
53 builder.addMemory(16, 32, false);
54 builder.addFunction("test", kSig_i_iii)
55 .addBodyWithEnd([
56 // body:
57 kExprI64Const, 0x42,
58 kExprI64Const, 0x7a,
59 kExprI64Ctz,
60 kExprI64Mul,
61 kExprI64Ctz,
62 kExprI64Const, 0x41,
63 kExprI64Ctz,
64 kExprI64Ctz,
65 kExprI64Shl,
66 kExprI64Const, 0x41,
67 kExprI64Ctz,
68 kExprI64Ctz,
69 kExprI64Shl,
70 kExprF32SConvertI64,
71 kExprUnreachable,
72 kExprEnd, // @20
73 ])
74 .exportFunc();
75 var module = new WebAssembly.Module(builder.toBuffer());
76 })();
OLDNEW
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698