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 f3dcdbd4cfad86ec14b4b7c08f21151dfb6d2d94..2c0e8f5cdc2785a25cbb7110330da36be6969285 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -75,6 +75,10 @@ class Arm64OperandConverter FINAL : public InstructionOperandConverter { |
return Operand(InputRegister32(index), UXTB); |
case kMode_Operand2_R_UXTH: |
return Operand(InputRegister32(index), UXTH); |
+ case kMode_Operand2_R_SXTB: |
+ return Operand(InputRegister32(index), SXTB); |
+ case kMode_Operand2_R_SXTH: |
+ return Operand(InputRegister32(index), SXTH); |
case kMode_MRI: |
case kMode_MRR: |
break; |
@@ -99,6 +103,10 @@ class Arm64OperandConverter FINAL : public InstructionOperandConverter { |
return Operand(InputRegister64(index), UXTB); |
case kMode_Operand2_R_UXTH: |
return Operand(InputRegister64(index), UXTH); |
+ case kMode_Operand2_R_SXTB: |
+ return Operand(InputRegister64(index), SXTB); |
+ case kMode_Operand2_R_SXTH: |
+ return Operand(InputRegister64(index), SXTH); |
case kMode_MRI: |
case kMode_MRR: |
break; |
@@ -117,6 +125,8 @@ class Arm64OperandConverter FINAL : public InstructionOperandConverter { |
case kMode_Operand2_R_ROR_I: |
case kMode_Operand2_R_UXTB: |
case kMode_Operand2_R_UXTH: |
+ case kMode_Operand2_R_SXTB: |
+ case kMode_Operand2_R_SXTH: |
break; |
case kMode_MRI: |
*first_index += 2; |