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

Side by Side Diff: src/ia32/assembler-ia32.h

Issue 125121: Optimize Math.sin and Math.cos by avoiding runtime calls. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 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 | « src/codegen.cc ('k') | src/ia32/assembler-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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 651
652 void fist_s(const Operand& adr); 652 void fist_s(const Operand& adr);
653 653
654 void fistp_s(const Operand& adr); 654 void fistp_s(const Operand& adr);
655 void fistp_d(const Operand& adr); 655 void fistp_d(const Operand& adr);
656 656
657 void fisttp_s(const Operand& adr); 657 void fisttp_s(const Operand& adr);
658 658
659 void fabs(); 659 void fabs();
660 void fchs(); 660 void fchs();
661 void fcos();
662 void fsin();
661 663
662 void fadd(int i); 664 void fadd(int i);
663 void fsub(int i); 665 void fsub(int i);
664 void fmul(int i); 666 void fmul(int i);
665 void fdiv(int i); 667 void fdiv(int i);
666 668
667 void fisub_s(const Operand& adr); 669 void fisub_s(const Operand& adr);
668 670
669 void faddp(int i = 1); 671 void faddp(int i = 1);
670 void fsubp(int i = 1); 672 void fsubp(int i = 1);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 private: 857 private:
856 Assembler* assembler_; 858 Assembler* assembler_;
857 #ifdef DEBUG 859 #ifdef DEBUG
858 int space_before_; 860 int space_before_;
859 #endif 861 #endif
860 }; 862 };
861 863
862 } } // namespace v8::internal 864 } } // namespace v8::internal
863 865
864 #endif // V8_IA32_ASSEMBLER_IA32_H_ 866 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698