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/ia32/builtins-ia32.cc

Issue 275433004: Require SSE2 support for the ia32 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « src/ia32/assembler-ia32.cc ('k') | src/ia32/code-stubs-ia32.h » ('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 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_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "codegen.h" 9 #include "codegen.h"
10 #include "deoptimizer.h" 10 #include "deoptimizer.h"
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 __ ret(0); // Return to IC Miss stub, continuation still on stack. 670 __ ret(0); // Return to IC Miss stub, continuation still on stack.
671 } 671 }
672 672
673 673
674 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { 674 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
675 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); 675 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs);
676 } 676 }
677 677
678 678
679 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { 679 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) {
680 if (Serializer::enabled(masm->isolate())) { 680 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
681 PlatformFeatureScope sse2(masm->isolate(), SSE2);
682 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
683 } else {
684 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
685 }
686 } 681 }
687 682
688 683
689 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, 684 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm,
690 Deoptimizer::BailoutType type) { 685 Deoptimizer::BailoutType type) {
691 { 686 {
692 FrameScope scope(masm, StackFrame::INTERNAL); 687 FrameScope scope(masm, StackFrame::INTERNAL);
693 688
694 // Pass deoptimization type to the runtime system. 689 // Pass deoptimization type to the runtime system.
695 __ push(Immediate(Smi::FromInt(static_cast<int>(type)))); 690 __ push(Immediate(Smi::FromInt(static_cast<int>(type))));
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 1434
1440 __ bind(&ok); 1435 __ bind(&ok);
1441 __ ret(0); 1436 __ ret(0);
1442 } 1437 }
1443 1438
1444 #undef __ 1439 #undef __
1445 } 1440 }
1446 } // namespace v8::internal 1441 } // namespace v8::internal
1447 1442
1448 #endif // V8_TARGET_ARCH_IA32 1443 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698