Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 49881cfd0d2ffb24f8421d54b1a71dbfce390ae2..727b0542115325f1d4eb6b395bb6e838cca9affd 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -379,8 +379,9 @@ struct QwNeonRegister { |
} |
void split_code(int* vm, int* m) const { |
ASSERT(is_valid()); |
- *m = (code_ & 0x10) >> 4; |
- *vm = code_ & 0x0F; |
+ int encoded_code = code_ << 1; |
+ *m = (encoded_code & 0x10) >> 4; |
+ *vm = encoded_code & 0x0F; |
} |
int code_; |