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 c041e15366db11a50b7b98b98fc4aeed27795f66..da229d85d007d9d33c05471a059d0917bd156889 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -319,22 +319,22 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Sub(i.OutputRegister32(), i.InputRegister32(0), i.InputOperand32(1)); |
} |
break; |
- case kArm64Shl: |
+ case kArm64Lsl: |
ASSEMBLE_SHIFT(Lsl, 64); |
break; |
- case kArm64Shl32: |
+ case kArm64Lsl32: |
ASSEMBLE_SHIFT(Lsl, 32); |
break; |
- case kArm64Shr: |
+ case kArm64Lsr: |
ASSEMBLE_SHIFT(Lsr, 64); |
break; |
- case kArm64Shr32: |
+ case kArm64Lsr32: |
ASSEMBLE_SHIFT(Lsr, 32); |
break; |
- case kArm64Sar: |
+ case kArm64Asr: |
ASSEMBLE_SHIFT(Asr, 64); |
break; |
- case kArm64Sar32: |
+ case kArm64Asr32: |
ASSEMBLE_SHIFT(Asr, 32); |
break; |
case kArm64Ror: |
@@ -349,6 +349,14 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArm64Sxtw: |
__ Sxtw(i.OutputRegister(), i.InputRegister32(0)); |
break; |
+ case kArm64Ubfx: |
+ __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt8(1), |
+ i.InputInt8(2)); |
+ break; |
+ case kArm64Ubfx32: |
+ __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt8(1), |
+ i.InputInt8(2)); |
+ break; |
case kArm64Claim: { |
int words = MiscField::decode(instr->opcode()); |
__ Claim(words); |