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

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

Issue 12374046: Tweak register allocation for Math.round and do not use roundsd. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 | « 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 LOperand* key, 279 LOperand* key,
280 Representation key_representation, 280 Representation key_representation,
281 ElementsKind elements_kind, 281 ElementsKind elements_kind,
282 uint32_t offset, 282 uint32_t offset,
283 uint32_t additional_index = 0); 283 uint32_t additional_index = 0);
284 284
285 // Specific math operations - used from DoUnaryMathOperation. 285 // Specific math operations - used from DoUnaryMathOperation.
286 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 286 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
287 void DoMathAbs(LUnaryMathOperation* instr); 287 void DoMathAbs(LUnaryMathOperation* instr);
288 void DoMathFloor(LUnaryMathOperation* instr); 288 void DoMathFloor(LUnaryMathOperation* instr);
289 void DoMathRound(LUnaryMathOperation* instr);
290 void DoMathSqrt(LUnaryMathOperation* instr); 289 void DoMathSqrt(LUnaryMathOperation* instr);
291 void DoMathLog(LUnaryMathOperation* instr); 290 void DoMathLog(LUnaryMathOperation* instr);
292 void DoMathTan(LUnaryMathOperation* instr); 291 void DoMathTan(LUnaryMathOperation* instr);
293 void DoMathCos(LUnaryMathOperation* instr); 292 void DoMathCos(LUnaryMathOperation* instr);
294 void DoMathSin(LUnaryMathOperation* instr); 293 void DoMathSin(LUnaryMathOperation* instr);
295 294
296 // Support for recording safepoint and position information. 295 // Support for recording safepoint and position information.
297 void RecordSafepoint(LPointerMap* pointers, 296 void RecordSafepoint(LPointerMap* pointers,
298 Safepoint::Kind kind, 297 Safepoint::Kind kind,
299 int arguments, 298 int arguments,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 LCodeGen* codegen_; 466 LCodeGen* codegen_;
468 Label entry_; 467 Label entry_;
469 Label exit_; 468 Label exit_;
470 Label* external_exit_; 469 Label* external_exit_;
471 int instruction_index_; 470 int instruction_index_;
472 }; 471 };
473 472
474 } } // namespace v8::internal 473 } } // namespace v8::internal
475 474
476 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 475 #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