| 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 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1764 EMIT(0xE3); | 1764 EMIT(0xE3); |
| 1765 } | 1765 } |
| 1766 | 1766 |
| 1767 | 1767 |
| 1768 void Assembler::fadd(int i) { | 1768 void Assembler::fadd(int i) { |
| 1769 EnsureSpace ensure_space(this); | 1769 EnsureSpace ensure_space(this); |
| 1770 emit_farith(0xDC, 0xC0, i); | 1770 emit_farith(0xDC, 0xC0, i); |
| 1771 } | 1771 } |
| 1772 | 1772 |
| 1773 | 1773 |
| 1774 void Assembler::fadd_i(int i) { |
| 1775 EnsureSpace ensure_space(this); |
| 1776 emit_farith(0xD8, 0xC0, i); |
| 1777 } |
| 1778 |
| 1779 |
| 1774 void Assembler::fsub(int i) { | 1780 void Assembler::fsub(int i) { |
| 1775 EnsureSpace ensure_space(this); | 1781 EnsureSpace ensure_space(this); |
| 1776 emit_farith(0xDC, 0xE8, i); | 1782 emit_farith(0xDC, 0xE8, i); |
| 1777 } | 1783 } |
| 1778 | 1784 |
| 1779 | 1785 |
| 1786 void Assembler::fsub_i(int i) { |
| 1787 EnsureSpace ensure_space(this); |
| 1788 emit_farith(0xD8, 0xE0, i); |
| 1789 } |
| 1790 |
| 1791 |
| 1780 void Assembler::fisub_s(const Operand& adr) { | 1792 void Assembler::fisub_s(const Operand& adr) { |
| 1781 EnsureSpace ensure_space(this); | 1793 EnsureSpace ensure_space(this); |
| 1782 EMIT(0xDA); | 1794 EMIT(0xDA); |
| 1783 emit_operand(esp, adr); | 1795 emit_operand(esp, adr); |
| 1784 } | 1796 } |
| 1785 | 1797 |
| 1786 | 1798 |
| 1787 void Assembler::fmul_i(int i) { | 1799 void Assembler::fmul_i(int i) { |
| 1788 EnsureSpace ensure_space(this); | 1800 EnsureSpace ensure_space(this); |
| 1789 emit_farith(0xD8, 0xC8, i); | 1801 emit_farith(0xD8, 0xC8, i); |
| 1790 } | 1802 } |
| 1791 | 1803 |
| 1792 | 1804 |
| 1793 void Assembler::fmul(int i) { | 1805 void Assembler::fmul(int i) { |
| 1794 EnsureSpace ensure_space(this); | 1806 EnsureSpace ensure_space(this); |
| 1795 emit_farith(0xDC, 0xC8, i); | 1807 emit_farith(0xDC, 0xC8, i); |
| 1796 } | 1808 } |
| 1797 | 1809 |
| 1798 | 1810 |
| 1799 void Assembler::fdiv(int i) { | 1811 void Assembler::fdiv(int i) { |
| 1800 EnsureSpace ensure_space(this); | 1812 EnsureSpace ensure_space(this); |
| 1801 emit_farith(0xDC, 0xF8, i); | 1813 emit_farith(0xDC, 0xF8, i); |
| 1802 } | 1814 } |
| 1803 | 1815 |
| 1804 | 1816 |
| 1817 void Assembler::fdiv_i(int i) { |
| 1818 EnsureSpace ensure_space(this); |
| 1819 emit_farith(0xD8, 0xF0, i); |
| 1820 } |
| 1821 |
| 1822 |
| 1805 void Assembler::faddp(int i) { | 1823 void Assembler::faddp(int i) { |
| 1806 EnsureSpace ensure_space(this); | 1824 EnsureSpace ensure_space(this); |
| 1807 emit_farith(0xDE, 0xC0, i); | 1825 emit_farith(0xDE, 0xC0, i); |
| 1808 } | 1826 } |
| 1809 | 1827 |
| 1810 | 1828 |
| 1811 void Assembler::fsubp(int i) { | 1829 void Assembler::fsubp(int i) { |
| 1812 EnsureSpace ensure_space(this); | 1830 EnsureSpace ensure_space(this); |
| 1813 emit_farith(0xDE, 0xE8, i); | 1831 emit_farith(0xDE, 0xE8, i); |
| 1814 } | 1832 } |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2704 fprintf(coverage_log, "%s\n", file_line); | 2722 fprintf(coverage_log, "%s\n", file_line); |
| 2705 fflush(coverage_log); | 2723 fflush(coverage_log); |
| 2706 } | 2724 } |
| 2707 } | 2725 } |
| 2708 | 2726 |
| 2709 #endif | 2727 #endif |
| 2710 | 2728 |
| 2711 } } // namespace v8::internal | 2729 } } // namespace v8::internal |
| 2712 | 2730 |
| 2713 #endif // V8_TARGET_ARCH_IA32 | 2731 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |