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 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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 // Conditional short jump | 713 // Conditional short jump |
714 void j(Condition cc, NearLabel* L, Hint hint = no_hint); | 714 void j(Condition cc, NearLabel* L, Hint hint = no_hint); |
715 | 715 |
716 // Floating-point operations | 716 // Floating-point operations |
717 void fld(int i); | 717 void fld(int i); |
718 void fstp(int i); | 718 void fstp(int i); |
719 | 719 |
720 void fld1(); | 720 void fld1(); |
721 void fldz(); | 721 void fldz(); |
722 void fldpi(); | 722 void fldpi(); |
| 723 void fldln2(); |
723 | 724 |
724 void fld_s(const Operand& adr); | 725 void fld_s(const Operand& adr); |
725 void fld_d(const Operand& adr); | 726 void fld_d(const Operand& adr); |
726 | 727 |
727 void fstp_s(const Operand& adr); | 728 void fstp_s(const Operand& adr); |
728 void fstp_d(const Operand& adr); | 729 void fstp_d(const Operand& adr); |
729 void fst_d(const Operand& adr); | 730 void fst_d(const Operand& adr); |
730 | 731 |
731 void fild_s(const Operand& adr); | 732 void fild_s(const Operand& adr); |
732 void fild_d(const Operand& adr); | 733 void fild_d(const Operand& adr); |
733 | 734 |
734 void fist_s(const Operand& adr); | 735 void fist_s(const Operand& adr); |
735 | 736 |
736 void fistp_s(const Operand& adr); | 737 void fistp_s(const Operand& adr); |
737 void fistp_d(const Operand& adr); | 738 void fistp_d(const Operand& adr); |
738 | 739 |
739 // The fisttp instructions require SSE3. | 740 // The fisttp instructions require SSE3. |
740 void fisttp_s(const Operand& adr); | 741 void fisttp_s(const Operand& adr); |
741 void fisttp_d(const Operand& adr); | 742 void fisttp_d(const Operand& adr); |
742 | 743 |
743 void fabs(); | 744 void fabs(); |
744 void fchs(); | 745 void fchs(); |
745 void fcos(); | 746 void fcos(); |
746 void fsin(); | 747 void fsin(); |
| 748 void fyl2x(); |
747 | 749 |
748 void fadd(int i); | 750 void fadd(int i); |
749 void fsub(int i); | 751 void fsub(int i); |
750 void fmul(int i); | 752 void fmul(int i); |
751 void fdiv(int i); | 753 void fdiv(int i); |
752 | 754 |
753 void fisub_s(const Operand& adr); | 755 void fisub_s(const Operand& adr); |
754 | 756 |
755 void faddp(int i = 1); | 757 void faddp(int i = 1); |
756 void fsubp(int i = 1); | 758 void fsubp(int i = 1); |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 private: | 973 private: |
972 Assembler* assembler_; | 974 Assembler* assembler_; |
973 #ifdef DEBUG | 975 #ifdef DEBUG |
974 int space_before_; | 976 int space_before_; |
975 #endif | 977 #endif |
976 }; | 978 }; |
977 | 979 |
978 } } // namespace v8::internal | 980 } } // namespace v8::internal |
979 | 981 |
980 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 982 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |