Home | History | Annotate | Download | only in mips

Lines Matching refs:fs

882                                  FPURegister fs,
885 ASSERT(fd.is_valid() && fs.is_valid() && ft.is_valid());
887 Instr instr = opcode | fmt | (ft.code() << kFtShift) | (fs.code() << kFsShift)
896 FPURegister fs,
899 ASSERT(fd.is_valid() && fs.is_valid() && rt.is_valid());
902 | (fs.code() << kFsShift) | (fd.code() << kFdShift) | func;
910 FPUControlRegister fs,
912 ASSERT(fs.is_valid() && rt.is_valid());
915 opcode | fmt | (rt.code() << kRtShift) | (fs.code() << kFsShift) | func;
1652 void Assembler::mtc1(Register rt, FPURegister fs) {
1653 GenInstrRegister(COP1, MTC1, rt, fs, f0);
1657 void Assembler::mfc1(Register rt, FPURegister fs) {
1658 GenInstrRegister(COP1, MFC1, rt, fs, f0);
1662 void Assembler::ctc1(Register rt, FPUControlRegister fs) {
1663 GenInstrRegister(COP1, CTC1, rt, fs);
1667 void Assembler::cfc1(Register rt, FPUControlRegister fs) {
1668 GenInstrRegister(COP1, CFC1, rt, fs);
1681 void Assembler::add_d(FPURegister fd, FPURegister fs, FPURegister ft) {
1682 GenInstrRegister(COP1, D, ft, fs, fd, ADD_D);
1686 void Assembler::sub_d(FPURegister fd, FPURegister fs, FPURegister ft) {
1687 GenInstrRegister(COP1, D, ft, fs, fd, SUB_D);
1691 void Assembler::mul_d(FPURegister fd, FPURegister fs, FPURegister ft) {
1692 GenInstrRegister(COP1, D, ft, fs, fd, MUL_D);
1696 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) {
1697 GenInstrRegister(COP1, D, ft, fs, fd, DIV_D);
1701 void Assembler::abs_d(FPURegister fd, FPURegister fs) {
1702 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D);
1706 void Assembler::mov_d(FPURegister fd, FPURegister fs) {
1707 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D);
1711 void Assembler::neg_d(FPURegister fd, FPURegister fs) {
1712 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D);
1716 void Assembler::sqrt_d(FPURegister fd, FPURegister fs) {
1717 GenInstrRegister(COP1, D, f0, fs, fd, SQRT_D);
1723 void Assembler::cvt_w_s(FPURegister fd, FPURegister fs) {
1724 GenInstrRegister(COP1, S, f0, fs, fd, CVT_W_S);
1728 void Assembler::cvt_w_d(FPURegister fd, FPURegister fs) {
1729 GenInstrRegister(COP1, D, f0, fs, fd, CVT_W_D);
1733 void Assembler::trunc_w_s(FPURegister fd, FPURegister fs) {
1734 GenInstrRegister(COP1, S, f0, fs, fd, TRUNC_W_S);
1738 void Assembler::trunc_w_d(FPURegister fd, FPURegister fs) {
1739 GenInstrRegister(COP1, D, f0, fs, fd, TRUNC_W_D);
1743 void Assembler::round_w_s(FPURegister fd, FPURegister fs) {
1744 GenInstrRegister(COP1, S, f0, fs, fd, ROUND_W_S);
1748 void Assembler::round_w_d(FPURegister fd, FPURegister fs) {
1749 GenInstrRegister(COP1, D, f0, fs, fd, ROUND_W_D);
1753 void Assembler::floor_w_s(FPURegister fd, FPURegister fs) {
1754 GenInstrRegister(COP1, S, f0, fs, fd, FLOOR_W_S);
1758 void Assembler::floor_w_d(FPURegister fd, FPURegister fs) {
1759 GenInstrRegister(COP1, D, f0, fs, fd, FLOOR_W_D);
1763 void Assembler::ceil_w_s(FPURegister fd, FPURegister fs) {
1764 fs, fd, CEIL_W_S);
1768 void Assembler::ceil_w_d(FPURegister fd, FPURegister fs) {
1769 GenInstrRegister(COP1, D, f0, fs, fd, CEIL_W_D);
1773 void Assembler::cvt_l_s(FPURegister fd, FPURegister fs) {
1775 GenInstrRegister(COP1, S, f0, fs, fd, CVT_L_S);
1779 void Assembler::cvt_l_d(FPURegister fd, FPURegister fs) {
1781 GenInstrRegister(COP1, D, f0, fs, fd, CVT_L_D);
1785 void Assembler::trunc_l_s(FPURegister fd, FPURegister fs) {
1787 GenInstrRegister(COP1, S, f0, fs, fd, TRUNC_L_S);
1791 void Assembler::trunc_l_d(FPURegister fd, FPURegister fs) {
1793 GenInstrRegister(COP1, D, f0, fs, fd, TRUNC_L_D);
1797 void Assembler::round_l_s(FPURegister fd, FPURegister fs) {
1798 GenInstrRegister(COP1, S, f0, fs, fd, ROUND_L_S);
1802 void Assembler::round_l_d(FPURegister fd, FPURegister fs) {
1803 GenInstrRegister(COP1, D, f0, fs, fd, ROUND_L_D);
1807 void Assembler::floor_l_s(FPURegister fd, FPURegister fs) {
1808 GenInstrRegister(COP1, S, f0, fs, fd, FLOOR_L_S);
1812 void Assembler::floor_l_d(FPURegister fd, FPURegister fs) {
1813 GenInstrRegister(COP1, D, f0, fs, fd, FLOOR_L_D);
1817 void Assembler::ceil_l_s(FPURegister fd, FPURegister fs) {
1818 GenInstrRegister(COP1, S, f0, fs, fd, CEIL_L_S);
1822 void Assembler::ceil_l_d(FPURegister fd, FPURegister fs) {
1823 GenInstrRegister(COP1, D, f0, fs, fd, CEIL_L_D);
1827 void Assembler::cvt_s_w(FPURegister fd, FPURegister fs) {
1828 GenInstrRegister(COP1, W, f0, fs, fd, CVT_S_W);
1832 void Assembler::cvt_s_l(FPURegister fd, FPURegister fs) {
1834 GenInstrRegister(COP1, L, f0, fs, fd, CVT_S_L);
1838 void Assembler::cvt_s_d(FPURegister fd, FPURegister fs) {
1839 GenInstrRegister(COP1, D, f0, fs, fd, CVT_S_D);
1843 void Assembler::cvt_d_w(FPURegister fd, FPURegister fs) {
1844 GenInstrRegister(COP1, W, f0, fs, fd, CVT_D_W);
1848 void Assembler::cvt_d_l(FPURegister fd, FPURegister fs) {
1850 GenInstrRegister(COP1, L, f0, fs, fd, CVT_D_L);
1854 void Assembler::cvt_d_s(FPURegister fd, FPURegister fs) {
1855 GenInstrRegister(COP1, S, f0, fs, fd, CVT_D_S);
1861 FPURegister fs, FPURegister ft, uint16_t cc) {
1865 Instr instr = COP1 | fmt | ft.code() << 16 | fs.code() << kFsShift