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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 // Support for VFP. | 794 // Support for VFP. |
795 // All these APIs support S0 to S31 and D0 to D15. | 795 // All these APIs support S0 to S31 and D0 to D15. |
796 // Currently these APIs do not support extended D registers, i.e, D16 to D31. | 796 // Currently these APIs do not support extended D registers, i.e, D16 to D31. |
797 // However, some simple modifications can allow | 797 // However, some simple modifications can allow |
798 // these APIs to support D16 to D31. | 798 // these APIs to support D16 to D31. |
799 | 799 |
800 void vldr(const DwVfpRegister dst, | 800 void vldr(const DwVfpRegister dst, |
801 const Register base, | 801 const Register base, |
802 int offset, // Offset must be a multiple of 4. | 802 int offset, // Offset must be a multiple of 4. |
803 const Condition cond = al); | 803 const Condition cond = al); |
| 804 |
| 805 void vldr(const SwVfpRegister dst, |
| 806 const Register base, |
| 807 int offset, // Offset must be a multiple of 4. |
| 808 const Condition cond = al); |
| 809 |
804 void vstr(const DwVfpRegister src, | 810 void vstr(const DwVfpRegister src, |
805 const Register base, | 811 const Register base, |
806 int offset, // Offset must be a multiple of 4. | 812 int offset, // Offset must be a multiple of 4. |
807 const Condition cond = al); | 813 const Condition cond = al); |
808 void vmov(const DwVfpRegister dst, | 814 void vmov(const DwVfpRegister dst, |
809 const Register src1, | 815 const Register src1, |
810 const Register src2, | 816 const Register src2, |
811 const Condition cond = al); | 817 const Condition cond = al); |
812 void vmov(const Register dst1, | 818 void vmov(const Register dst1, |
813 const Register dst2, | 819 const Register dst2, |
814 const DwVfpRegister src, | 820 const DwVfpRegister src, |
815 const Condition cond = al); | 821 const Condition cond = al); |
816 void vmov(const SwVfpRegister dst, | 822 void vmov(const SwVfpRegister dst, |
817 const Register src, | 823 const Register src, |
818 const Condition cond = al); | 824 const Condition cond = al); |
819 void vmov(const Register dst, | 825 void vmov(const Register dst, |
820 const SwVfpRegister src, | 826 const SwVfpRegister src, |
821 const Condition cond = al); | 827 const Condition cond = al); |
822 void vcvt(const DwVfpRegister dst, | 828 void vcvt_f64_s32(const DwVfpRegister dst, |
823 const SwVfpRegister src, | 829 const SwVfpRegister src, |
824 const Condition cond = al); | 830 const Condition cond = al); |
825 void vcvt(const SwVfpRegister dst, | 831 void vcvt_f32_s32(const SwVfpRegister dst, |
826 const DwVfpRegister src, | 832 const SwVfpRegister src, |
827 const Condition cond = al); | 833 const Condition cond = al); |
| 834 void vcvt_f64_u32(const DwVfpRegister dst, |
| 835 const SwVfpRegister src, |
| 836 const Condition cond = al); |
| 837 void vcvt_s32_f64(const SwVfpRegister dst, |
| 838 const DwVfpRegister src, |
| 839 const Condition cond = al); |
| 840 void vcvt_u32_f64(const SwVfpRegister dst, |
| 841 const DwVfpRegister src, |
| 842 const Condition cond = al); |
| 843 void vcvt_f64_f32(const DwVfpRegister dst, |
| 844 const SwVfpRegister src, |
| 845 const Condition cond = al); |
| 846 void vcvt_f32_f64(const SwVfpRegister dst, |
| 847 const DwVfpRegister src, |
| 848 const Condition cond = al); |
828 | 849 |
829 void vadd(const DwVfpRegister dst, | 850 void vadd(const DwVfpRegister dst, |
830 const DwVfpRegister src1, | 851 const DwVfpRegister src1, |
831 const DwVfpRegister src2, | 852 const DwVfpRegister src2, |
832 const Condition cond = al); | 853 const Condition cond = al); |
833 void vsub(const DwVfpRegister dst, | 854 void vsub(const DwVfpRegister dst, |
834 const DwVfpRegister src1, | 855 const DwVfpRegister src1, |
835 const DwVfpRegister src2, | 856 const DwVfpRegister src2, |
836 const Condition cond = al); | 857 const Condition cond = al); |
837 void vmul(const DwVfpRegister dst, | 858 void vmul(const DwVfpRegister dst, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1027 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 1048 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
1028 | 1049 |
1029 friend class RegExpMacroAssemblerARM; | 1050 friend class RegExpMacroAssemblerARM; |
1030 friend class RelocInfo; | 1051 friend class RelocInfo; |
1031 friend class CodePatcher; | 1052 friend class CodePatcher; |
1032 }; | 1053 }; |
1033 | 1054 |
1034 } } // namespace v8::internal | 1055 } } // namespace v8::internal |
1035 | 1056 |
1036 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1057 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |