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 2762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2773 | 2773 |
2774 void Assembler::mul_s(FPURegister fd, FPURegister fs, FPURegister ft) { | 2774 void Assembler::mul_s(FPURegister fd, FPURegister fs, FPURegister ft) { |
2775 GenInstrRegister(COP1, S, ft, fs, fd, MUL_D); | 2775 GenInstrRegister(COP1, S, ft, fs, fd, MUL_D); |
2776 } | 2776 } |
2777 | 2777 |
2778 | 2778 |
2779 void Assembler::mul_d(FPURegister fd, FPURegister fs, FPURegister ft) { | 2779 void Assembler::mul_d(FPURegister fd, FPURegister fs, FPURegister ft) { |
2780 GenInstrRegister(COP1, D, ft, fs, fd, MUL_D); | 2780 GenInstrRegister(COP1, D, ft, fs, fd, MUL_D); |
2781 } | 2781 } |
2782 | 2782 |
2783 void Assembler::madd_s(FPURegister fd, FPURegister fr, FPURegister fs, | |
2784 FPURegister ft) { | |
2785 DCHECK(kArchVariant != kMips64r6); | |
ivica.bogosavljevic
2016/09/12 12:39:52
I would prefer you set here:
kArchVairan == kMips
Ilija.Pavlovic1
2016/09/12 13:41:35
Done.
| |
2786 GenInstrRegister(COP1X, fr, ft, fs, fd, MADD_S); | |
2787 } | |
2783 | 2788 |
2784 void Assembler::madd_d(FPURegister fd, FPURegister fr, FPURegister fs, | 2789 void Assembler::madd_d(FPURegister fd, FPURegister fr, FPURegister fs, |
2785 FPURegister ft) { | 2790 FPURegister ft) { |
2791 DCHECK(kArchVariant != kMips64r6); | |
2786 GenInstrRegister(COP1X, fr, ft, fs, fd, MADD_D); | 2792 GenInstrRegister(COP1X, fr, ft, fs, fd, MADD_D); |
2787 } | 2793 } |
2788 | 2794 |
2795 void Assembler::msub_s(FPURegister fd, FPURegister fr, FPURegister fs, | |
2796 FPURegister ft) { | |
2797 DCHECK(kArchVariant != kMips64r6); | |
2798 GenInstrRegister(COP1X, fr, ft, fs, fd, MSUB_S); | |
2799 } | |
2800 | |
2801 void Assembler::msub_d(FPURegister fd, FPURegister fr, FPURegister fs, | |
2802 FPURegister ft) { | |
2803 DCHECK(kArchVariant != kMips64r6); | |
2804 GenInstrRegister(COP1X, fr, ft, fs, fd, MSUB_D); | |
2805 } | |
2806 | |
2807 void Assembler::maddf_s(FPURegister fd, FPURegister fs, FPURegister ft) { | |
2808 DCHECK(kArchVariant == kMips64r6); | |
2809 GenInstrRegister(COP1, S, ft, fs, fd, MADDF_S); | |
2810 } | |
2811 | |
2812 void Assembler::maddf_d(FPURegister fd, FPURegister fs, FPURegister ft) { | |
2813 DCHECK(kArchVariant == kMips64r6); | |
2814 GenInstrRegister(COP1, D, ft, fs, fd, MADDF_D); | |
2815 } | |
2816 | |
2817 void Assembler::msubf_s(FPURegister fd, FPURegister fs, FPURegister ft) { | |
2818 DCHECK(kArchVariant == kMips64r6); | |
2819 GenInstrRegister(COP1, S, ft, fs, fd, MSUBF_S); | |
2820 } | |
2821 | |
2822 void Assembler::msubf_d(FPURegister fd, FPURegister fs, FPURegister ft) { | |
2823 DCHECK(kArchVariant == kMips64r6); | |
2824 GenInstrRegister(COP1, D, ft, fs, fd, MSUBF_D); | |
2825 } | |
2789 | 2826 |
2790 void Assembler::div_s(FPURegister fd, FPURegister fs, FPURegister ft) { | 2827 void Assembler::div_s(FPURegister fd, FPURegister fs, FPURegister ft) { |
2791 GenInstrRegister(COP1, S, ft, fs, fd, DIV_D); | 2828 GenInstrRegister(COP1, S, ft, fs, fd, DIV_D); |
2792 } | 2829 } |
2793 | 2830 |
2794 | 2831 |
2795 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) { | 2832 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) { |
2796 GenInstrRegister(COP1, D, ft, fs, fd, DIV_D); | 2833 GenInstrRegister(COP1, D, ft, fs, fd, DIV_D); |
2797 } | 2834 } |
2798 | 2835 |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3445 | 3482 |
3446 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3483 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
3447 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); | 3484 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); |
3448 } | 3485 } |
3449 } | 3486 } |
3450 | 3487 |
3451 } // namespace internal | 3488 } // namespace internal |
3452 } // namespace v8 | 3489 } // namespace v8 |
3453 | 3490 |
3454 #endif // V8_TARGET_ARCH_MIPS64 | 3491 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |