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

Side by Side Diff: src/arm/codegen-arm.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
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')
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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 // Fast support for StringCompare. 387 // Fast support for StringCompare.
388 void GenerateStringCompare(ZoneList<Expression*>* args); 388 void GenerateStringCompare(ZoneList<Expression*>* args);
389 389
390 // Support for direct calls from JavaScript to native RegExp code. 390 // Support for direct calls from JavaScript to native RegExp code.
391 void GenerateRegExpExec(ZoneList<Expression*>* args); 391 void GenerateRegExpExec(ZoneList<Expression*>* args);
392 392
393 // Fast support for number to string. 393 // Fast support for number to string.
394 void GenerateNumberToString(ZoneList<Expression*>* args); 394 void GenerateNumberToString(ZoneList<Expression*>* args);
395 395
396 // Fast call to sine function.
397 void GenerateMathSin(ZoneList<Expression*>* args);
398 void GenerateMathCos(ZoneList<Expression*>* args);
399
396 // Simple condition analysis. 400 // Simple condition analysis.
397 enum ConditionAnalysis { 401 enum ConditionAnalysis {
398 ALWAYS_TRUE, 402 ALWAYS_TRUE,
399 ALWAYS_FALSE, 403 ALWAYS_FALSE,
400 DONT_KNOW 404 DONT_KNOW
401 }; 405 };
402 ConditionAnalysis AnalyzeCondition(Expression* cond); 406 ConditionAnalysis AnalyzeCondition(Expression* cond);
403 407
404 // Methods used to indicate which source code is generated for. Source 408 // Methods used to indicate which source code is generated for. Source
405 // positions are collected by the assembler and emitted with the relocation 409 // positions are collected by the assembler and emitted with the relocation
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 Major MajorKey() { return StringCompare; } 616 Major MajorKey() { return StringCompare; }
613 int MinorKey() { return 0; } 617 int MinorKey() { return 0; }
614 618
615 void Generate(MacroAssembler* masm); 619 void Generate(MacroAssembler* masm);
616 }; 620 };
617 621
618 622
619 } } // namespace v8::internal 623 } } // namespace v8::internal
620 624
621 #endif // V8_ARM_CODEGEN_ARM_H_ 625 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698