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

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

Issue 6532054: X64 Crankshaft: Implement MathRound, MathFloor, MathSqrt, and MathPowHalf Una... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 switch (op) { 1216 switch (op) {
1217 case kMathAbs: 1217 case kMathAbs:
1218 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); 1218 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result)));
1219 case kMathFloor: 1219 case kMathFloor:
1220 return AssignEnvironment(DefineAsRegister(result)); 1220 return AssignEnvironment(DefineAsRegister(result));
1221 case kMathRound: 1221 case kMathRound:
1222 return AssignEnvironment(DefineAsRegister(result)); 1222 return AssignEnvironment(DefineAsRegister(result));
1223 case kMathSqrt: 1223 case kMathSqrt:
1224 return DefineSameAsFirst(result); 1224 return DefineSameAsFirst(result);
1225 case kMathPowHalf: 1225 case kMathPowHalf:
1226 return AssignEnvironment(DefineSameAsFirst(result)); 1226 return DefineSameAsFirst(result);
1227 default: 1227 default:
1228 UNREACHABLE(); 1228 UNREACHABLE();
1229 return NULL; 1229 return NULL;
1230 } 1230 }
1231 } 1231 }
1232 } 1232 }
1233 1233
1234 1234
1235 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { 1235 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) {
1236 ASSERT(instr->key()->representation().IsTagged()); 1236 ASSERT(instr->key()->representation().IsTagged());
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
2061 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2061 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2062 HEnvironment* outer = current_block_->last_environment()->outer(); 2062 HEnvironment* outer = current_block_->last_environment()->outer();
2063 current_block_->UpdateEnvironment(outer); 2063 current_block_->UpdateEnvironment(outer);
2064 return NULL; 2064 return NULL;
2065 } 2065 }
2066 2066
2067 2067
2068 } } // namespace v8::internal 2068 } } // namespace v8::internal
2069 2069
2070 #endif // V8_TARGET_ARCH_IA32 2070 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698