• Home
  • Raw
  • Download

Lines Matching refs:imm

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()
590 *mPC++ = A64_SUB_IMM_X(mTmpReg1, mZeroReg, -imm, 0); in dataTransfer()
842 uint32_t imm = 0x00FF00FF; in UXTB16() local
843 *mPC++ = A64_MOVZ_W(mTmpReg2, imm & 0xFFFF, 0); in UXTB16()
844 *mPC++ = A64_MOVK_W(mTmpReg2, (imm >> 16) & 0x0000FFFF, 16); in UXTB16()
860 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument
863 imm = immediate; in buildImmediate()
870 uint32_t rot, imm; in isValidImmediate() local
871 return buildImmediate(immediate, rot, imm) == 0; in isValidImmediate()
874 uint32_t ArmToArm64Assembler::imm(uint32_t immediate) in imm() function in android::ArmToArm64Assembler
1082 uint32_t imm, uint32_t shift) in A64_ADD_IMM_X() argument
1084 LOG_INSTR("ADD X%d, X%d, #%d, LSL #%d\n", Rd, Rn, imm, shift); in A64_ADD_IMM_X()
1085 return (0x91 << 24) | ((shift/12) << 22) | (imm << 10) | (Rn << 5) | Rd; in A64_ADD_IMM_X()
1089 uint32_t imm, uint32_t shift) in A64_SUB_IMM_X() argument
1091 LOG_INSTR("SUB X%d, X%d, #%d, LSL #%d\n", Rd, Rn, imm, shift); in A64_SUB_IMM_X()
1092 return (0xD1 << 24) | ((shift/12) << 22) | (imm << 10) | (Rn << 5) | Rd; in A64_SUB_IMM_X()
1176 uint32_t ArmToArm64Assembler::A64_MOVZ_X(uint32_t Rd, uint32_t imm, in A64_MOVZ_X() argument
1179 LOG_INSTR("MOVZ X%d, #0x%x, LSL #%d\n", Rd, imm, shift); in A64_MOVZ_X()
1180 return(0xD2 << 24) | (0x1 << 23) | ((shift/16) << 21) | (imm << 5) | Rd; in A64_MOVZ_X()
1183 uint32_t ArmToArm64Assembler::A64_MOVK_W(uint32_t Rd, uint32_t imm, in A64_MOVK_W() argument
1186 LOG_INSTR("MOVK W%d, #0x%x, LSL #%d\n", Rd, imm, shift); in A64_MOVK_W()
1187 return (0x72 << 24) | (0x1 << 23) | ((shift/16) << 21) | (imm << 5) | Rd; in A64_MOVK_W()
1190 uint32_t ArmToArm64Assembler::A64_MOVZ_W(uint32_t Rd, uint32_t imm, in A64_MOVZ_W() argument
1193 LOG_INSTR("MOVZ W%d, #0x%x, LSL #%d\n", Rd, imm, shift); in A64_MOVZ_W()
1194 return(0x52 << 24) | (0x1 << 23) | ((shift/16) << 21) | (imm << 5) | Rd; in A64_MOVZ_W()