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

Side by Side Diff: src/crankshaft/mips64/lithium-mips64.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/mips64/lithium-mips64.h ('k') | src/crankshaft/ppc/lithium-codegen-ppc.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/mips64/lithium-mips64.h" 5 #include "src/crankshaft/mips64/lithium-mips64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after
1923 return DefineAsRegister(new(zone()) LClampIToUint8(reg)); 1923 return DefineAsRegister(new(zone()) LClampIToUint8(reg));
1924 } else { 1924 } else {
1925 DCHECK(input_rep.IsSmiOrTagged()); 1925 DCHECK(input_rep.IsSmiOrTagged());
1926 LClampTToUint8* result = 1926 LClampTToUint8* result =
1927 new(zone()) LClampTToUint8(reg, TempDoubleRegister()); 1927 new(zone()) LClampTToUint8(reg, TempDoubleRegister());
1928 return AssignEnvironment(DefineAsRegister(result)); 1928 return AssignEnvironment(DefineAsRegister(result));
1929 } 1929 }
1930 } 1930 }
1931 1931
1932 1932
1933 LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) {
1934 HValue* value = instr->value();
1935 DCHECK(value->representation().IsDouble());
1936 return DefineAsRegister(new(zone()) LDoubleBits(UseRegister(value)));
1937 }
1938
1939
1940 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { 1933 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) {
1941 LOperand* context = info()->IsStub() 1934 LOperand* context = info()->IsStub()
1942 ? UseFixed(instr->context(), cp) 1935 ? UseFixed(instr->context(), cp)
1943 : NULL; 1936 : NULL;
1944 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); 1937 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count());
1945 return new(zone()) LReturn(UseFixed(instr->value(), v0), context, 1938 return new(zone()) LReturn(UseFixed(instr->value(), v0), context,
1946 parameter_count); 1939 parameter_count);
1947 } 1940 }
1948 1941
1949 1942
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
2458 LOperand* index = UseTempRegister(instr->index()); 2451 LOperand* index = UseTempRegister(instr->index());
2459 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2452 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2460 LInstruction* result = DefineSameAsFirst(load); 2453 LInstruction* result = DefineSameAsFirst(load);
2461 return AssignPointerMap(result); 2454 return AssignPointerMap(result);
2462 } 2455 }
2463 2456
2464 } // namespace internal 2457 } // namespace internal
2465 } // namespace v8 2458 } // namespace v8
2466 2459
2467 #endif // V8_TARGET_ARCH_MIPS64 2460 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-mips64.h ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698