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

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

Issue 505713002: [turbofan] Add backend support for signed loads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix x64. Created 6 years, 4 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/arm/instruction-selector-arm.cc ('k') | src/compiler/arm64/instruction-codes-arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/arm64/code-generator-arm64.cc
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc
index ab0236fd20dffb730e96f9e86e024a2c67eee4c9..baacc854c0dde758833bfb2be8190f8fd99d9d73 100644
--- a/src/compiler/arm64/code-generator-arm64.cc
+++ b/src/compiler/arm64/code-generator-arm64.cc
@@ -396,34 +396,40 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
case kArm64Uint32ToFloat64:
__ Ucvtf(i.OutputDoubleRegister(), i.InputRegister32(0));
break;
- case kArm64LoadWord8:
+ case kArm64Ldrb:
__ Ldrb(i.OutputRegister(), i.MemoryOperand());
break;
- case kArm64StoreWord8:
+ case kArm64Ldrsb:
+ __ Ldrsb(i.OutputRegister(), i.MemoryOperand());
+ break;
+ case kArm64Strb:
__ Strb(i.InputRegister(2), i.MemoryOperand());
break;
- case kArm64LoadWord16:
+ case kArm64Ldrh:
__ Ldrh(i.OutputRegister(), i.MemoryOperand());
break;
- case kArm64StoreWord16:
+ case kArm64Ldrsh:
+ __ Ldrsh(i.OutputRegister(), i.MemoryOperand());
+ break;
+ case kArm64Strh:
__ Strh(i.InputRegister(2), i.MemoryOperand());
break;
- case kArm64LoadWord32:
+ case kArm64LdrW:
__ Ldr(i.OutputRegister32(), i.MemoryOperand());
break;
- case kArm64StoreWord32:
+ case kArm64StrW:
__ Str(i.InputRegister32(2), i.MemoryOperand());
break;
- case kArm64LoadWord64:
+ case kArm64Ldr:
__ Ldr(i.OutputRegister(), i.MemoryOperand());
break;
- case kArm64StoreWord64:
+ case kArm64Str:
__ Str(i.InputRegister(2), i.MemoryOperand());
break;
- case kArm64Float64Load:
+ case kArm64LdrD:
__ Ldr(i.OutputDoubleRegister(), i.MemoryOperand());
break;
- case kArm64Float64Store:
+ case kArm64StrD:
__ Str(i.InputDoubleRegister(2), i.MemoryOperand());
break;
case kArm64StoreWriteBarrier: {
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/arm64/instruction-codes-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698