OLD | NEW |
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 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 | 1765 |
1766 | 1766 |
1767 void Assembler::fldz() { | 1767 void Assembler::fldz() { |
1768 EnsureSpace ensure_space(this); | 1768 EnsureSpace ensure_space(this); |
1769 last_pc_ = pc_; | 1769 last_pc_ = pc_; |
1770 EMIT(0xD9); | 1770 EMIT(0xD9); |
1771 EMIT(0xEE); | 1771 EMIT(0xEE); |
1772 } | 1772 } |
1773 | 1773 |
1774 | 1774 |
| 1775 void Assembler::fldln2() { |
| 1776 EnsureSpace ensure_space(this); |
| 1777 last_pc_ = pc_; |
| 1778 EMIT(0xD9); |
| 1779 EMIT(0xED); |
| 1780 } |
| 1781 |
| 1782 |
1775 void Assembler::fld_s(const Operand& adr) { | 1783 void Assembler::fld_s(const Operand& adr) { |
1776 EnsureSpace ensure_space(this); | 1784 EnsureSpace ensure_space(this); |
1777 last_pc_ = pc_; | 1785 last_pc_ = pc_; |
1778 EMIT(0xD9); | 1786 EMIT(0xD9); |
1779 emit_operand(eax, adr); | 1787 emit_operand(eax, adr); |
1780 } | 1788 } |
1781 | 1789 |
1782 | 1790 |
1783 void Assembler::fld_d(const Operand& adr) { | 1791 void Assembler::fld_d(const Operand& adr) { |
1784 EnsureSpace ensure_space(this); | 1792 EnsureSpace ensure_space(this); |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1895 | 1903 |
1896 | 1904 |
1897 void Assembler::fsin() { | 1905 void Assembler::fsin() { |
1898 EnsureSpace ensure_space(this); | 1906 EnsureSpace ensure_space(this); |
1899 last_pc_ = pc_; | 1907 last_pc_ = pc_; |
1900 EMIT(0xD9); | 1908 EMIT(0xD9); |
1901 EMIT(0xFE); | 1909 EMIT(0xFE); |
1902 } | 1910 } |
1903 | 1911 |
1904 | 1912 |
| 1913 void Assembler::fyl2x() { |
| 1914 EnsureSpace ensure_space(this); |
| 1915 last_pc_ = pc_; |
| 1916 EMIT(0xD9); |
| 1917 EMIT(0xF1); |
| 1918 } |
| 1919 |
| 1920 |
1905 void Assembler::fadd(int i) { | 1921 void Assembler::fadd(int i) { |
1906 EnsureSpace ensure_space(this); | 1922 EnsureSpace ensure_space(this); |
1907 last_pc_ = pc_; | 1923 last_pc_ = pc_; |
1908 emit_farith(0xDC, 0xC0, i); | 1924 emit_farith(0xDC, 0xC0, i); |
1909 } | 1925 } |
1910 | 1926 |
1911 | 1927 |
1912 void Assembler::fsub(int i) { | 1928 void Assembler::fsub(int i) { |
1913 EnsureSpace ensure_space(this); | 1929 EnsureSpace ensure_space(this); |
1914 last_pc_ = pc_; | 1930 last_pc_ = pc_; |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2652 fprintf(coverage_log, "%s\n", file_line); | 2668 fprintf(coverage_log, "%s\n", file_line); |
2653 fflush(coverage_log); | 2669 fflush(coverage_log); |
2654 } | 2670 } |
2655 } | 2671 } |
2656 | 2672 |
2657 #endif | 2673 #endif |
2658 | 2674 |
2659 } } // namespace v8::internal | 2675 } } // namespace v8::internal |
2660 | 2676 |
2661 #endif // V8_TARGET_ARCH_IA32 | 2677 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |