/system/core/libpixelflinger/codeflinger/ |
H A D | ARMAssembler.cpp | 229 int Rd, int Rm, int Rs, int Rn) { 230 if (Rd == Rm) { int t = Rm; Rm=Rs; Rs=t; } 231 LOG_FATAL_IF(Rd==Rm, "MLA(r%u,r%u,r%u,r%u)", Rd,Rm,Rs,Rn); 233 (Rd<<16) | (Rn<<12) | (Rs<<8) | 0x90 | Rm; 236 int Rd, int Rm, int Rs) { 237 if (Rd == Rm) { int t = Rm; Rm=Rs; Rs=t; } 238 LOG_FATAL_IF(Rd==Rm, "MUL(r%u,r%u,r%u)", Rd,Rm,Rs); 239 *mPC++ = (cc<<28) | (s<<20) | (Rd<<16) | (Rs<< 228 MLA(int cc, int s, int Rd, int Rm, int Rs, int Rn) argument 235 MUL(int cc, int s, int Rd, int Rm, int Rs) argument 241 UMULL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 248 UMUAL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 255 SMULL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 262 SMUAL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 402 SMUL(int cc, int xy, int Rd, int Rm, int Rs) argument 408 SMULW(int cc, int y, int Rd, int Rm, int Rs) argument 414 SMLA(int cc, int xy, int Rd, int Rm, int Rs, int Rn) argument 420 SMLAL(int cc, int xy, int RdHi, int RdLo, int Rs, int Rm) argument 426 SMLAW(int cc, int y, int Rd, int Rm, int Rs, int Rn) argument 520 reg_reg(int Rm, int type, int Rs) argument [all...] |
H A D | ARMAssemblerProxy.cpp | 103 uint32_t ARMAssemblerProxy::reg_reg(int Rm, int type, int Rs) argument 105 return mTarget->reg_reg(Rm, type, Rs); 166 void ARMAssemblerProxy::MLA(int cc, int s, int Rd, int Rm, int Rs, int Rn) { argument 167 mTarget->MLA(cc, s, Rd, Rm, Rs, Rn); 169 void ARMAssemblerProxy::MUL(int cc, int s, int Rd, int Rm, int Rs) { argument 170 mTarget->MUL(cc, s, Rd, Rm, Rs); 173 int RdLo, int RdHi, int Rm, int Rs) { 174 mTarget->UMULL(cc, s, RdLo, RdHi, Rm, Rs); 177 int RdLo, int RdHi, int Rm, int Rs) { 178 mTarget->UMUAL(cc, s, RdLo, RdHi, Rm, Rs); 172 UMULL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 176 UMUAL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 180 SMULL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 184 SMUAL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 272 SMUL(int cc, int xy, int Rd, int Rm, int Rs) argument 275 SMULW(int cc, int y, int Rd, int Rm, int Rs) argument 278 SMLA(int cc, int xy, int Rd, int Rm, int Rs, int Rn) argument 281 SMLAL( int cc, int xy, int RdHi, int RdLo, int Rs, int Rm) argument 285 SMLAW(int cc, int y, int Rd, int Rm, int Rs, int Rn) argument [all...] |
H A D | ARMAssemblerInterface.h | 83 virtual uint32_t reg_reg(int Rm, int type, int Rs) = 0; 128 int Rd, int Rm, int Rs, int Rn) = 0; 130 int Rd, int Rm, int Rs) = 0; 132 int RdLo, int RdHi, int Rm, int Rs) = 0; 134 int RdLo, int RdHi, int Rm, int Rs) = 0; 136 int RdLo, int RdHi, int Rm, int Rs) = 0; 138 int RdLo, int RdHi, int Rm, int Rs) = 0; 204 int Rd, int Rm, int Rs) = 0; 206 int Rd, int Rm, int Rs) = 0; 208 int Rd, int Rm, int Rs, in 288 SMULBB(int cc, int Rd, int Rm, int Rs) argument 290 SMULTB(int cc, int Rd, int Rm, int Rs) argument 292 SMULBT(int cc, int Rd, int Rm, int Rs) argument 294 SMULTT(int cc, int Rd, int Rm, int Rs) argument 297 SMULWB(int cc, int Rd, int Rm, int Rs) argument 299 SMULWT(int cc, int Rd, int Rm, int Rs) argument 303 SMLABB(int cc, int Rd, int Rm, int Rs, int Rn) argument 306 SMLATB(int cc, int Rd, int Rm, int Rs, int Rn) argument 309 SMLABT(int cc, int Rd, int Rm, int Rs, int Rn) argument 312 SMLATT(int cc, int Rd, int Rm, int Rs, int Rn) argument 316 SMLALBB(int cc, int RdHi, int RdLo, int Rs, int Rm) argument 319 SMLALTB(int cc, int RdHi, int RdLo, int Rs, int Rm) argument 322 SMLALBT(int cc, int RdHi, int RdLo, int Rs, int Rm) argument 325 SMLALTT(int cc, int RdHi, int RdLo, int Rs, int Rm) argument 329 SMLAWB(int cc, int Rd, int Rm, int Rs, int Rn) argument 332 SMLAWT(int cc, int Rd, int Rm, int Rs, int Rn) argument [all...] |
H A D | GGLAssembler.cpp | 392 int Rs = scratches.obtain(); local 394 CONTEXT_LOAD(Rs, state.buffers.color.stride); 396 SMLABB(AL, Rs, Ry, Rs, Rx); // Rs = Rx + Ry*Rs 397 base_offset(parts.cbPtr, parts.cbPtr, Rs); 398 scratches.recycle(Rs); 428 int Rs = dzdx; local 430 CONTEXT_LOAD(Rs, stat [all...] |
H A D | Arm64Assembler.cpp | 519 void ArmToArm64Assembler::MLA(int cc, int s,int Rd, int Rm, int Rs, int Rn) argument 523 *mPC++ = A64_MADD_W(Rd, Rm, Rs, Rn); 527 void ArmToArm64Assembler::MUL(int cc, int s, int Rd, int Rm, int Rs) argument 531 *mPC++ = A64_MADD_W(Rd, Rm, Rs, mZeroReg); 534 int /*RdLo*/, int /*RdHi*/, int /*Rm*/, int /*Rs*/) 539 int /*RdLo*/, int /*RdHi*/, int /*Rm*/, int /*Rs*/) 544 int /*RdLo*/, int /*RdHi*/, int /*Rm*/, int /*Rs*/) 549 int /*RdLo*/, int /*RdHi*/, int /*Rm*/, int /*Rs*/) 775 int Rd, int Rm, int Rs) 785 *mPC++ = A64_SBFM_W(mTmpReg2, Rs, 1 774 SMUL(int cc, int xy, int Rd, int Rm, int Rs) argument 794 SMULW(int cc, int y, int Rd, int Rm, int Rs) argument 810 SMLA(int cc, int xy, int Rd, int Rm, int Rs, int Rn) argument [all...] |
H A D | MIPSAssembler.cpp | 248 uint32_t ArmToMipsAssembler::reg_reg(int Rm, int type, int Rs) argument 614 int Rd, int Rm, int Rs, int Rn) { 618 mMips->MUL(R_at, Rm, Rs); 627 int Rd, int Rm, int Rs) { 629 mMips->MUL(Rd, Rm, Rs); 637 int RdLo, int RdHi, int Rm, int Rs) { 639 mMips->MULT(Rm, Rs); 650 int RdLo, int RdHi, int Rm, int Rs) { 652 "UMUAL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs); 654 // (RdHi<<16) | (RdLo<<12) | (Rs<< 613 MLA(int cc, int s, int Rd, int Rm, int Rs, int Rn) argument 626 MUL(int cc, int s, int Rd, int Rm, int Rs) argument 636 UMULL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 649 UMUAL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 665 SMULL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 680 SMUAL(int cc, int s, int RdLo, int RdHi, int Rm, int Rs) argument 1081 SMUL(int cc, int xy, int Rd, int Rm, int Rs) argument 1120 SMULW(int cc, int y, int Rd, int Rm, int Rs) argument 1140 SMLA(int cc, int xy, int Rd, int Rm, int Rs, int Rn) argument 1180 SMLAL(int cc, int xy, int RdHi, int RdLo, int Rs, int Rm) argument 1189 SMLAW(int cc, int y, int Rd, int Rm, int Rs, int Rn) argument 1439 ADDU(int Rd, int Rs, int Rt) argument 1446 ADDIU(int Rt, int Rs, int16_t imm) argument 1452 SUBU(int Rd, int Rs, int Rt) argument 1459 SUBIU(int Rt, int Rs, int16_t imm) argument 1465 NEGU(int Rd, int Rs) argument 1470 MUL(int Rd, int Rs, int Rt) argument 1476 MULT(int Rs, int Rt) argument 1481 MULTU(int Rs, int Rt) argument 1486 MADD(int Rs, int Rt) argument 1491 MADDU(int Rs, int Rt) argument 1497 MSUB(int Rs, int Rt) argument 1502 MSUBU(int Rs, int Rt) argument 1527 SLT(int Rd, int Rs, int Rt) argument 1533 SLTI(int Rt, int Rs, int16_t imm) argument 1539 SLTU(int Rd, int Rs, int Rt) argument 1545 SLTIU(int Rt, int Rs, int16_t imm) argument 1557 AND(int Rd, int Rs, int Rt) argument 1563 ANDI(int Rt, int Rs, uint16_t imm) argument 1569 OR(int Rd, int Rs, int Rt) argument 1575 ORI(int Rt, int Rs, uint16_t imm) argument 1580 NOR(int Rd, int Rs, int Rt) argument 1586 NOT(int Rd, int Rs) argument 1591 XOR(int Rd, int Rs, int Rt) argument 1597 XORI(int Rt, int Rs, uint16_t imm) argument 1608 SLLV(int Rd, int Rt, int Rs) argument 1620 SRLV(int Rd, int Rt, int Rs) argument 1632 SRAV(int Rd, int Rt, int Rs) argument 1645 ROTRV(int Rd, int Rt, int Rs) argument 1653 RORsyn(int Rd, int Rt, int Rs) argument 1672 CLO(int Rd, int Rs) argument 1679 CLZ(int Rd, int Rs) argument 1753 MOVE(int Rd, int Rs) argument 1760 MOVN(int Rd, int Rs, int Rt) argument 1766 MOVZ(int Rd, int Rs, int Rt) argument 1782 MTHI(int Rs) argument 1787 MTLO(int Rs) argument 1812 BEQ(int Rs, int Rt, const char* label) argument 1819 BNE(int Rs, int Rt, const char* label) argument 1826 BLEZ(int Rs, const char* label) argument 1833 BLTZ(int Rs, const char* label) argument 1840 BGTZ(int Rs, const char* label) argument 1848 BGEZ(int Rs, const char* label) argument 1855 JR(int Rs) argument 1868 BEQZ(int Rs, const char* label) argument 1873 BNEZ(int Rs, const char* label) argument 1878 BGE(int Rs, int Rt, const char* label) argument 1884 BGEU(int Rs, int Rt, const char* label) argument 1890 BGT(int Rs, int Rt, const char* label) argument 1896 BGTU(int Rs, int Rt, const char* label) argument 1902 BLE(int Rs, int Rt, const char* label) argument 1908 BLEU(int Rs, int Rt, const char* label) argument 1914 BLT(int Rs, int Rt, const char* label) argument 1920 BLTU(int Rs, int Rt, const char* label) argument [all...] |
/system/core/libpixelflinger/tests/arch-arm64/assembler/ |
H A D | arm64_assembler_test.cpp | 415 uint32_t Rn = 1, uint32_t Rm = 2, uint32_t Rs = 3) 430 regs[Rs] = test.RsValue; 456 case INSTR_MUL: a64asm->MUL(test.cond, test.setFlags, Rd,Rm,Rs); break; 457 case INSTR_MLA: a64asm->MLA(test.cond, test.setFlags, Rd,Rm,Rs,Rn); break; 461 case INSTR_SMULBB:a64asm->SMULBB(test.cond, Rd,Rm,Rs); break; 462 case INSTR_SMULBT:a64asm->SMULBT(test.cond, Rd,Rm,Rs); break; 463 case INSTR_SMULTB:a64asm->SMULTB(test.cond, Rd,Rm,Rs); break; 464 case INSTR_SMULTT:a64asm->SMULTT(test.cond, Rd,Rm,Rs); break; 465 case INSTR_SMULWB:a64asm->SMULWB(test.cond, Rd,Rm,Rs); break; 466 case INSTR_SMULWT:a64asm->SMULWT(test.cond, Rd,Rm,Rs); brea 753 uint32_t Rd, Rm, Rs, Rn; local [all...] |