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

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

Issue 669272: Added sqrt and pow for arm and x64 - to fix build failures. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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/arm/codegen-arm.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 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // Fast support for StringCompare. 390 // Fast support for StringCompare.
391 void GenerateStringCompare(ZoneList<Expression*>* args); 391 void GenerateStringCompare(ZoneList<Expression*>* args);
392 392
393 // Support for direct calls from JavaScript to native RegExp code. 393 // Support for direct calls from JavaScript to native RegExp code.
394 void GenerateRegExpExec(ZoneList<Expression*>* args); 394 void GenerateRegExpExec(ZoneList<Expression*>* args);
395 395
396 // Fast support for number to string. 396 // Fast support for number to string.
397 void GenerateNumberToString(ZoneList<Expression*>* args); 397 void GenerateNumberToString(ZoneList<Expression*>* args);
398 398
399 // Fast support for Math.pow(). 399 // Fast support for Math.pow().
400 void GeneratePow(ZoneList<Expression*>* args); 400 void GenerateMathPow(ZoneList<Expression*>* args);
401 401
402 // Fast call to sine function. 402 // Fast call to sine function.
403 void GenerateMathSin(ZoneList<Expression*>* args); 403 void GenerateMathSin(ZoneList<Expression*>* args);
404 void GenerateMathCos(ZoneList<Expression*>* args); 404 void GenerateMathCos(ZoneList<Expression*>* args);
405 405
406 // Fast support for Math.pow().
407 void GenerateMathSqrt(ZoneList<Expression*>* args);
408
406 // Simple condition analysis. 409 // Simple condition analysis.
407 enum ConditionAnalysis { 410 enum ConditionAnalysis {
408 ALWAYS_TRUE, 411 ALWAYS_TRUE,
409 ALWAYS_FALSE, 412 ALWAYS_FALSE,
410 DONT_KNOW 413 DONT_KNOW
411 }; 414 };
412 ConditionAnalysis AnalyzeCondition(Expression* cond); 415 ConditionAnalysis AnalyzeCondition(Expression* cond);
413 416
414 // Methods used to indicate which source code is generated for. Source 417 // Methods used to indicate which source code is generated for. Source
415 // positions are collected by the assembler and emitted with the relocation 418 // positions are collected by the assembler and emitted with the relocation
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 Major MajorKey() { return StringCompare; } 655 Major MajorKey() { return StringCompare; }
653 int MinorKey() { return 0; } 656 int MinorKey() { return 0; }
654 657
655 void Generate(MacroAssembler* masm); 658 void Generate(MacroAssembler* masm);
656 }; 659 };
657 660
658 661
659 } } // namespace v8::internal 662 } } // namespace v8::internal
660 663
661 #endif // V8_ARM_CODEGEN_ARM_H_ 664 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698