Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index 783d311b8b720f0eec2c520b3017faee46d17746..0537c272c70be5ddd9df5484de46f2765e4b4e47 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2026,6 +2026,7 @@ void Assembler::lwc1(FPURegister fd, const MemOperand& src) { |
void Assembler::ldc1(FPURegister fd, const MemOperand& src) { |
// Workaround for non-8-byte alignment of HeapNumber, convert 64-bit |
// load to two 32-bit loads. |
+ DCHECK(!src.rm().is(at)); |
if (IsFp64Mode()) { |
if (is_int16(src.offset_) && is_int16(src.offset_ + kIntSize)) { |
GenInstrImmediate(LWC1, src.rm(), fd, |
@@ -2071,6 +2072,8 @@ void Assembler::swc1(FPURegister fd, const MemOperand& src) { |
void Assembler::sdc1(FPURegister fd, const MemOperand& src) { |
// Workaround for non-8-byte alignment of HeapNumber, convert 64-bit |
// store to two 32-bit stores. |
+ DCHECK(!src.rm().is(at)); |
+ DCHECK(!src.rm().is(t8)); |
if (IsFp64Mode()) { |
if (is_int16(src.offset_) && is_int16(src.offset_ + kIntSize)) { |
GenInstrImmediate(SWC1, src.rm(), fd, |