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

Unified Diff: src/x87/disasm-x87.cc

Issue 579713002: X87: enable the crankshaft compiler for X87 port. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: rebase code Created 6 years, 3 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
« no previous file with comments | « src/x87/deoptimizer-x87.cc ('k') | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x87/disasm-x87.cc
diff --git a/src/x87/disasm-x87.cc b/src/x87/disasm-x87.cc
index 53a8c2906703668e9622611fabbbce8d5b551426..46d92b3286791b047cf7516ebd3296c99d1070b4 100644
--- a/src/x87/disasm-x87.cc
+++ b/src/x87/disasm-x87.cc
@@ -702,7 +702,8 @@ int DisassemblerX87::MemoryFPUInstruction(int escape_opcode,
case 0: mnem = "fld_s"; break;
case 2: mnem = "fst_s"; break;
case 3: mnem = "fstp_s"; break;
- case 7: mnem = "fstcw"; break;
+ case 5: mnem = "fldcw"; break;
+ case 7: mnem = "fnstcw"; break;
default: UnimplementedInstruction();
}
break;
@@ -716,11 +717,19 @@ int DisassemblerX87::MemoryFPUInstruction(int escape_opcode,
}
break;
+ case 0xDC: switch (regop) {
+ case 0: mnem = "fadd_d"; break;
+ default: UnimplementedInstruction();
+ }
+ break;
+
case 0xDD: switch (regop) {
case 0: mnem = "fld_d"; break;
case 1: mnem = "fisttp_d"; break;
case 2: mnem = "fst_d"; break;
case 3: mnem = "fstp_d"; break;
+ case 4: mnem = "frstor"; break;
+ case 6: mnem = "fnsave"; break;
default: UnimplementedInstruction();
}
break;
« no previous file with comments | « src/x87/deoptimizer-x87.cc ('k') | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698