Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: src/x64/macro-assembler-x64.cc

Issue 300004: X64 Win64: Reimplement fmod so that it works. (Closed)
Patch Set: And it lints. Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/x64/macro-assembler-x64.cc
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
index a903f7a83ed83af69dad68a2267e3d4c46a7b5df..abae6f34871abe61bcfb63be09660cf71600b47a 100644
--- a/src/x64/macro-assembler-x64.cc
+++ b/src/x64/macro-assembler-x64.cc
@@ -1314,6 +1314,11 @@ void MacroAssembler::Push(Smi* source) {
}
William Hesse 2009/10/20 14:50:51 Can this load optimization, and the Operand + disp
Lasse Reichstein 2009/10/22 11:22:53 I'm dropping this approach, going for a replacemen
+void MacroAssembler::FLoadSmi(const Operand& src) {
+ fild_s(Operand(src, kIntSize));
+}
+
+
void MacroAssembler::Test(const Operand& src, Smi* source) {
intptr_t smi = reinterpret_cast<intptr_t>(source);
if (is_int32(smi)) {

Powered by Google App Engine
This is Rietveld 408576698