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

Side by Side Diff: src/wasm/wasm-opcodes.cc

Issue 1655883002: [wasm] Initial commit for the Int64Reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename children to inputs Created 4 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/wasm/wasm-opcodes.h" 5 #include "src/wasm/wasm-opcodes.h"
6 #include "src/signature.h" 6 #include "src/signature.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace wasm { 10 namespace wasm {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #if !WASM_64 90 #if !WASM_64
91 switch (opcode) { 91 switch (opcode) {
92 // Opcodes not supported on 32-bit platforms. 92 // Opcodes not supported on 32-bit platforms.
93 case kExprI64Add: 93 case kExprI64Add:
94 case kExprI64Sub: 94 case kExprI64Sub:
95 case kExprI64Mul: 95 case kExprI64Mul:
96 case kExprI64DivS: 96 case kExprI64DivS:
97 case kExprI64DivU: 97 case kExprI64DivU:
98 case kExprI64RemS: 98 case kExprI64RemS:
99 case kExprI64RemU: 99 case kExprI64RemU:
100 case kExprI64And: 100 // case kExprI64And:
titzer 2016/02/02 10:14:35 Just remove them
ahaas 2016/02/02 13:32:48 Apparently some tests fail if I remove the instruc
101 case kExprI64Ior: 101 case kExprI64Ior:
102 case kExprI64Xor: 102 case kExprI64Xor:
103 case kExprI64Shl: 103 case kExprI64Shl:
104 case kExprI64ShrU: 104 case kExprI64ShrU:
105 case kExprI64ShrS: 105 case kExprI64ShrS:
106 case kExprI64Eq: 106 case kExprI64Eq:
107 case kExprI64Ne: 107 case kExprI64Ne:
108 case kExprI64LtS: 108 case kExprI64LtS:
109 case kExprI64LeS: 109 case kExprI64LeS:
110 case kExprI64LtU: 110 case kExprI64LtU:
111 case kExprI64LeU: 111 case kExprI64LeU:
112 case kExprI64GtS: 112 case kExprI64GtS:
113 case kExprI64GeS: 113 case kExprI64GeS:
114 case kExprI64GtU: 114 case kExprI64GtU:
115 case kExprI64GeU: 115 case kExprI64GeU:
116 116
117 case kExprI32ConvertI64: 117 // case kExprI32ConvertI64:
118 case kExprI64SConvertI32: 118 case kExprI64SConvertI32:
119 case kExprI64UConvertI32: 119 case kExprI64UConvertI32:
120 120
121 case kExprF64ReinterpretI64: 121 case kExprF64ReinterpretI64:
122 case kExprI64ReinterpretF64: 122 case kExprI64ReinterpretF64:
123 123
124 case kExprI64Clz: 124 case kExprI64Clz:
125 case kExprI64Ctz: 125 case kExprI64Ctz:
126 case kExprI64Popcnt: 126 case kExprI64Popcnt:
127 127
(...skipping 10 matching lines...) Expand all
138 default: 138 default:
139 return true; 139 return true;
140 } 140 }
141 #else 141 #else
142 return true; 142 return true;
143 #endif 143 #endif
144 } 144 }
145 } // namespace wasm 145 } // namespace wasm
146 } // namespace internal 146 } // namespace internal
147 } // namespace v8 147 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698