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

Unified Diff: src/compiler/arm/code-generator-arm.cc

Issue 2745853002: [WASM] Implement Simd128 Load/Store on ARM. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 | « no previous file | src/compiler/arm/instruction-codes-arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/arm/code-generator-arm.cc
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc
index e11085889b549704f875a422dab8bcfa13919f54..8a8b623b005314efd5994e781c58d8a187f62f9b 100644
--- a/src/compiler/arm/code-generator-arm.cc
+++ b/src/compiler/arm/code-generator-arm.cc
@@ -1965,6 +1965,18 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
i.OutputSimd128Register());
break;
}
+ case kArmSimd128Load: {
+ MemOperand src = i.InputOffset();
+ __ vld1(Neon8, NeonListOperand(i.OutputSimd128Register()),
+ NeonMemOperand(src.rn(), src.rm()));
+ break;
+ }
+ case kArmSimd128Store: {
+ MemOperand src = i.InputOffset(1);
+ __ vst1(Neon8, NeonListOperand(i.InputSimd128Register(0)),
+ NeonMemOperand(src.rn(), src.rm()));
+ break;
+ }
case kArmSimd128And: {
__ vand(i.OutputSimd128Register(), i.InputSimd128Register(0),
i.InputSimd128Register(1));
« no previous file with comments | « no previous file | src/compiler/arm/instruction-codes-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698