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

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 275433004: Require SSE2 support for the ia32 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments. Created 6 years, 7 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "bootstrapper.h" 9 #include "bootstrapper.h"
10 #include "code-stubs.h" 10 #include "code-stubs.h"
(...skipping 4642 matching lines...) Expand 10 before | Expand all | Expand 10 after
4653 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( 4653 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(
4654 Isolate* isolate) { 4654 Isolate* isolate) {
4655 StoreBufferOverflowStub stub1(isolate, kDontSaveFPRegs); 4655 StoreBufferOverflowStub stub1(isolate, kDontSaveFPRegs);
4656 stub1.GetCode(); 4656 stub1.GetCode();
4657 // Hydrogen code stubs need stub2 at snapshot time. 4657 // Hydrogen code stubs need stub2 at snapshot time.
4658 StoreBufferOverflowStub stub2(isolate, kSaveFPRegs); 4658 StoreBufferOverflowStub stub2(isolate, kSaveFPRegs);
4659 stub2.GetCode(); 4659 stub2.GetCode();
4660 } 4660 }
4661 4661
4662 4662
4663 bool CodeStub::CanUseFPRegisters() {
4664 return true; // FPU is a base requirement for V8.
4665 }
4666
4667
4668 // Takes the input in 3 registers: address_ value_ and object_. A pointer to 4663 // Takes the input in 3 registers: address_ value_ and object_. A pointer to
4669 // the value has just been written into the object, now this stub makes sure 4664 // the value has just been written into the object, now this stub makes sure
4670 // we keep the GC informed. The word in the object where the value has been 4665 // we keep the GC informed. The word in the object where the value has been
4671 // written is in the address register. 4666 // written is in the address register.
4672 void RecordWriteStub::Generate(MacroAssembler* masm) { 4667 void RecordWriteStub::Generate(MacroAssembler* masm) {
4673 Label skip_to_incremental_noncompacting; 4668 Label skip_to_incremental_noncompacting;
4674 Label skip_to_incremental_compacting; 4669 Label skip_to_incremental_compacting;
4675 4670
4676 // The first two branch+nop instructions are generated with labels so as to 4671 // The first two branch+nop instructions are generated with labels so as to
4677 // get the offset fixed up correctly by the bind(Label*) call. We patch it 4672 // get the offset fixed up correctly by the bind(Label*) call. We patch it
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
5426 MemOperand(fp, 6 * kPointerSize), 5421 MemOperand(fp, 6 * kPointerSize),
5427 NULL); 5422 NULL);
5428 } 5423 }
5429 5424
5430 5425
5431 #undef __ 5426 #undef __
5432 5427
5433 } } // namespace v8::internal 5428 } } // namespace v8::internal
5434 5429
5435 #endif // V8_TARGET_ARCH_MIPS 5430 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« src/ia32/assembler-ia32.h ('K') | « src/ic.cc ('k') | src/mips/deoptimizer-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698