| 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 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1714 EMIT(0xE3); | 1714 EMIT(0xE3); |
| 1715 } | 1715 } |
| 1716 | 1716 |
| 1717 | 1717 |
| 1718 void Assembler::fadd(int i) { | 1718 void Assembler::fadd(int i) { |
| 1719 EnsureSpace ensure_space(this); | 1719 EnsureSpace ensure_space(this); |
| 1720 emit_farith(0xDC, 0xC0, i); | 1720 emit_farith(0xDC, 0xC0, i); |
| 1721 } | 1721 } |
| 1722 | 1722 |
| 1723 | 1723 |
| 1724 void Assembler::fadd_i(int i) { |
| 1725 EnsureSpace ensure_space(this); |
| 1726 emit_farith(0xD8, 0xC0, i); |
| 1727 } |
| 1728 |
| 1729 |
| 1724 void Assembler::fsub(int i) { | 1730 void Assembler::fsub(int i) { |
| 1725 EnsureSpace ensure_space(this); | 1731 EnsureSpace ensure_space(this); |
| 1726 emit_farith(0xDC, 0xE8, i); | 1732 emit_farith(0xDC, 0xE8, i); |
| 1727 } | 1733 } |
| 1728 | 1734 |
| 1729 | 1735 |
| 1736 void Assembler::fsub_i(int i) { |
| 1737 EnsureSpace ensure_space(this); |
| 1738 emit_farith(0xD8, 0xE0, i); |
| 1739 } |
| 1740 |
| 1741 |
| 1730 void Assembler::fisub_s(const Operand& adr) { | 1742 void Assembler::fisub_s(const Operand& adr) { |
| 1731 EnsureSpace ensure_space(this); | 1743 EnsureSpace ensure_space(this); |
| 1732 EMIT(0xDA); | 1744 EMIT(0xDA); |
| 1733 emit_operand(esp, adr); | 1745 emit_operand(esp, adr); |
| 1734 } | 1746 } |
| 1735 | 1747 |
| 1736 | 1748 |
| 1737 void Assembler::fmul_i(int i) { | 1749 void Assembler::fmul_i(int i) { |
| 1738 EnsureSpace ensure_space(this); | 1750 EnsureSpace ensure_space(this); |
| 1739 emit_farith(0xD8, 0xC8, i); | 1751 emit_farith(0xD8, 0xC8, i); |
| 1740 } | 1752 } |
| 1741 | 1753 |
| 1742 | 1754 |
| 1743 void Assembler::fmul(int i) { | 1755 void Assembler::fmul(int i) { |
| 1744 EnsureSpace ensure_space(this); | 1756 EnsureSpace ensure_space(this); |
| 1745 emit_farith(0xDC, 0xC8, i); | 1757 emit_farith(0xDC, 0xC8, i); |
| 1746 } | 1758 } |
| 1747 | 1759 |
| 1748 | 1760 |
| 1749 void Assembler::fdiv(int i) { | 1761 void Assembler::fdiv(int i) { |
| 1750 EnsureSpace ensure_space(this); | 1762 EnsureSpace ensure_space(this); |
| 1751 emit_farith(0xDC, 0xF8, i); | 1763 emit_farith(0xDC, 0xF8, i); |
| 1752 } | 1764 } |
| 1753 | 1765 |
| 1754 | 1766 |
| 1767 void Assembler::fdiv_i(int i) { |
| 1768 EnsureSpace ensure_space(this); |
| 1769 emit_farith(0xD8, 0xF0, i); |
| 1770 } |
| 1771 |
| 1772 |
| 1755 void Assembler::faddp(int i) { | 1773 void Assembler::faddp(int i) { |
| 1756 EnsureSpace ensure_space(this); | 1774 EnsureSpace ensure_space(this); |
| 1757 emit_farith(0xDE, 0xC0, i); | 1775 emit_farith(0xDE, 0xC0, i); |
| 1758 } | 1776 } |
| 1759 | 1777 |
| 1760 | 1778 |
| 1761 void Assembler::fsubp(int i) { | 1779 void Assembler::fsubp(int i) { |
| 1762 EnsureSpace ensure_space(this); | 1780 EnsureSpace ensure_space(this); |
| 1763 emit_farith(0xDE, 0xE8, i); | 1781 emit_farith(0xDE, 0xE8, i); |
| 1764 } | 1782 } |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2654 fprintf(coverage_log, "%s\n", file_line); | 2672 fprintf(coverage_log, "%s\n", file_line); |
| 2655 fflush(coverage_log); | 2673 fflush(coverage_log); |
| 2656 } | 2674 } |
| 2657 } | 2675 } |
| 2658 | 2676 |
| 2659 #endif | 2677 #endif |
| 2660 | 2678 |
| 2661 } } // namespace v8::internal | 2679 } } // namespace v8::internal |
| 2662 | 2680 |
| 2663 #endif // V8_TARGET_ARCH_IA32 | 2681 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |