Index: src/mips64/assembler-mips64.cc |
diff --git a/src/mips64/assembler-mips64.cc b/src/mips64/assembler-mips64.cc |
index f0d3eba6b67e1f3be8d53f481d54fcaae3f42963..c1ffa6c39b5a7b346b0e0cf028d1846e069e2017 100644 |
--- a/src/mips64/assembler-mips64.cc |
+++ b/src/mips64/assembler-mips64.cc |
@@ -1863,6 +1863,12 @@ void Assembler::drotr(Register rd, Register rt, uint16_t sa) { |
emit(instr); |
} |
+void Assembler::drotr32(Register rd, Register rt, uint16_t sa) { |
+ DCHECK(rd.is_valid() && rt.is_valid() && is_uint5(sa)); |
+ Instr instr = SPECIAL | (1 << kRsShift) | (rt.code() << kRtShift) | |
+ (rd.code() << kRdShift) | (sa << kSaShift) | DSRL32; |
+ emit(instr); |
+} |
void Assembler::drotrv(Register rd, Register rt, Register rs) { |
DCHECK(rd.is_valid() && rt.is_valid() && rs.is_valid() ); |