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

Side by Side Diff: src/crankshaft/arm/lithium-arm.cc

Issue 1680783002: [intrinsics] Kill the %_IsMinusZero intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « src/crankshaft/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('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 "src/crankshaft/arm/lithium-arm.h" 5 #include "src/crankshaft/arm/lithium-arm.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" 9 #include "src/crankshaft/arm/lithium-codegen-arm.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 } 1736 }
1737 1737
1738 1738
1739 LInstruction* LChunkBuilder::DoCompareHoleAndBranch( 1739 LInstruction* LChunkBuilder::DoCompareHoleAndBranch(
1740 HCompareHoleAndBranch* instr) { 1740 HCompareHoleAndBranch* instr) {
1741 LOperand* value = UseRegisterAtStart(instr->value()); 1741 LOperand* value = UseRegisterAtStart(instr->value());
1742 return new(zone()) LCmpHoleAndBranch(value); 1742 return new(zone()) LCmpHoleAndBranch(value);
1743 } 1743 }
1744 1744
1745 1745
1746 LInstruction* LChunkBuilder::DoCompareMinusZeroAndBranch(
1747 HCompareMinusZeroAndBranch* instr) {
1748 LOperand* value = UseRegister(instr->value());
1749 LOperand* scratch = TempRegister();
1750 return new(zone()) LCompareMinusZeroAndBranch(value, scratch);
1751 }
1752
1753
1754 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) { 1746 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) {
1755 DCHECK(instr->value()->representation().IsTagged()); 1747 DCHECK(instr->value()->representation().IsTagged());
1756 LOperand* value = UseRegisterAtStart(instr->value()); 1748 LOperand* value = UseRegisterAtStart(instr->value());
1757 LOperand* temp = TempRegister(); 1749 LOperand* temp = TempRegister();
1758 return new(zone()) LIsStringAndBranch(value, temp); 1750 return new(zone()) LIsStringAndBranch(value, temp);
1759 } 1751 }
1760 1752
1761 1753
1762 LInstruction* LChunkBuilder::DoIsSmiAndBranch(HIsSmiAndBranch* instr) { 1754 LInstruction* LChunkBuilder::DoIsSmiAndBranch(HIsSmiAndBranch* instr) {
1763 DCHECK(instr->value()->representation().IsTagged()); 1755 DCHECK(instr->value()->representation().IsTagged());
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 HAllocateBlockContext* instr) { 2612 HAllocateBlockContext* instr) {
2621 LOperand* context = UseFixed(instr->context(), cp); 2613 LOperand* context = UseFixed(instr->context(), cp);
2622 LOperand* function = UseRegisterAtStart(instr->function()); 2614 LOperand* function = UseRegisterAtStart(instr->function());
2623 LAllocateBlockContext* result = 2615 LAllocateBlockContext* result =
2624 new(zone()) LAllocateBlockContext(context, function); 2616 new(zone()) LAllocateBlockContext(context, function);
2625 return MarkAsCall(DefineFixed(result, cp), instr); 2617 return MarkAsCall(DefineFixed(result, cp), instr);
2626 } 2618 }
2627 2619
2628 } // namespace internal 2620 } // namespace internal
2629 } // namespace v8 2621 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698