/external/v8/src/arm64/ |
D | assembler-arm64-inl.h | 65 return reg_size; in SizeInBits() 72 return reg_size / 8; in SizeInBytes() 78 return reg_size == 32; in Is32Bits() 84 return reg_size == 64; in Is64Bits() 101 ((reg_size == kWRegSizeInBits) || (reg_size == kXRegSizeInBits)) && in IsValidRegister() 108 ((reg_size == kSRegSizeInBits) || (reg_size == kDRegSizeInBits)) && in IsValidFPRegister() 116 DCHECK((reg_type != kNoRegister) || (reg_size == 0)); in IsNone() 124 return Aliases(other) && (reg_size == other.reg_size); in Is() 145 return (reg_size == other.reg_size) && (reg_type == other.reg_type); in IsSameSizeAndType() 1059 Instr Assembler::ImmS(unsigned imms, unsigned reg_size) { [all …]
|
D | instructions-arm64.cc | 75 static uint64_t RepeatBitsAcrossReg(unsigned reg_size, in RepeatBitsAcrossReg() argument 80 DCHECK((reg_size == kWRegSizeInBits) || (reg_size == kXRegSizeInBits)); in RepeatBitsAcrossReg() 82 for (unsigned i = width; i < reg_size; i *= 2) { in RepeatBitsAcrossReg() 93 unsigned reg_size = SixtyFourBits() ? kXRegSizeInBits : kWRegSizeInBits; in ImmLogical() local 132 return RepeatBitsAcrossReg(reg_size, in ImmLogical()
|
D | assembler-arm64.h | 121 int reg_size; member 133 reg_size = 0; in Register() 139 reg_size = r.reg_size; in Register() 146 reg_size = r.reg_size; in Register() 209 reg_size = 0; in FPRegister() 215 reg_size = r.reg_size; in FPRegister() 222 reg_size = r.reg_size; in FPRegister() 1184 int reg_size = rd.SizeInBits(); in lsl() local 1185 DCHECK(shift < reg_size); in lsl() 1186 ubfm(rd, rn, (reg_size - shift) % reg_size, reg_size - shift - 1); in lsl() [all …]
|
D | disasm-arm64.cc | 231 unsigned reg_size = (instr->SixtyFourBits() == 1) ? kXRegSizeInBits in VisitLogicalImmediate() local 233 if (rn_is_zr && !IsMovzMovnImm(reg_size, instr->ImmLogical())) { in VisitLogicalImmediate() 256 bool DisassemblingDecoder::IsMovzMovnImm(unsigned reg_size, uint64_t value) { in IsMovzMovnImm() argument 257 DCHECK((reg_size == kXRegSizeInBits) || in IsMovzMovnImm() 258 ((reg_size == kWRegSizeInBits) && (value <= 0xffffffff))); in IsMovzMovnImm() 269 if ((reg_size == kXRegSizeInBits) && in IsMovzMovnImm() 276 if ((reg_size == kWRegSizeInBits) && in IsMovzMovnImm() 1479 unsigned reg_size = (instr->SixtyFourBits() == 1) ? kXRegSizeInBits in SubstituteBitfieldImmediateField() local 1481 AppendToOutput("#%d", reg_size - r); in SubstituteBitfieldImmediateField()
|
D | macro-assembler-arm64.cc | 68 unsigned reg_size = rd.SizeInBits(); in LogicalMacro() local 123 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) { in LogicalMacro() 186 unsigned reg_size = rd.SizeInBits(); in Mov() local 197 if (CountClearHalfWords(~imm, reg_size) > in Mov() 198 CountClearHalfWords(imm, reg_size)) { in Mov() 210 DCHECK((reg_size % 16) == 0); in Mov() 320 unsigned MacroAssembler::CountClearHalfWords(uint64_t imm, unsigned reg_size) { in CountClearHalfWords() argument 321 DCHECK((reg_size % 8) == 0); in CountClearHalfWords() 323 for (unsigned i = 0; i < (reg_size / 16); i++) { in CountClearHalfWords() 335 bool MacroAssembler::IsImmMovz(uint64_t imm, unsigned reg_size) { in IsImmMovz() argument [all …]
|
D | disasm-arm64.h | 64 bool IsMovzMovnImm(unsigned reg_size, uint64_t value);
|
D | simulator-arm64.cc | 2133 T reg_size = sizeof(T) * 8; in BitfieldHelper() local 2139 mask = diff < reg_size - 1 ? (static_cast<T>(1) << (diff + 1)) - 1 in BitfieldHelper() 2143 umask = (umask >> R) | (umask << (reg_size - R)); in BitfieldHelper() 2145 diff += reg_size; in BitfieldHelper() 2173 T result = (static_cast<unsignedT>(src) >> R) | (src << (reg_size - R)); in BitfieldHelper() 2175 T topbits_preshift = (static_cast<T>(1) << (reg_size - diff - 1)) - 1; in BitfieldHelper() 2392 unsigned reg_size = (instr->Mask(FP64) == FP64) ? kDRegSizeInBits in VisitFPCompare() local 2394 double fn_val = fpreg(reg_size, instr->Rn()); in VisitFPCompare() 2398 case FCMP_d: FPCompare(fn_val, fpreg(reg_size, instr->Rm())); break; in VisitFPCompare() 2415 unsigned reg_size = (instr->Mask(FP64) == FP64) ? kDRegSizeInBits in VisitFPConditionalCompare() local [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | lsd.cpp | 325 int& reg_size, double& reg_angle, const double& prec); 337 … void region2rect(const std::vector<RegionPoint>& reg, const int reg_size, const double reg_angle, 344 double get_theta(const std::vector<RegionPoint>& reg, const int& reg_size, const double& x, 353 bool refine(std::vector<RegionPoint>& reg, int& reg_size, double reg_angle, 360 bool reduce_region_radius(std::vector<RegionPoint>& reg, int& reg_size, double reg_angle, 481 int reg_size; in flsd() local 483 region_grow(list[i].p, reg, reg_size, reg_angle, prec); in flsd() 486 if(reg_size < min_reg_size) { continue; } in flsd() 490 region2rect(reg, reg_size, reg_angle, prec, p, rec); in flsd() 496 if(!refine(reg, reg_size, reg_angle, prec, p, rec, DENSITY_TH)) { continue; } in flsd() [all …]
|
/external/vixl/src/vixl/a64/ |
D | simulator-a64.cc | 276 uint64_t Simulator::AddWithCarry(unsigned reg_size, in AddWithCarry() argument 282 VIXL_ASSERT((reg_size == kXRegSize) || (reg_size == kWRegSize)); in AddWithCarry() 284 uint64_t max_uint = (reg_size == kWRegSize) ? kWMaxUInt : kXMaxUInt; in AddWithCarry() 285 uint64_t reg_mask = (reg_size == kWRegSize) ? kWRegMask : kXRegMask; in AddWithCarry() 286 uint64_t sign_mask = (reg_size == kWRegSize) ? kWSignMask : kXSignMask; in AddWithCarry() 293 nzcv().SetN(CalcNFlag(result, reg_size)); in AddWithCarry() 315 int64_t Simulator::ShiftOperand(unsigned reg_size, in ShiftOperand() argument 322 int64_t mask = reg_size == kXRegSize ? kXRegMask : kWRegMask; in ShiftOperand() 330 unsigned s_shift = kXRegSize - reg_size; in ShiftOperand() 336 if (reg_size == kWRegSize) { in ShiftOperand() [all …]
|
D | instructions-a64.cc | 60 static uint64_t RepeatBitsAcrossReg(unsigned reg_size, in RepeatBitsAcrossReg() argument 65 VIXL_ASSERT((reg_size == kWRegSize) || (reg_size == kXRegSize)); in RepeatBitsAcrossReg() 67 for (unsigned i = width; i < reg_size; i *= 2) { in RepeatBitsAcrossReg() 133 unsigned reg_size = SixtyFourBits() ? kXRegSize : kWRegSize; in ImmLogical() local 172 return RepeatBitsAcrossReg(reg_size, in ImmLogical()
|
D | macro-assembler-a64.cc | 390 unsigned reg_size = rd.size(); in MoveImmediateHelper() local 401 if (CountClearHalfWords(~imm, reg_size) > in MoveImmediateHelper() 402 CountClearHalfWords(imm, reg_size)) { in MoveImmediateHelper() 418 VIXL_ASSERT((reg_size % 16) == 0); in MoveImmediateHelper() 458 int reg_size = dst.size(); in OneInstrMoveImmediateHelper() local 460 if (IsImmMovz(imm, reg_size) && !dst.IsSP()) { in OneInstrMoveImmediateHelper() 467 } else if (IsImmMovn(imm, reg_size) && !dst.IsSP()) { in OneInstrMoveImmediateHelper() 474 } else if (IsImmLogical(imm, reg_size, &n, &imm_s, &imm_r)) { in OneInstrMoveImmediateHelper() 717 unsigned reg_size = rd.size(); in LogicalMacro() local 775 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) { in LogicalMacro() [all …]
|
D | assembler-a64.h | 1505 unsigned reg_size = rd.size(); in lsl() local 1506 VIXL_ASSERT(shift < reg_size); in lsl() 1507 ubfm(rd, rn, (reg_size - shift) % reg_size, reg_size - shift - 1); in lsl() 3888 static Instr ImmS(unsigned imms, unsigned reg_size) { in ImmS() argument 3889 VIXL_ASSERT(((reg_size == kXRegSize) && is_uint6(imms)) || in ImmS() 3890 ((reg_size == kWRegSize) && is_uint5(imms))); in ImmS() 3891 USE(reg_size); in ImmS() 3895 static Instr ImmR(unsigned immr, unsigned reg_size) { in ImmR() argument 3896 VIXL_ASSERT(((reg_size == kXRegSize) && is_uint6(immr)) || in ImmR() 3897 ((reg_size == kWRegSize) && is_uint5(immr))); in ImmR() [all …]
|
D | disasm-a64.cc | 245 unsigned reg_size = (instr->SixtyFourBits() == 1) ? kXRegSize in VisitLogicalImmediate() local 247 if (rn_is_zr && !IsMovzMovnImm(reg_size, instr->ImmLogical())) { in VisitLogicalImmediate() 270 bool Disassembler::IsMovzMovnImm(unsigned reg_size, uint64_t value) { in IsMovzMovnImm() argument 271 VIXL_ASSERT((reg_size == kXRegSize) || in IsMovzMovnImm() 272 ((reg_size == kWRegSize) && (value <= 0xffffffff))); in IsMovzMovnImm() 283 if ((reg_size == kXRegSize) && in IsMovzMovnImm() 290 if ((reg_size == kWRegSize) && in IsMovzMovnImm() 2892 unsigned reg_size = kXRegSize; in SubstituteRegisterField() local 2902 reg_type = CPURegister::kRegister; reg_size = kWRegSize; break; in SubstituteRegisterField() 2904 reg_type = CPURegister::kRegister; reg_size = kXRegSize; break; in SubstituteRegisterField() [all …]
|
D | disasm-a64.h | 144 bool IsMovzMovnImm(unsigned reg_size, uint64_t value);
|
/external/vixl/src/vixl/ |
D | utils.cc | 130 unsigned CountClearHalfWords(uint64_t imm, unsigned reg_size) { in CountClearHalfWords() argument 131 VIXL_ASSERT((reg_size % 8) == 0); in CountClearHalfWords() 133 for (unsigned i = 0; i < (reg_size / 16); i++) { in CountClearHalfWords()
|
/external/jemalloc/src/ |
D | android_je_mallinfo.c | 37 mi.uordblks += arena_bin_info[j].reg_size * bin->stats.curregs; in je_mallinfo() 73 mi.fsmblks += arena_bin_info[j].reg_size * bin->stats.curregs; in __mallinfo_arena_info() 92 mi.ordblks = arena_bin_info[bidx].reg_size * bin->stats.curregs; in __mallinfo_bin_info()
|
D | stats.c | 81 size_t reg_size, run_size, curregs, availregs, milli; in stats_arena_bins_print() local 93 CTL_M2_GET("arenas.bin.0.size", j, ®_size, size_t); in stats_arena_bins_print() 138 reg_size, j, curregs * reg_size, nmalloc, in stats_arena_bins_print() 148 reg_size, j, curregs * reg_size, nmalloc, in stats_arena_bins_print()
|
D | android_je_iterate.c | 143 callback(ptr, bin_info->reg_size, arg); in je_iterate_small()
|
/external/v8/test/cctest/ |
D | test-utils-arm64.cc | 214 int reg_size, int reg_count, RegList allowed) { in PopulateRegisterArray() argument 221 r[i] = Register::Create(n, reg_size); in PopulateRegisterArray() 241 int reg_size, int reg_count, RegList allowed) { in PopulateFPRegisterArray() argument 248 v[i] = FPRegister::Create(n, reg_size); in PopulateFPRegisterArray()
|
D | test-utils-arm64.h | 207 int reg_size, int reg_count, RegList allowed); 211 int reg_size, int reg_count, RegList allowed);
|
/external/vixl/test/ |
D | test-utils-a64.h | 229 int reg_size, int reg_count, RegList allowed); 233 int reg_size, int reg_count, RegList allowed);
|
D | test-utils-a64.cc | 246 int reg_size, int reg_count, RegList allowed) { in PopulateRegisterArray() argument 253 r[i] = Register(n, reg_size); in PopulateRegisterArray() 273 int reg_size, int reg_count, RegList allowed) { in PopulateFPRegisterArray() argument 280 v[i] = FPRegister(n, reg_size); in PopulateFPRegisterArray()
|
D | test-simulator-a64.cc | 306 uintptr_t results, unsigned reg_size) { in Test2Op_Helper() argument 307 VIXL_ASSERT((reg_size == kDRegSize) || (reg_size == kSRegSize)); in Test2Op_Helper() 321 bool double_op = reg_size == kDRegSize; in Test2Op_Helper() 426 uintptr_t results, unsigned reg_size) { in Test3Op_Helper() argument 427 VIXL_ASSERT((reg_size == kDRegSize) || (reg_size == kSRegSize)); in Test3Op_Helper() 442 bool double_op = reg_size == kDRegSize; in Test3Op_Helper() 561 uintptr_t results, unsigned reg_size) { in TestCmp_Helper() argument 562 VIXL_ASSERT((reg_size == kDRegSize) || (reg_size == kSRegSize)); in TestCmp_Helper() 577 bool double_op = reg_size == kDRegSize; in TestCmp_Helper() 690 uintptr_t results, unsigned reg_size) { in TestCmpZero_Helper() argument [all …]
|
/external/jemalloc/test/unit/ |
D | junk.c | 31 for (i = 0; i < bin_info->reg_size; i++) { in arena_dalloc_junk_small_intercept() 34 i, bin_info->reg_size); in arena_dalloc_junk_small_intercept()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vs_emit.c | 1168 GLuint reg_size ) in deref() argument 1174 GLuint byte_offset = arg.nr * 32 + arg.subnr + offset * reg_size; in deref() 1187 brw_MUL(p, acc, vp_address, brw_imm_uw(reg_size)); in deref() 1190 brw_MUL(p, acc, suboffset(vp_address, 4), brw_imm_uw(reg_size)); in deref() 1208 int reg_size = 32; in move_to_reladdr_dst() local 1225 brw_MUL(p, acc, vp_address, brw_imm_uw(reg_size)); in move_to_reladdr_dst() 1229 brw_MUL(p, acc, suboffset(vp_address, 4), brw_imm_uw(reg_size)); in move_to_reladdr_dst() 1231 brw_imm_uw(byte_offset + reg_size / 2)); in move_to_reladdr_dst()
|