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

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

Powered by Google App Engine
This is Rietveld 408576698