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

Side by Side Diff: src/x64/macro-assembler-x64.cc

Issue 6764015: Made test.py not mention the defunct --crankshaft flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: git cl dcommit Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | tools/test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2181 matching lines...) Expand 10 before | Expand all | Expand 10 after
2192 2192
2193 2193
2194 void MacroAssembler::EnterExitFrameEpilogue(int arg_stack_space, 2194 void MacroAssembler::EnterExitFrameEpilogue(int arg_stack_space,
2195 bool save_doubles) { 2195 bool save_doubles) {
2196 #ifdef _WIN64 2196 #ifdef _WIN64
2197 const int kShadowSpace = 4; 2197 const int kShadowSpace = 4;
2198 arg_stack_space += kShadowSpace; 2198 arg_stack_space += kShadowSpace;
2199 #endif 2199 #endif
2200 // Optionally save all XMM registers. 2200 // Optionally save all XMM registers.
2201 if (save_doubles) { 2201 if (save_doubles) {
2202 CpuFeatures::Scope scope(SSE2);
2203 int space = XMMRegister::kNumRegisters * kDoubleSize + 2202 int space = XMMRegister::kNumRegisters * kDoubleSize +
2204 arg_stack_space * kPointerSize; 2203 arg_stack_space * kPointerSize;
2205 subq(rsp, Immediate(space)); 2204 subq(rsp, Immediate(space));
2206 int offset = -2 * kPointerSize; 2205 int offset = -2 * kPointerSize;
2207 for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; i++) { 2206 for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; i++) {
2208 XMMRegister reg = XMMRegister::FromAllocationIndex(i); 2207 XMMRegister reg = XMMRegister::FromAllocationIndex(i);
2209 movsd(Operand(rbp, offset - ((i + 1) * kDoubleSize)), reg); 2208 movsd(Operand(rbp, offset - ((i + 1) * kDoubleSize)), reg);
2210 } 2209 }
2211 } else if (arg_stack_space > 0) { 2210 } else if (arg_stack_space > 0) {
2212 subq(rsp, Immediate(arg_stack_space * kPointerSize)); 2211 subq(rsp, Immediate(arg_stack_space * kPointerSize));
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
2898 CPU::FlushICache(address_, size_); 2897 CPU::FlushICache(address_, size_);
2899 2898
2900 // Check that the code was patched as expected. 2899 // Check that the code was patched as expected.
2901 ASSERT(masm_.pc_ == address_ + size_); 2900 ASSERT(masm_.pc_ == address_ + size_);
2902 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); 2901 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap);
2903 } 2902 }
2904 2903
2905 } } // namespace v8::internal 2904 } } // namespace v8::internal
2906 2905
2907 #endif // V8_TARGET_ARCH_X64 2906 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | tools/test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698