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

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

Issue 8700004: Implement Math.tan in generated code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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
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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after
1619 } 1619 }
1620 1620
1621 1621
1622 void Assembler::fsin() { 1622 void Assembler::fsin() {
1623 EnsureSpace ensure_space(this); 1623 EnsureSpace ensure_space(this);
1624 EMIT(0xD9); 1624 EMIT(0xD9);
1625 EMIT(0xFE); 1625 EMIT(0xFE);
1626 } 1626 }
1627 1627
1628 1628
1629 void Assembler::fptan() {
1630 EnsureSpace ensure_space(this);
1631 EMIT(0xD9);
1632 EMIT(0xF2);
1633 }
1634
1635
1629 void Assembler::fyl2x() { 1636 void Assembler::fyl2x() {
1630 EnsureSpace ensure_space(this); 1637 EnsureSpace ensure_space(this);
1631 EMIT(0xD9); 1638 EMIT(0xD9);
1632 EMIT(0xF1); 1639 EMIT(0xF1);
1633 } 1640 }
1634 1641
1635 1642
1636 void Assembler::fadd(int i) { 1643 void Assembler::fadd(int i) {
1637 EnsureSpace ensure_space(this); 1644 EnsureSpace ensure_space(this);
1638 emit_farith(0xDC, 0xC0, i); 1645 emit_farith(0xDC, 0xC0, i);
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 fprintf(coverage_log, "%s\n", file_line); 2493 fprintf(coverage_log, "%s\n", file_line);
2487 fflush(coverage_log); 2494 fflush(coverage_log);
2488 } 2495 }
2489 } 2496 }
2490 2497
2491 #endif 2498 #endif
2492 2499
2493 } } // namespace v8::internal 2500 } } // namespace v8::internal
2494 2501
2495 #endif // V8_TARGET_ARCH_IA32 2502 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698