Index: src/mips64/constants-mips64.h |
diff --git a/src/mips64/constants-mips64.h b/src/mips64/constants-mips64.h |
index 91247e57a83cfc4583af05b4511a19c7f0313c7b..27477a20461268d7afef981f56beb1eada954f1e 100644 |
--- a/src/mips64/constants-mips64.h |
+++ b/src/mips64/constants-mips64.h |
@@ -122,6 +122,11 @@ const int kInvalidMSARegister = -1; |
const int kInvalidMSAControlRegister = -1; |
const int kMSAIRRegister = 0; |
const int kMSACSRRegister = 1; |
+const int kMSARegSize = 128; |
+const int kMSALanesByte = kMSARegSize / 8; |
+const int kMSALanesHalf = kMSARegSize / 16; |
+const int kMSALanesWord = kMSARegSize / 32; |
+const int kMSALanesDword = kMSARegSize / 64; |
// FPU (coprocessor 1) control registers. Currently only FCSR is implemented. |
const int kFCSRRegister = 31; |