Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index a1d9c41a561f9156cfc484c4278b0ebe8d7fd64c..a5e048a28a5e7c59ca4d70aae51b95855e99a5b0 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -1481,6 +1481,22 @@ void MacroAssembler::Dext(Register rt, Register rs, uint16_t pos, |
} |
+void MacroAssembler::Dextm(Register rt, Register rs, uint16_t pos, |
+ uint16_t size) { |
+ DCHECK(pos < 32); |
+ DCHECK(size <= 64); |
+ dextm(rt, rs, pos, size); |
+} |
+ |
+ |
+void MacroAssembler::Dextu(Register rt, Register rs, uint16_t pos, |
+ uint16_t size) { |
+ DCHECK(pos >= 32 && pos < 64); |
+ DCHECK(size < 33); |
+ dextu(rt, rs, pos, size); |
+} |
+ |
+ |
void MacroAssembler::Dins(Register rt, Register rs, uint16_t pos, |
uint16_t size) { |
DCHECK(pos < 32); |