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

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

Issue 2847663005: [WASM SIMD] Replace primitive shuffles with general Shuffle. (Closed)
Patch Set: Rebase. Created 3 years, 7 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/wasm/wasm-opcodes.cc ('k') | test/cctest/wasm/test-run-wasm-simd.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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-text.h" 5 #include "src/wasm/wasm-text.h"
6 6
7 #include "src/debug/interface-types.h" 7 #include "src/debug/interface-types.h"
8 #include "src/objects-inl.h" 8 #include "src/objects-inl.h"
9 #include "src/ostreams.h" 9 #include "src/ostreams.h"
10 #include "src/vector.h" 10 #include "src/vector.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 os << WasmOpcodes::OpcodeName(opcode); 187 os << WasmOpcodes::OpcodeName(opcode);
188 break; 188 break;
189 189
190 // This group is just printed by their internal opcode name, as they 190 // This group is just printed by their internal opcode name, as they
191 // should never be shown to end-users. 191 // should never be shown to end-users.
192 FOREACH_ASMJS_COMPAT_OPCODE(CASE_OPCODE) 192 FOREACH_ASMJS_COMPAT_OPCODE(CASE_OPCODE)
193 // TODO(wasm): Add correct printing for SIMD and atomic opcodes once 193 // TODO(wasm): Add correct printing for SIMD and atomic opcodes once
194 // they are publicly available. 194 // they are publicly available.
195 FOREACH_SIMD_0_OPERAND_OPCODE(CASE_OPCODE) 195 FOREACH_SIMD_0_OPERAND_OPCODE(CASE_OPCODE)
196 FOREACH_SIMD_1_OPERAND_OPCODE(CASE_OPCODE) 196 FOREACH_SIMD_1_OPERAND_OPCODE(CASE_OPCODE)
197 FOREACH_SIMD_MASK_OPERAND_OPCODE(CASE_OPCODE)
197 FOREACH_ATOMIC_OPCODE(CASE_OPCODE) 198 FOREACH_ATOMIC_OPCODE(CASE_OPCODE)
198 os << WasmOpcodes::OpcodeName(opcode); 199 os << WasmOpcodes::OpcodeName(opcode);
199 break; 200 break;
200 201
201 default: 202 default:
202 UNREACHABLE(); 203 UNREACHABLE();
203 break; 204 break;
204 } 205 }
205 os << '\n'; 206 os << '\n';
206 ++line_nr; 207 ++line_nr;
207 } 208 }
208 DCHECK_EQ(0, control_depth); 209 DCHECK_EQ(0, control_depth);
209 DCHECK(i.ok()); 210 DCHECK(i.ok());
210 } 211 }
OLDNEW
« no previous file with comments | « src/wasm/wasm-opcodes.cc ('k') | test/cctest/wasm/test-run-wasm-simd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698