Reviewers: Lasse Reichstein, Description: X64: Fix floating point and integer instructions in assembler.
Please review this at http://codereview.chromium.org/151207 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/heap.cc M src/x64/assembler-x64.cc Index: src/x64/assembler-x64.cc =================================================================== --- src/x64/assembler-x64.cc (revision 2337) +++ src/x64/assembler-x64.cc (working copy) @@ -471,8 +471,8 @@ EnsureSpace ensure_space(this); last_pc_ = pc_; emit_optional_rex_32(dst); + if (is_int8(src.value_)) { emit(0x83); - if (is_int8(src.value_)) { emit_modrm(subcode, dst); emit(src.value_); } else if (dst.is(rax)) { @@ -1569,6 +1569,7 @@ void Assembler::fld_d(const Operand& adr) { EnsureSpace ensure_space(this); last_pc_ = pc_; + emit_optional_rex_32(adr); emit(0xDD); emit_operand(0, adr); } Index: src/heap.cc =================================================================== --- src/heap.cc (revision 2337) +++ src/heap.cc (working copy) @@ -86,7 +86,7 @@ #else int Heap::semispace_size_ = 8*MB; int Heap::old_generation_size_ = 512*MB; -int Heap::initial_semispace_size_ = 512*KB; +int Heap::initial_semispace_size_ = 4*MB; #endif GCCallback Heap::global_gc_prologue_callback_ = NULL; --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
