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

Side by Side Diff: src/arm/code-stubs-arm.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
« no previous file with comments | « no previous file | src/arm/deoptimizer-arm.cc » ('j') | src/ia32/assembler-ia32.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "bootstrapper.h" 9 #include "bootstrapper.h"
10 #include "code-stubs.h" 10 #include "code-stubs.h"
(...skipping 4427 matching lines...) Expand 10 before | Expand all | Expand 10 after
4438 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( 4438 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(
4439 Isolate* isolate) { 4439 Isolate* isolate) {
4440 StoreBufferOverflowStub stub1(isolate, kDontSaveFPRegs); 4440 StoreBufferOverflowStub stub1(isolate, kDontSaveFPRegs);
4441 stub1.GetCode(); 4441 stub1.GetCode();
4442 // Hydrogen code stubs need stub2 at snapshot time. 4442 // Hydrogen code stubs need stub2 at snapshot time.
4443 StoreBufferOverflowStub stub2(isolate, kSaveFPRegs); 4443 StoreBufferOverflowStub stub2(isolate, kSaveFPRegs);
4444 stub2.GetCode(); 4444 stub2.GetCode();
4445 } 4445 }
4446 4446
4447 4447
4448 bool CodeStub::CanUseFPRegisters() {
4449 return true; // VFP2 is a base requirement for V8
4450 }
4451
4452
4453 // Takes the input in 3 registers: address_ value_ and object_. A pointer to 4448 // Takes the input in 3 registers: address_ value_ and object_. A pointer to
4454 // the value has just been written into the object, now this stub makes sure 4449 // the value has just been written into the object, now this stub makes sure
4455 // we keep the GC informed. The word in the object where the value has been 4450 // we keep the GC informed. The word in the object where the value has been
4456 // written is in the address register. 4451 // written is in the address register.
4457 void RecordWriteStub::Generate(MacroAssembler* masm) { 4452 void RecordWriteStub::Generate(MacroAssembler* masm) {
4458 Label skip_to_incremental_noncompacting; 4453 Label skip_to_incremental_noncompacting;
4459 Label skip_to_incremental_compacting; 4454 Label skip_to_incremental_compacting;
4460 4455
4461 // The first two instructions are generated with labels so as to get the 4456 // The first two instructions are generated with labels so as to get the
4462 // offset fixed up correctly by the bind(Label*) call. We patch it back and 4457 // offset fixed up correctly by the bind(Label*) call. We patch it back and
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
5224 MemOperand(fp, 6 * kPointerSize), 5219 MemOperand(fp, 6 * kPointerSize),
5225 NULL); 5220 NULL);
5226 } 5221 }
5227 5222
5228 5223
5229 #undef __ 5224 #undef __
5230 5225
5231 } } // namespace v8::internal 5226 } } // namespace v8::internal
5232 5227
5233 #endif // V8_TARGET_ARCH_ARM 5228 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/deoptimizer-arm.cc » ('j') | src/ia32/assembler-ia32.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698