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

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 8806010: Refactor MathPowHalf on ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . Created 9 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/ia32/lithium-codegen-ia32.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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 LOperand* key, 232 LOperand* key,
233 ElementsKind elements_kind, 233 ElementsKind elements_kind,
234 uint32_t offset); 234 uint32_t offset);
235 235
236 // Specific math operations - used from DoUnaryMathOperation. 236 // Specific math operations - used from DoUnaryMathOperation.
237 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 237 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
238 void DoMathAbs(LUnaryMathOperation* instr); 238 void DoMathAbs(LUnaryMathOperation* instr);
239 void DoMathFloor(LUnaryMathOperation* instr); 239 void DoMathFloor(LUnaryMathOperation* instr);
240 void DoMathRound(LUnaryMathOperation* instr); 240 void DoMathRound(LUnaryMathOperation* instr);
241 void DoMathSqrt(LUnaryMathOperation* instr); 241 void DoMathSqrt(LUnaryMathOperation* instr);
242 void DoMathPowHalf(LUnaryMathOperation* instr);
243 void DoMathLog(LUnaryMathOperation* instr); 242 void DoMathLog(LUnaryMathOperation* instr);
244 void DoMathTan(LUnaryMathOperation* instr); 243 void DoMathTan(LUnaryMathOperation* instr);
245 void DoMathCos(LUnaryMathOperation* instr); 244 void DoMathCos(LUnaryMathOperation* instr);
246 void DoMathSin(LUnaryMathOperation* instr); 245 void DoMathSin(LUnaryMathOperation* instr);
247 246
248 // Support for recording safepoint and position information. 247 // Support for recording safepoint and position information.
249 void RecordSafepoint(LPointerMap* pointers, 248 void RecordSafepoint(LPointerMap* pointers,
250 Safepoint::Kind kind, 249 Safepoint::Kind kind,
251 int arguments, 250 int arguments,
252 Safepoint::DeoptMode mode); 251 Safepoint::DeoptMode mode);
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 LCodeGen* codegen_; 384 LCodeGen* codegen_;
386 Label entry_; 385 Label entry_;
387 Label exit_; 386 Label exit_;
388 Label* external_exit_; 387 Label* external_exit_;
389 int instruction_index_; 388 int instruction_index_;
390 }; 389 };
391 390
392 } } // namespace v8::internal 391 } } // namespace v8::internal
393 392
394 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 393 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698