/system/core/libpixelflinger/codeflinger/ |
D | Arm64Assembler.cpp | 365 int imm = mAddrMode.immediate; in dataProcessingCommon() local 366 *mPC++ = A64_MOVZ_W(mTmpReg2, imm & 0x0000FFFF, 0); in dataProcessingCommon() 367 *mPC++ = A64_MOVK_W(mTmpReg2, (imm >> 16) & 0x0000FFFF, 16); in dataProcessingCommon() 483 int imm = mAddrMode.immediate; in ADDR_ADD() local 484 *mPC++ = A64_MOVZ_W(mTmpReg1, imm & 0x0000FFFF, 0); in ADDR_ADD() 485 *mPC++ = A64_MOVK_W(mTmpReg1, (imm >> 16) & 0x0000FFFF, 16); in ADDR_ADD() 586 int imm = mAddrMode.immediate; in dataTransfer() local 587 if(imm >= 0 && imm < (1<<12)) in dataTransfer() 588 *mPC++ = A64_ADD_IMM_X(mTmpReg1, mZeroReg, imm, 0); in dataTransfer() 589 else if(imm < 0 && -imm < (1<<12)) in dataTransfer() [all …]
|
D | ARMAssembler.cpp | 444 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument 447 imm = immediate; in buildImmediate() 448 if (imm > 0x7F) { // skip the easy cases in buildImmediate() 449 while (!(imm&3) || (imm&0xFC000000)) { in buildImmediate() 451 newval = imm >> 2; in buildImmediate() 452 newval |= (imm&3) << 30; in buildImmediate() 453 imm = newval; in buildImmediate() 463 if (imm>=0x100) in buildImmediate() 466 if (((imm>>(rot<<1)) | (imm<<(32-(rot<<1)))) != immediate) in buildImmediate() 476 uint32_t rot, imm; in isValidImmediate() local [all …]
|
D | texturing.cpp | 160 parts.iterated.reg, imm(0xFF)); in init_iterated_color() 513 SUB(AL, 0, u, u, imm(1<<(FRAC_BITS-1))); in build_textures() 514 SUB(AL, 0, v, v, imm(1<<(FRAC_BITS-1))); in build_textures() 517 AND(AL, 0, U, u, imm((1<<FRAC_BITS)-1)); in build_textures() 518 AND(AL, 0, V, v, imm((1<<FRAC_BITS)-1)); in build_textures() 521 SUB(AL, 0, width, width, imm(1)); in build_textures() 522 SUB(AL, 0, height, height, imm(1)); in build_textures() 531 MOV(LT, 0, width, imm(1 << shift)); in build_textures() 534 RSB(GE, 0, width, width, imm(0)); in build_textures() 551 MOV(LE, 0, width, imm(0)); in build_textures() [all …]
|
D | mips_disassem.c | 377 print_addr(loc + 4 + ((short)i.IType.imm << 2)); in db_disasm_insn() 486 db_printf("%d(%s)", (short)i.IType.imm, in db_disasm_insn() 495 i.IType.imm); in db_disasm_insn() 503 i.IType.imm); in db_disasm_insn() 509 i.IType.imm); in db_disasm_insn() 516 i.IType.imm, in db_disasm_insn() 527 (short)i.IType.imm); in db_disasm_insn() 535 (short)i.IType.imm); in db_disasm_insn()
|
D | Arm64Assembler.h | 80 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 82 virtual uint32_t imm(uint32_t immediate); 210 uint32_t imm, uint32_t shift = 0); 212 uint32_t imm, uint32_t shift = 0); 228 uint32_t A64_MOVZ_W(uint32_t Rd, uint32_t imm, uint32_t shift); 229 uint32_t A64_MOVZ_X(uint32_t Rd, uint32_t imm, uint32_t shift); 230 uint32_t A64_MOVK_W(uint32_t Rd, uint32_t imm, uint32_t shift);
|
D | mips64_disassem.c | 378 print_addr(loc + 4 + ((short)i.IType.imm << 2)); in db_disasm_insn() 487 db_printf("%d(%s)", (short)i.IType.imm, in db_disasm_insn() 496 i.IType.imm); in db_disasm_insn() 504 i.IType.imm); in db_disasm_insn() 510 i.IType.imm); in db_disasm_insn() 514 (short)i.IType.imm); in db_disasm_insn() 523 (short)i.IType.imm); in db_disasm_insn() 531 (short)i.IType.imm); in db_disasm_insn()
|
D | MIPSAssembler.h | 65 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 67 virtual uint32_t imm(uint32_t immediate); 274 void ADDIU(int Rt, int Rs, int16_t imm); 276 void SUBIU(int Rt, int Rs, int16_t imm); 295 void SLTI(int Rt, int Rs, int16_t imm); 297 void SLTIU(int Rt, int Rs, int16_t imm); 306 void ANDI(int Rd, int Rs, uint16_t imm); 308 void ORI(int Rt, int Rs, uint16_t imm); 312 void XORI(int Rt, int Rs, uint16_t imm);
|
D | blending.cpp | 58 CMP(AL, factor.reg, imm( 0x10000 )); in build_fog() 59 MOV(HS, 0, factor.reg, imm( 0x10000 )); in build_fog() 300 RSB(AL, 0, factor.reg, factor.reg, imm((1<<factor.s))); in build_blend_factor() 367 RSB(AL, 0, factor.reg, factor.reg, imm((1<<factor.s))); in build_blend_factor() 660 CMP(AL, v.reg, imm( 1<<v.h )); in component_sat() 662 MOV(HS, 0, v.reg, imm( one )); in component_sat() 664 MVN(HS, 0, v.reg, imm( ~one )); in component_sat() 666 MOV(HS, 0, v.reg, imm( 1<<v.h )); in component_sat() 667 SUB(HS, 0, v.reg, v.reg, imm( 1<<v.l )); in component_sat()
|
D | GGLAssembler.cpp | 210 imm( 1 << (32 - GGL_DITHER_ORDER_SHIFT))); in scanline_core() 264 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); in scanline_core() 323 SUB(AL, S, parts.count.reg, parts.count.reg, imm(1<<16)); in scanline_core() 338 ADDR_ADD(AL, 0, parts.cbPtr.reg, parts.cbPtr.reg, imm(parts.cbPtr.size>>3)); in scanline_core() 340 SUB(AL, S, parts.count.reg, parts.count.reg, imm(1<<16)); in scanline_core() 366 SUB(AL, 0, parts.count.reg, parts.count.reg, imm(1)); in build_scanline_prolog() 376 AND(AL, 0, tx, Rx, imm(GGL_DITHER_MASK)); in build_scanline_prolog() 377 AND(AL, 0, ty, Ry, imm(GGL_DITHER_MASK)); in build_scanline_prolog() 830 case GGL_CLEAR: MOV(AL, 0, pixel.reg, imm(0)); break; in build_logic_op() 852 case GGL_SET: MVN(AL, 0, pixel.reg, imm(0)); break; in build_logic_op() [all …]
|
D | mips_opcode.h | 52 unsigned imm: 16; member 87 unsigned imm: 16; member
|
D | MIPSAssembler.cpp | 209 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument 213 imm = immediate; in buildImmediate() 225 uint32_t ArmToMipsAssembler::imm(uint32_t immediate) in imm() function in android::ArmToMipsAssembler 1446 void MIPSAssembler::ADDIU(int Rt, int Rs, int16_t imm) in ADDIU() argument 1448 *mPC++ = (addiu_op<<OP_SHF) | (Rt<<RT_SHF) | (Rs<<RS_SHF) | (imm & MSK_16); in ADDIU() 1459 void MIPSAssembler::SUBIU(int Rt, int Rs, int16_t imm) // really addiu(d, s, -j) in SUBIU() argument 1461 *mPC++ = (addiu_op<<OP_SHF) | (Rt<<RT_SHF) | (Rs<<RS_SHF) | ((-imm) & MSK_16); in SUBIU() 1533 void MIPSAssembler::SLTI(int Rt, int Rs, int16_t imm) in SLTI() argument 1535 *mPC++ = (slti_op<<OP_SHF) | (Rt<<RT_SHF) | (Rs<<RS_SHF) | (imm & MSK_16); in SLTI() 1545 void MIPSAssembler::SLTIU(int Rt, int Rs, int16_t imm) in SLTIU() argument [all …]
|
D | MIPS64Assembler.h | 70 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 72 virtual uint32_t imm(uint32_t immediate); 274 void DADDIU(int Rt, int Rs, int16_t imm); 276 void DSUBIU(int Rt, int Rs, int16_t imm);
|
D | ARMAssemblerProxy.cpp | 81 int ARMAssemblerProxy::buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm) in buildImmediate() argument 83 return mTarget->buildImmediate(i, rot, imm); in buildImmediate() 88 uint32_t ARMAssemblerProxy::imm(uint32_t immediate) in imm() function in android::ARMAssemblerProxy 90 return mTarget->imm(immediate); in imm()
|
D | load_store.cpp | 52 ADD(AL, 0, addr.reg, addr.reg, imm(3)); in store() 96 ADD(AL, 0, addr.reg, addr.reg, imm(3)); in load() 123 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; in extract() 125 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; in extract()
|
D | ARMAssembler.h | 67 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 69 virtual uint32_t imm(uint32_t immediate);
|
D | ARMAssemblerProxy.h | 56 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm); 58 virtual uint32_t imm(uint32_t immediate);
|
D | MIPS64Assembler.cpp | 199 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument 203 imm = immediate; in buildImmediate() 215 uint32_t ArmToMips64Assembler::imm(uint32_t immediate) in imm() function in android::ArmToMips64Assembler 1385 void MIPS64Assembler::DADDIU(int Rt, int Rs, int16_t imm) in DADDIU() argument 1387 *mPC++ = (daddiu_op<<OP_SHF) | (Rt<<RT_SHF) | (Rs<<RS_SHF) | (imm & MSK_16); in DADDIU() 1396 void MIPS64Assembler::DSUBIU(int Rt, int Rs, int16_t imm) // really addiu(d, s, -j) in DSUBIU() argument 1398 *mPC++ = (daddiu_op<<OP_SHF) | (Rt<<RT_SHF) | (Rs<<RS_SHF) | ((-imm) & MSK_16); in DSUBIU()
|
D | ARMAssemblerInterface.h | 78 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm) = 0; 80 virtual uint32_t imm(uint32_t immediate) = 0;
|
/system/bpf/libbpf_android/ |
D | Loader.cpp | 471 insn->imm = fd; in applyRelo()
|
/system/core/libpixelflinger/tests/arch-arm64/assembler/ |
D | arm64_assembler_test.cpp | 435 op2 = a64asm->imm(test.immValue); in dataOpTest() 683 uint32_t op2 = a64asm->imm(0x31); in dataTransferLDMSTM()
|
/system/core/libpixelflinger/tests/arch-mips64/assembler/ |
D | mips64_assembler_test.cpp | 397 op2 = a64asm->imm(test.immValue); in dataOpTest()
|