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

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

Issue 652041: IA32: Native access to TranscendentalCache for sin/cos. (Closed)
Patch Set: Updated to head. Removed dead code. Ignore first patch. Created 10 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
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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 565
566 // Fast support for StringCompare. 566 // Fast support for StringCompare.
567 void GenerateStringCompare(ZoneList<Expression*>* args); 567 void GenerateStringCompare(ZoneList<Expression*>* args);
568 568
569 // Support for direct calls from JavaScript to native RegExp code. 569 // Support for direct calls from JavaScript to native RegExp code.
570 void GenerateRegExpExec(ZoneList<Expression*>* args); 570 void GenerateRegExpExec(ZoneList<Expression*>* args);
571 571
572 // Fast support for number to string. 572 // Fast support for number to string.
573 void GenerateNumberToString(ZoneList<Expression*>* args); 573 void GenerateNumberToString(ZoneList<Expression*>* args);
574 574
575 // Simple condition analysis. 575 // Fast call to math functions.
576 void GenerateMathSin(ZoneList<Expression*>* args);
577 void GenerateMathCos(ZoneList<Expression*>* args);
578
579 // Simple condition analysis.
576 enum ConditionAnalysis { 580 enum ConditionAnalysis {
577 ALWAYS_TRUE, 581 ALWAYS_TRUE,
578 ALWAYS_FALSE, 582 ALWAYS_FALSE,
579 DONT_KNOW 583 DONT_KNOW
580 }; 584 };
581 ConditionAnalysis AnalyzeCondition(Expression* cond); 585 ConditionAnalysis AnalyzeCondition(Expression* cond);
582 586
583 // Methods used to indicate which source code is generated for. Source 587 // Methods used to indicate which source code is generated for. Source
584 // positions are collected by the assembler and emitted with the relocation 588 // positions are collected by the assembler and emitted with the relocation
585 // information. 589 // information.
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 Major MajorKey() { return StringCompare; } 824 Major MajorKey() { return StringCompare; }
821 int MinorKey() { return 0; } 825 int MinorKey() { return 0; }
822 826
823 void Generate(MacroAssembler* masm); 827 void Generate(MacroAssembler* masm);
824 }; 828 };
825 829
826 830
827 } } // namespace v8::internal 831 } } // namespace v8::internal
828 832
829 #endif // V8_X64_CODEGEN_X64_H_ 833 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« src/ia32/disasm-ia32.cc ('K') | « src/v8-counters.h ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698