Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 61a0c3a228fdc1d57c6c8e356942ce4800cefdba..3b3cfdb8acf80deb52b0f4bf1ae10090601d29ee 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -235,6 +235,14 @@ class MacroAssembler: public Assembler { |
mfc1(dst_high, FPURegister::from_code(src.code() + 1)); |
} |
+ inline void FmoveHigh(Register dst_high, FPURegister src) { |
+ mfc1(dst_high, FPURegister::from_code(src.code() + 1)); |
+ } |
+ |
+ inline void FmoveLow(Register dst_low, FPURegister src) { |
+ mfc1(dst_low, src); |
+ } |
+ |
inline void Move(FPURegister dst, Register src_low, Register src_high) { |
mtc1(src_low, dst); |
mtc1(src_high, FPURegister::from_code(dst.code() + 1)); |