Index: src/mips64/assembler-mips64.cc |
diff --git a/src/mips64/assembler-mips64.cc b/src/mips64/assembler-mips64.cc |
index 747b7e27f132bf7d934e1c94b163589f76b3bb0b..8ec8f6da7682e31eb364be49938407ca245b2be3 100644 |
--- a/src/mips64/assembler-mips64.cc |
+++ b/src/mips64/assembler-mips64.cc |
@@ -2561,6 +2561,30 @@ void Assembler::dalign(Register rd, Register rs, Register rt, uint8_t bp) { |
GenInstrRegister(SPECIAL3, rs, rt, rd, sa, DBSHFL); |
} |
+void Assembler::wsbh(Register rd, Register rt) { |
+ DCHECK(kArchVariant == kMips64r2 || kArchVariant == kMips64r6); |
+ GenInstrRegister(SPECIAL3, zero_reg, rt, rd, WSBH, BSHFL); |
+} |
+ |
+void Assembler::dsbh(Register rd, Register rt) { |
+ DCHECK(kArchVariant == kMips64r2 || kArchVariant == kMips64r6); |
+ GenInstrRegister(SPECIAL3, zero_reg, rt, rd, DSBH, DBSHFL); |
+} |
+ |
+void Assembler::dshd(Register rd, Register rt) { |
+ DCHECK(kArchVariant == kMips64r2 || kArchVariant == kMips64r6); |
+ GenInstrRegister(SPECIAL3, zero_reg, rt, rd, DSHD, DBSHFL); |
+} |
+ |
+void Assembler::seh(Register rd, Register rt) { |
+ DCHECK(kArchVariant == kMips64r2 || kArchVariant == kMips64r6); |
+ GenInstrRegister(SPECIAL3, zero_reg, rt, rd, SEH, BSHFL); |
+} |
+ |
+void Assembler::seb(Register rd, Register rt) { |
+ DCHECK(kArchVariant == kMips64r2 || kArchVariant == kMips64r6); |
+ GenInstrRegister(SPECIAL3, zero_reg, rt, rd, SEB, BSHFL); |
+} |
// --------Coprocessor-instructions---------------- |
@@ -3468,7 +3492,6 @@ void Assembler::set_target_address_at(Isolate* isolate, Address pc, |
} |
} |
- |
} // namespace internal |
} // namespace v8 |