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

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

Issue 8700004: Implement Math.tan in generated code. (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
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 DoubleRegister ToDoubleRegister(int index) const; 235 DoubleRegister ToDoubleRegister(int index) const;
236 236
237 // Specific math operations - used from DoUnaryMathOperation. 237 // Specific math operations - used from DoUnaryMathOperation.
238 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 238 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
239 void DoMathAbs(LUnaryMathOperation* instr); 239 void DoMathAbs(LUnaryMathOperation* instr);
240 void DoMathFloor(LUnaryMathOperation* instr); 240 void DoMathFloor(LUnaryMathOperation* instr);
241 void DoMathRound(LUnaryMathOperation* instr); 241 void DoMathRound(LUnaryMathOperation* instr);
242 void DoMathSqrt(LUnaryMathOperation* instr); 242 void DoMathSqrt(LUnaryMathOperation* instr);
243 void DoMathPowHalf(LUnaryMathOperation* instr); 243 void DoMathPowHalf(LUnaryMathOperation* instr);
244 void DoMathLog(LUnaryMathOperation* instr); 244 void DoMathLog(LUnaryMathOperation* instr);
245 void DoMathTan(LUnaryMathOperation* instr);
245 void DoMathCos(LUnaryMathOperation* instr); 246 void DoMathCos(LUnaryMathOperation* instr);
246 void DoMathSin(LUnaryMathOperation* instr); 247 void DoMathSin(LUnaryMathOperation* instr);
247 248
248 // Support for recording safepoint and position information. 249 // Support for recording safepoint and position information.
249 void RecordSafepoint(LPointerMap* pointers, 250 void RecordSafepoint(LPointerMap* pointers,
250 Safepoint::Kind kind, 251 Safepoint::Kind kind,
251 int arguments, 252 int arguments,
252 Safepoint::DeoptMode mode); 253 Safepoint::DeoptMode mode);
253 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 254 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
254 void RecordSafepoint(Safepoint::DeoptMode mode); 255 void RecordSafepoint(Safepoint::DeoptMode mode);
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 LCodeGen* codegen_; 418 LCodeGen* codegen_;
418 Label entry_; 419 Label entry_;
419 Label exit_; 420 Label exit_;
420 Label* external_exit_; 421 Label* external_exit_;
421 int instruction_index_; 422 int instruction_index_;
422 }; 423 };
423 424
424 } } // namespace v8::internal 425 } } // namespace v8::internal
425 426
426 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 427 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698