Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index ffcefe0b56ed4aa77e6a2e15d5100c486d48084a..89708aae5918b4109bcdcf66d1089a29af92d299 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -1637,6 +1637,13 @@ void Assembler::fld(int i) { |
} |
+void Assembler::fstp(int i) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit_farith(0xDD, 0xD8, i); |
+} |
+ |
+ |
void Assembler::fld1() { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |
@@ -1645,6 +1652,14 @@ void Assembler::fld1() { |
} |
+void Assembler::fldpi() { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ EMIT(0xD9); |
+ EMIT(0xEB); |
+} |
+ |
+ |
void Assembler::fldz() { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |
@@ -1685,6 +1700,14 @@ void Assembler::fstp_d(const Operand& adr) { |
} |
+void Assembler::fst_d(const Operand& adr) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ EMIT(0xDD); |
+ emit_operand(edx, adr); |
+} |
+ |
+ |
void Assembler::fild_s(const Operand& adr) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |