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

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

Issue 5741003: Allow optimizing compiler to compute Math.log using untagged doubles. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/code-stubs.h » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 switch (op) { 1347 switch (op) {
1348 case kMathAbs: 1348 case kMathAbs:
1349 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); 1349 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result)));
1350 case kMathFloor: 1350 case kMathFloor:
1351 return AssignEnvironment(DefineAsRegister(result)); 1351 return AssignEnvironment(DefineAsRegister(result));
1352 case kMathSqrt: 1352 case kMathSqrt:
1353 return DefineSameAsFirst(result); 1353 return DefineSameAsFirst(result);
1354 case kMathPowHalf: 1354 case kMathPowHalf:
1355 Abort("MathPowHalf LUnaryMathOperation not implemented"); 1355 Abort("MathPowHalf LUnaryMathOperation not implemented");
1356 return NULL; 1356 return NULL;
1357 case kMathLog:
1358 Abort("MathLog LUnaryMathOperation not implemented");
1359 return NULL;
1357 default: 1360 default:
1358 UNREACHABLE(); 1361 UNREACHABLE();
1359 return NULL; 1362 return NULL;
1360 } 1363 }
1361 } 1364 }
1362 1365
1363 1366
1364 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { 1367 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) {
1365 ASSERT(instr->key()->representation().IsTagged()); 1368 ASSERT(instr->key()->representation().IsTagged());
1366 argument_count_ -= instr->argument_count(); 1369 argument_count_ -= instr->argument_count();
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
2077 void LPointerMap::PrintTo(StringStream* stream) const { 2080 void LPointerMap::PrintTo(StringStream* stream) const {
2078 stream->Add("{"); 2081 stream->Add("{");
2079 for (int i = 0; i < pointer_operands_.length(); ++i) { 2082 for (int i = 0; i < pointer_operands_.length(); ++i) {
2080 if (i != 0) stream->Add(";"); 2083 if (i != 0) stream->Add(";");
2081 pointer_operands_[i]->PrintTo(stream); 2084 pointer_operands_[i]->PrintTo(stream);
2082 } 2085 }
2083 stream->Add("} @%d", position()); 2086 stream->Add("} @%d", position());
2084 } 2087 }
2085 2088
2086 } } // namespace v8::internal 2089 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698