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

Side by Side Diff: src/crankshaft/x64/lithium-x64.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/x64/lithium-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-x64.h" 5 #include "src/crankshaft/x64/lithium-x64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_X64 9 #if V8_TARGET_ARCH_X64
10 10
(...skipping 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 } 1695 }
1696 1696
1697 1697
1698 LInstruction* LChunkBuilder::DoCompareHoleAndBranch( 1698 LInstruction* LChunkBuilder::DoCompareHoleAndBranch(
1699 HCompareHoleAndBranch* instr) { 1699 HCompareHoleAndBranch* instr) {
1700 LOperand* value = UseRegisterAtStart(instr->value()); 1700 LOperand* value = UseRegisterAtStart(instr->value());
1701 return new(zone()) LCmpHoleAndBranch(value); 1701 return new(zone()) LCmpHoleAndBranch(value);
1702 } 1702 }
1703 1703
1704 1704
1705 LInstruction* LChunkBuilder::DoCompareMinusZeroAndBranch(
1706 HCompareMinusZeroAndBranch* instr) {
1707 LOperand* value = UseRegister(instr->value());
1708 return new(zone()) LCompareMinusZeroAndBranch(value);
1709 }
1710
1711
1712 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) { 1705 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) {
1713 DCHECK(instr->value()->representation().IsTagged()); 1706 DCHECK(instr->value()->representation().IsTagged());
1714 LOperand* value = UseRegisterAtStart(instr->value()); 1707 LOperand* value = UseRegisterAtStart(instr->value());
1715 LOperand* temp = TempRegister(); 1708 LOperand* temp = TempRegister();
1716 return new(zone()) LIsStringAndBranch(value, temp); 1709 return new(zone()) LIsStringAndBranch(value, temp);
1717 } 1710 }
1718 1711
1719 1712
1720 LInstruction* LChunkBuilder::DoIsSmiAndBranch(HIsSmiAndBranch* instr) { 1713 LInstruction* LChunkBuilder::DoIsSmiAndBranch(HIsSmiAndBranch* instr) {
1721 DCHECK(instr->value()->representation().IsTagged()); 1714 DCHECK(instr->value()->representation().IsTagged());
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
2677 LAllocateBlockContext* result = 2670 LAllocateBlockContext* result =
2678 new(zone()) LAllocateBlockContext(context, function); 2671 new(zone()) LAllocateBlockContext(context, function);
2679 return MarkAsCall(DefineFixed(result, rsi), instr); 2672 return MarkAsCall(DefineFixed(result, rsi), instr);
2680 } 2673 }
2681 2674
2682 2675
2683 } // namespace internal 2676 } // namespace internal
2684 } // namespace v8 2677 } // namespace v8
2685 2678
2686 #endif // V8_TARGET_ARCH_X64 2679 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698