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

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

Issue 2827143002: [WASM SIMD] Remove opcodes that are slow on some platforms. (Closed)
Patch Set: Remove stray tests. Created 3 years, 8 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/wasm-compiler.cc ('k') | src/wasm/wasm-opcodes.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 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 #ifndef V8_WASM_OPCODES_H_ 5 #ifndef V8_WASM_OPCODES_H_
6 #define V8_WASM_OPCODES_H_ 6 #define V8_WASM_OPCODES_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 #include "src/machine-type.h" 9 #include "src/machine-type.h"
10 #include "src/runtime/runtime.h" 10 #include "src/runtime/runtime.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 V(F64AsmjsStoreMem, 0xdf, d_id) \ 279 V(F64AsmjsStoreMem, 0xdf, d_id) \
280 V(I32AsmjsSConvertF32, 0xe0, i_f) \ 280 V(I32AsmjsSConvertF32, 0xe0, i_f) \
281 V(I32AsmjsUConvertF32, 0xe1, i_f) \ 281 V(I32AsmjsUConvertF32, 0xe1, i_f) \
282 V(I32AsmjsSConvertF64, 0xe2, i_d) \ 282 V(I32AsmjsSConvertF64, 0xe2, i_d) \
283 V(I32AsmjsUConvertF64, 0xe3, i_d) 283 V(I32AsmjsUConvertF64, 0xe3, i_d)
284 284
285 #define FOREACH_SIMD_0_OPERAND_OPCODE(V) \ 285 #define FOREACH_SIMD_0_OPERAND_OPCODE(V) \
286 V(F32x4Splat, 0xe500, s_f) \ 286 V(F32x4Splat, 0xe500, s_f) \
287 V(F32x4Abs, 0xe503, s_s) \ 287 V(F32x4Abs, 0xe503, s_s) \
288 V(F32x4Neg, 0xe504, s_s) \ 288 V(F32x4Neg, 0xe504, s_s) \
289 V(F32x4Sqrt, 0xe505, s_s) \
290 V(F32x4RecipApprox, 0xe506, s_s) \ 289 V(F32x4RecipApprox, 0xe506, s_s) \
291 V(F32x4RecipSqrtApprox, 0xe507, s_s) \ 290 V(F32x4RecipSqrtApprox, 0xe507, s_s) \
292 V(F32x4Add, 0xe508, s_ss) \ 291 V(F32x4Add, 0xe508, s_ss) \
293 V(F32x4Sub, 0xe509, s_ss) \ 292 V(F32x4Sub, 0xe509, s_ss) \
294 V(F32x4Mul, 0xe50a, s_ss) \ 293 V(F32x4Mul, 0xe50a, s_ss) \
295 V(F32x4Div, 0xe50b, s_ss) \
296 V(F32x4Min, 0xe50c, s_ss) \ 294 V(F32x4Min, 0xe50c, s_ss) \
297 V(F32x4Max, 0xe50d, s_ss) \ 295 V(F32x4Max, 0xe50d, s_ss) \
298 V(F32x4MinNum, 0xe50e, s_ss) \
299 V(F32x4MaxNum, 0xe50f, s_ss) \
300 V(F32x4RecipRefine, 0xe592, s_ss) \
301 V(F32x4RecipSqrtRefine, 0xe593, s_ss) \
302 V(F32x4Eq, 0xe510, s1x4_ss) \ 296 V(F32x4Eq, 0xe510, s1x4_ss) \
303 V(F32x4Ne, 0xe511, s1x4_ss) \ 297 V(F32x4Ne, 0xe511, s1x4_ss) \
304 V(F32x4Lt, 0xe512, s1x4_ss) \ 298 V(F32x4Lt, 0xe512, s1x4_ss) \
305 V(F32x4Le, 0xe513, s1x4_ss) \ 299 V(F32x4Le, 0xe513, s1x4_ss) \
306 V(F32x4Gt, 0xe514, s1x4_ss) \ 300 V(F32x4Gt, 0xe514, s1x4_ss) \
307 V(F32x4Ge, 0xe515, s1x4_ss) \ 301 V(F32x4Ge, 0xe515, s1x4_ss) \
308 V(F32x4SConvertI32x4, 0xe519, s_s) \ 302 V(F32x4SConvertI32x4, 0xe519, s_s) \
309 V(F32x4UConvertI32x4, 0xe51a, s_s) \ 303 V(F32x4UConvertI32x4, 0xe51a, s_s) \
310 V(I32x4Splat, 0xe51b, s_i) \ 304 V(I32x4Splat, 0xe51b, s_i) \
311 V(I32x4Neg, 0xe51e, s_s) \ 305 V(I32x4Neg, 0xe51e, s_s) \
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 default: 750 default:
757 return "<unknown>"; 751 return "<unknown>";
758 } 752 }
759 } 753 }
760 }; 754 };
761 } // namespace wasm 755 } // namespace wasm
762 } // namespace internal 756 } // namespace internal
763 } // namespace v8 757 } // namespace v8
764 758
765 #endif // V8_WASM_OPCODES_H_ 759 #endif // V8_WASM_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-opcodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698