Lines Matching refs:ft
304 FRegister ft, in EmitFR() argument
308 CHECK_NE(ft, kNoFRegister); in EmitFR()
313 static_cast<uint32_t>(ft) << kFtShift | in EmitFR()
321 uint32_t MipsAssembler::EmitFI(int opcode, int fmt, FRegister ft, uint16_t imm) { in EmitFI() argument
322 CHECK_NE(ft, kNoFRegister); in EmitFI()
325 static_cast<uint32_t>(ft) << kFtShift | in EmitFI()
1098 void MipsAssembler::Bc1eqz(FRegister ft, uint16_t imm16) { in Bc1eqz() argument
1100 DsFsmInstrNop(EmitFI(0x11, 0x9, ft, imm16)); in Bc1eqz()
1103 void MipsAssembler::Bc1nez(FRegister ft, uint16_t imm16) { in Bc1nez() argument
1105 DsFsmInstrNop(EmitFI(0x11, 0xD, ft, imm16)); in Bc1nez()
1226 void MipsAssembler::AddS(FRegister fd, FRegister fs, FRegister ft) { in AddS() argument
1227 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x0)).FprOuts(fd).FprIns(fs, ft); in AddS()
1230 void MipsAssembler::SubS(FRegister fd, FRegister fs, FRegister ft) { in SubS() argument
1231 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x1)).FprOuts(fd).FprIns(fs, ft); in SubS()
1234 void MipsAssembler::MulS(FRegister fd, FRegister fs, FRegister ft) { in MulS() argument
1235 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x2)).FprOuts(fd).FprIns(fs, ft); in MulS()
1238 void MipsAssembler::DivS(FRegister fd, FRegister fs, FRegister ft) { in DivS() argument
1239 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x3)).FprOuts(fd).FprIns(fs, ft); in DivS()
1242 void MipsAssembler::AddD(FRegister fd, FRegister fs, FRegister ft) { in AddD() argument
1243 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x0)).FprOuts(fd).FprIns(fs, ft); in AddD()
1246 void MipsAssembler::SubD(FRegister fd, FRegister fs, FRegister ft) { in SubD() argument
1247 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x1)).FprOuts(fd).FprIns(fs, ft); in SubD()
1250 void MipsAssembler::MulD(FRegister fd, FRegister fs, FRegister ft) { in MulD() argument
1251 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x2)).FprOuts(fd).FprIns(fs, ft); in MulD()
1254 void MipsAssembler::DivD(FRegister fd, FRegister fs, FRegister ft) { in DivD() argument
1255 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x3)).FprOuts(fd).FprIns(fs, ft); in DivD()
1290 void MipsAssembler::CunS(FRegister fs, FRegister ft) { in CunS() argument
1291 CunS(0, fs, ft); in CunS()
1294 void MipsAssembler::CunS(int cc, FRegister fs, FRegister ft) { in CunS() argument
1297 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, static_cast<FRegister>(cc << 2), 0x31)) in CunS()
1298 .CcOuts(cc).FprIns(fs, ft); in CunS()
1301 void MipsAssembler::CeqS(FRegister fs, FRegister ft) { in CeqS() argument
1302 CeqS(0, fs, ft); in CeqS()
1305 void MipsAssembler::CeqS(int cc, FRegister fs, FRegister ft) { in CeqS() argument
1308 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, static_cast<FRegister>(cc << 2), 0x32)) in CeqS()
1309 .CcOuts(cc).FprIns(fs, ft); in CeqS()
1312 void MipsAssembler::CueqS(FRegister fs, FRegister ft) { in CueqS() argument
1313 CueqS(0, fs, ft); in CueqS()
1316 void MipsAssembler::CueqS(int cc, FRegister fs, FRegister ft) { in CueqS() argument
1319 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, static_cast<FRegister>(cc << 2), 0x33)) in CueqS()
1320 .CcOuts(cc).FprIns(fs, ft); in CueqS()
1323 void MipsAssembler::ColtS(FRegister fs, FRegister ft) { in ColtS() argument
1324 ColtS(0, fs, ft); in ColtS()
1327 void MipsAssembler::ColtS(int cc, FRegister fs, FRegister ft) { in ColtS() argument
1330 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, static_cast<FRegister>(cc << 2), 0x34)) in ColtS()
1331 .CcOuts(cc).FprIns(fs, ft); in ColtS()
1334 void MipsAssembler::CultS(FRegister fs, FRegister ft) { in CultS() argument
1335 CultS(0, fs, ft); in CultS()
1338 void MipsAssembler::CultS(int cc, FRegister fs, FRegister ft) { in CultS() argument
1341 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, static_cast<FRegister>(cc << 2), 0x35)) in CultS()
1342 .CcOuts(cc).FprIns(fs, ft); in CultS()
1345 void MipsAssembler::ColeS(FRegister fs, FRegister ft) { in ColeS() argument
1346 ColeS(0, fs, ft); in ColeS()
1349 void MipsAssembler::ColeS(int cc, FRegister fs, FRegister ft) { in ColeS() argument
1352 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, static_cast<FRegister>(cc << 2), 0x36)) in ColeS()
1353 .CcOuts(cc).FprIns(fs, ft); in ColeS()
1356 void MipsAssembler::CuleS(FRegister fs, FRegister ft) { in CuleS() argument
1357 CuleS(0, fs, ft); in CuleS()
1360 void MipsAssembler::CuleS(int cc, FRegister fs, FRegister ft) { in CuleS() argument
1363 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, static_cast<FRegister>(cc << 2), 0x37)) in CuleS()
1364 .CcOuts(cc).FprIns(fs, ft); in CuleS()
1367 void MipsAssembler::CunD(FRegister fs, FRegister ft) { in CunD() argument
1368 CunD(0, fs, ft); in CunD()
1371 void MipsAssembler::CunD(int cc, FRegister fs, FRegister ft) { in CunD() argument
1374 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, static_cast<FRegister>(cc << 2), 0x31)) in CunD()
1375 .CcOuts(cc).FprIns(fs, ft); in CunD()
1378 void MipsAssembler::CeqD(FRegister fs, FRegister ft) { in CeqD() argument
1379 CeqD(0, fs, ft); in CeqD()
1382 void MipsAssembler::CeqD(int cc, FRegister fs, FRegister ft) { in CeqD() argument
1385 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, static_cast<FRegister>(cc << 2), 0x32)) in CeqD()
1386 .CcOuts(cc).FprIns(fs, ft); in CeqD()
1389 void MipsAssembler::CueqD(FRegister fs, FRegister ft) { in CueqD() argument
1390 CueqD(0, fs, ft); in CueqD()
1393 void MipsAssembler::CueqD(int cc, FRegister fs, FRegister ft) { in CueqD() argument
1396 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, static_cast<FRegister>(cc << 2), 0x33)) in CueqD()
1397 .CcOuts(cc).FprIns(fs, ft); in CueqD()
1400 void MipsAssembler::ColtD(FRegister fs, FRegister ft) { in ColtD() argument
1401 ColtD(0, fs, ft); in ColtD()
1404 void MipsAssembler::ColtD(int cc, FRegister fs, FRegister ft) { in ColtD() argument
1407 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, static_cast<FRegister>(cc << 2), 0x34)) in ColtD()
1408 .CcOuts(cc).FprIns(fs, ft); in ColtD()
1411 void MipsAssembler::CultD(FRegister fs, FRegister ft) { in CultD() argument
1412 CultD(0, fs, ft); in CultD()
1415 void MipsAssembler::CultD(int cc, FRegister fs, FRegister ft) { in CultD() argument
1418 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, static_cast<FRegister>(cc << 2), 0x35)) in CultD()
1419 .CcOuts(cc).FprIns(fs, ft); in CultD()
1422 void MipsAssembler::ColeD(FRegister fs, FRegister ft) { in ColeD() argument
1423 ColeD(0, fs, ft); in ColeD()
1426 void MipsAssembler::ColeD(int cc, FRegister fs, FRegister ft) { in ColeD() argument
1429 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, static_cast<FRegister>(cc << 2), 0x36)) in ColeD()
1430 .CcOuts(cc).FprIns(fs, ft); in ColeD()
1433 void MipsAssembler::CuleD(FRegister fs, FRegister ft) { in CuleD() argument
1434 CuleD(0, fs, ft); in CuleD()
1437 void MipsAssembler::CuleD(int cc, FRegister fs, FRegister ft) { in CuleD() argument
1440 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, static_cast<FRegister>(cc << 2), 0x37)) in CuleD()
1441 .CcOuts(cc).FprIns(fs, ft); in CuleD()
1444 void MipsAssembler::CmpUnS(FRegister fd, FRegister fs, FRegister ft) { in CmpUnS() argument
1446 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x01)).FprOuts(fd).FprIns(fs, ft); in CmpUnS()
1449 void MipsAssembler::CmpEqS(FRegister fd, FRegister fs, FRegister ft) { in CmpEqS() argument
1451 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x02)).FprOuts(fd).FprIns(fs, ft); in CmpEqS()
1454 void MipsAssembler::CmpUeqS(FRegister fd, FRegister fs, FRegister ft) { in CmpUeqS() argument
1456 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x03)).FprOuts(fd).FprIns(fs, ft); in CmpUeqS()
1459 void MipsAssembler::CmpLtS(FRegister fd, FRegister fs, FRegister ft) { in CmpLtS() argument
1461 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x04)).FprOuts(fd).FprIns(fs, ft); in CmpLtS()
1464 void MipsAssembler::CmpUltS(FRegister fd, FRegister fs, FRegister ft) { in CmpUltS() argument
1466 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x05)).FprOuts(fd).FprIns(fs, ft); in CmpUltS()
1469 void MipsAssembler::CmpLeS(FRegister fd, FRegister fs, FRegister ft) { in CmpLeS() argument
1471 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x06)).FprOuts(fd).FprIns(fs, ft); in CmpLeS()
1474 void MipsAssembler::CmpUleS(FRegister fd, FRegister fs, FRegister ft) { in CmpUleS() argument
1476 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x07)).FprOuts(fd).FprIns(fs, ft); in CmpUleS()
1479 void MipsAssembler::CmpOrS(FRegister fd, FRegister fs, FRegister ft) { in CmpOrS() argument
1481 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x11)).FprOuts(fd).FprIns(fs, ft); in CmpOrS()
1484 void MipsAssembler::CmpUneS(FRegister fd, FRegister fs, FRegister ft) { in CmpUneS() argument
1486 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x12)).FprOuts(fd).FprIns(fs, ft); in CmpUneS()
1489 void MipsAssembler::CmpNeS(FRegister fd, FRegister fs, FRegister ft) { in CmpNeS() argument
1491 DsFsmInstr(EmitFR(0x11, 0x14, ft, fs, fd, 0x13)).FprOuts(fd).FprIns(fs, ft); in CmpNeS()
1494 void MipsAssembler::CmpUnD(FRegister fd, FRegister fs, FRegister ft) { in CmpUnD() argument
1496 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x01)).FprOuts(fd).FprIns(fs, ft); in CmpUnD()
1499 void MipsAssembler::CmpEqD(FRegister fd, FRegister fs, FRegister ft) { in CmpEqD() argument
1501 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x02)).FprOuts(fd).FprIns(fs, ft); in CmpEqD()
1504 void MipsAssembler::CmpUeqD(FRegister fd, FRegister fs, FRegister ft) { in CmpUeqD() argument
1506 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x03)).FprOuts(fd).FprIns(fs, ft); in CmpUeqD()
1509 void MipsAssembler::CmpLtD(FRegister fd, FRegister fs, FRegister ft) { in CmpLtD() argument
1511 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x04)).FprOuts(fd).FprIns(fs, ft); in CmpLtD()
1514 void MipsAssembler::CmpUltD(FRegister fd, FRegister fs, FRegister ft) { in CmpUltD() argument
1516 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x05)).FprOuts(fd).FprIns(fs, ft); in CmpUltD()
1519 void MipsAssembler::CmpLeD(FRegister fd, FRegister fs, FRegister ft) { in CmpLeD() argument
1521 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x06)).FprOuts(fd).FprIns(fs, ft); in CmpLeD()
1524 void MipsAssembler::CmpUleD(FRegister fd, FRegister fs, FRegister ft) { in CmpUleD() argument
1526 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x07)).FprOuts(fd).FprIns(fs, ft); in CmpUleD()
1529 void MipsAssembler::CmpOrD(FRegister fd, FRegister fs, FRegister ft) { in CmpOrD() argument
1531 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x11)).FprOuts(fd).FprIns(fs, ft); in CmpOrD()
1534 void MipsAssembler::CmpUneD(FRegister fd, FRegister fs, FRegister ft) { in CmpUneD() argument
1536 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x12)).FprOuts(fd).FprIns(fs, ft); in CmpUneD()
1539 void MipsAssembler::CmpNeD(FRegister fd, FRegister fs, FRegister ft) { in CmpNeD() argument
1541 DsFsmInstr(EmitFR(0x11, 0x15, ft, fs, fd, 0x13)).FprOuts(fd).FprIns(fs, ft); in CmpNeD()
1610 void MipsAssembler::SelS(FRegister fd, FRegister fs, FRegister ft) { in SelS() argument
1612 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x10)).FprInOuts(fd).FprIns(fs, ft); in SelS()
1615 void MipsAssembler::SelD(FRegister fd, FRegister fs, FRegister ft) { in SelD() argument
1617 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x10)).FprInOuts(fd).FprIns(fs, ft); in SelD()
1620 void MipsAssembler::SeleqzS(FRegister fd, FRegister fs, FRegister ft) { in SeleqzS() argument
1622 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x14)).FprOuts(fd).FprIns(fs, ft); in SeleqzS()
1625 void MipsAssembler::SeleqzD(FRegister fd, FRegister fs, FRegister ft) { in SeleqzD() argument
1627 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x14)).FprOuts(fd).FprIns(fs, ft); in SeleqzD()
1630 void MipsAssembler::SelnezS(FRegister fd, FRegister fs, FRegister ft) { in SelnezS() argument
1632 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x17)).FprOuts(fd).FprIns(fs, ft); in SelnezS()
1635 void MipsAssembler::SelnezD(FRegister fd, FRegister fs, FRegister ft) { in SelnezD() argument
1637 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x17)).FprOuts(fd).FprIns(fs, ft); in SelnezD()
1650 void MipsAssembler::MinS(FRegister fd, FRegister fs, FRegister ft) { in MinS() argument
1652 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x1c)).FprOuts(fd).FprIns(fs, ft); in MinS()
1655 void MipsAssembler::MinD(FRegister fd, FRegister fs, FRegister ft) { in MinD() argument
1657 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x1c)).FprOuts(fd).FprIns(fs, ft); in MinD()
1660 void MipsAssembler::MaxS(FRegister fd, FRegister fs, FRegister ft) { in MaxS() argument
1662 DsFsmInstr(EmitFR(0x11, 0x10, ft, fs, fd, 0x1e)).FprOuts(fd).FprIns(fs, ft); in MaxS()
1665 void MipsAssembler::MaxD(FRegister fd, FRegister fs, FRegister ft) { in MaxD() argument
1667 DsFsmInstr(EmitFR(0x11, 0x11, ft, fs, fd, 0x1e)).FprOuts(fd).FprIns(fs, ft); in MaxD()
1779 void MipsAssembler::Lwc1(FRegister ft, Register rs, uint16_t imm16) { in Lwc1() argument
1780 uint32_t encoding = EmitI(0x31, rs, static_cast<Register>(ft), imm16); in Lwc1()
1781 if (Is32BitFPU() && (ft % 2 != 0)) { in Lwc1()
1784 DsFsmInstr(encoding).FprInOuts(GetFpuRegLow(ft)).GprIns(rs); in Lwc1()
1787 DsFsmInstr(encoding).FprOuts(ft).GprIns(rs); in Lwc1()
1791 void MipsAssembler::Ldc1(FRegister ft, Register rs, uint16_t imm16) { in Ldc1() argument
1792 DsFsmInstr(EmitI(0x35, rs, static_cast<Register>(ft), imm16)).FprOuts(ft).GprIns(rs); in Ldc1()
1795 void MipsAssembler::Swc1(FRegister ft, Register rs, uint16_t imm16) { in Swc1() argument
1796 DsFsmInstr(EmitI(0x39, rs, static_cast<Register>(ft), imm16)).FprIns(GetFpuRegLow(ft)).GprIns(rs); in Swc1()
1799 void MipsAssembler::Sdc1(FRegister ft, Register rs, uint16_t imm16) { in Sdc1() argument
1800 DsFsmInstr(EmitI(0x3d, rs, static_cast<Register>(ft), imm16)).FprIns(ft).GprIns(rs); in Sdc1()
4508 void MipsAssembler::Bc1eqz(FRegister ft, MipsLabel* label, bool is_bare) { in Bc1eqz() argument
4509 Bcond(label, /* is_r6= */ true, is_bare, kCondF, static_cast<Register>(ft), ZERO); in Bc1eqz()
4512 void MipsAssembler::Bc1nez(FRegister ft, MipsLabel* label, bool is_bare) { in Bc1nez() argument
4513 Bcond(label, /* is_r6= */ true, is_bare, kCondT, static_cast<Register>(ft), ZERO); in Bc1nez()