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

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

Issue 2114613002: [intrinsics] Drop the now obsolete %_DoubleHi and %_DoubleLo intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/s390/lithium-s390.h ('k') | src/crankshaft/x64/lithium-codegen-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/s390/lithium-s390.h" 5 #include "src/crankshaft/s390/lithium-s390.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/lithium-inl.h" 10 #include "src/crankshaft/lithium-inl.h"
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after
1780 } else if (input_rep.IsInteger32()) { 1780 } else if (input_rep.IsInteger32()) {
1781 return DefineAsRegister(new (zone()) LClampIToUint8(reg)); 1781 return DefineAsRegister(new (zone()) LClampIToUint8(reg));
1782 } else { 1782 } else {
1783 DCHECK(input_rep.IsSmiOrTagged()); 1783 DCHECK(input_rep.IsSmiOrTagged());
1784 LClampTToUint8* result = 1784 LClampTToUint8* result =
1785 new (zone()) LClampTToUint8(reg, TempDoubleRegister()); 1785 new (zone()) LClampTToUint8(reg, TempDoubleRegister());
1786 return AssignEnvironment(DefineAsRegister(result)); 1786 return AssignEnvironment(DefineAsRegister(result));
1787 } 1787 }
1788 } 1788 }
1789 1789
1790 LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) {
1791 HValue* value = instr->value();
1792 DCHECK(value->representation().IsDouble());
1793 return DefineAsRegister(new (zone()) LDoubleBits(UseRegister(value)));
1794 }
1795
1796 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { 1790 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) {
1797 LOperand* context = info()->IsStub() ? UseFixed(instr->context(), cp) : NULL; 1791 LOperand* context = info()->IsStub() ? UseFixed(instr->context(), cp) : NULL;
1798 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); 1792 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count());
1799 return new (zone()) 1793 return new (zone())
1800 LReturn(UseFixed(instr->value(), r2), context, parameter_count); 1794 LReturn(UseFixed(instr->value(), r2), context, parameter_count);
1801 } 1795 }
1802 1796
1803 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { 1797 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) {
1804 Representation r = instr->representation(); 1798 Representation r = instr->representation();
1805 if (r.IsSmi()) { 1799 if (r.IsSmi()) {
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
2264 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2258 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2265 LOperand* object = UseRegister(instr->object()); 2259 LOperand* object = UseRegister(instr->object());
2266 LOperand* index = UseTempRegister(instr->index()); 2260 LOperand* index = UseTempRegister(instr->index());
2267 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); 2261 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index);
2268 LInstruction* result = DefineSameAsFirst(load); 2262 LInstruction* result = DefineSameAsFirst(load);
2269 return AssignPointerMap(result); 2263 return AssignPointerMap(result);
2270 } 2264 }
2271 2265
2272 } // namespace internal 2266 } // namespace internal
2273 } // namespace v8 2267 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-s390.h ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698