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

Unified Diff: src/wasm/wasm-macro-gen.h

Issue 2713613005: [wasm]implement simd lowering for F32x4 and I32x4 binops (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | test/cctest/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-macro-gen.h
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h
index 931ad92373c854a7a6f5914f315b0e215dd36b8d..a0b083bbdc9aac4aa3c8ad723299edfaf1603d12 100644
--- a/src/wasm/wasm-macro-gen.h
+++ b/src/wasm/wasm-macro-gen.h
@@ -619,36 +619,6 @@ class LocalDeclEncoder {
#define WASM_GROW_MEMORY(x) x, kExprGrowMemory, 0
#define WASM_MEMORY_SIZE kExprMemorySize, 0
-//------------------------------------------------------------------------------
-// Simd Operations.
-//------------------------------------------------------------------------------
-// TODO(bbudge) Migrate these into tests.
-#define WASM_SIMD_F32x4_SPLAT(x) \
- x, kSimdPrefix, static_cast<byte>(kExprF32x4Splat)
-#define WASM_SIMD_F32x4_EXTRACT_LANE(lane, x) \
- x, kSimdPrefix, static_cast<byte>(kExprF32x4ExtractLane), \
- static_cast<byte>(lane)
-#define WASM_SIMD_F32x4_REPLACE_LANE(lane, x, y) \
- x, y, kSimdPrefix, static_cast<byte>(kExprF32x4ReplaceLane), \
- static_cast<byte>(lane)
-#define WASM_SIMD_F32x4_ADD(x, y) \
- x, y, kSimdPrefix, static_cast<byte>(kExprF32x4Add)
-#define WASM_SIMD_F32x4_SUB(x, y) \
- x, y, kSimdPrefix, static_cast<byte>(kExprF32x4Sub)
-
-#define WASM_SIMD_I32x4_SPLAT(x) \
- x, kSimdPrefix, static_cast<byte>(kExprI32x4Splat)
-#define WASM_SIMD_I32x4_EXTRACT_LANE(lane, x) \
- x, kSimdPrefix, static_cast<byte>(kExprI32x4ExtractLane), \
- static_cast<byte>(lane)
-#define WASM_SIMD_I32x4_REPLACE_LANE(lane, x, y) \
- x, y, kSimdPrefix, static_cast<byte>(kExprI32x4ReplaceLane), \
- static_cast<byte>(lane)
-#define WASM_SIMD_I32x4_ADD(x, y) \
- x, y, kSimdPrefix, static_cast<byte>(kExprI32x4Add)
-#define WASM_SIMD_I32x4_SUB(x, y) \
- x, y, kSimdPrefix, static_cast<byte>(kExprI32x4Sub)
-
#define SIG_ENTRY_v_v kWasmFunctionTypeForm, 0, 0
#define SIZEOF_SIG_ENTRY_v_v 3
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | test/cctest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698