Index: src/mips64/assembler-mips64.h |
diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h |
index 98e712455eff2572f79cb7341cb141cf43105a68..2312bfbbe2e38a9e478ae127180670205b0dd187 100644 |
--- a/src/mips64/assembler-mips64.h |
+++ b/src/mips64/assembler-mips64.h |
@@ -1159,15 +1159,45 @@ class Assembler : public AssemblerBase { |
// MSA instructions |
void bz_v(MSARegister wt, int16_t offset); |
+ inline void bz_v(MSARegister wt, Label* L) { |
+ bz_v(wt, shifted_branch_offset(L)); |
+ } |
void bz_b(MSARegister wt, int16_t offset); |
+ inline void bz_b(MSARegister wt, Label* L) { |
+ bz_b(wt, shifted_branch_offset(L)); |
+ } |
void bz_h(MSARegister wt, int16_t offset); |
+ inline void bz_h(MSARegister wt, Label* L) { |
+ bz_h(wt, shifted_branch_offset(L)); |
+ } |
void bz_w(MSARegister wt, int16_t offset); |
+ inline void bz_w(MSARegister wt, Label* L) { |
+ bz_w(wt, shifted_branch_offset(L)); |
+ } |
void bz_d(MSARegister wt, int16_t offset); |
+ inline void bz_d(MSARegister wt, Label* L) { |
+ bz_d(wt, shifted_branch_offset(L)); |
+ } |
void bnz_v(MSARegister wt, int16_t offset); |
+ inline void bnz_v(MSARegister wt, Label* L) { |
+ bnz_v(wt, shifted_branch_offset(L)); |
+ } |
void bnz_b(MSARegister wt, int16_t offset); |
+ inline void bnz_b(MSARegister wt, Label* L) { |
+ bnz_b(wt, shifted_branch_offset(L)); |
+ } |
void bnz_h(MSARegister wt, int16_t offset); |
+ inline void bnz_h(MSARegister wt, Label* L) { |
+ bnz_h(wt, shifted_branch_offset(L)); |
+ } |
void bnz_w(MSARegister wt, int16_t offset); |
+ inline void bnz_w(MSARegister wt, Label* L) { |
+ bnz_w(wt, shifted_branch_offset(L)); |
+ } |
void bnz_d(MSARegister wt, int16_t offset); |
+ inline void bnz_d(MSARegister wt, Label* L) { |
+ bnz_d(wt, shifted_branch_offset(L)); |
+ } |
void ld_b(MSARegister wd, const MemOperand& rs); |
void ld_h(MSARegister wd, const MemOperand& rs); |
@@ -1827,6 +1857,7 @@ class Assembler : public AssemblerBase { |
// Check if an instruction is a branch of some kind. |
static bool IsBranch(Instr instr); |
+ static bool IsMsaBranch(Instr instr); |
static bool IsBc(Instr instr); |
static bool IsBzc(Instr instr); |