Home
last modified time | relevance | path

Searched refs:reg_size (Results 1 – 25 of 40) sorted by relevance

12

/external/v8/src/arm64/
Dassembler-arm64-inl.h65 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 …]
Dinstructions-arm64.cc75 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()
Dassembler-arm64.h121 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 …]
Ddisasm-arm64.cc231 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()
Dmacro-assembler-arm64.cc68 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 …]
Ddisasm-arm64.h64 bool IsMovzMovnImm(unsigned reg_size, uint64_t value);
Dsimulator-arm64.cc2133 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/
Dlsd.cpp325 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/
Dsimulator-a64.cc276 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 …]
Dinstructions-a64.cc60 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()
Dmacro-assembler-a64.cc390 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 …]
Dassembler-a64.h1505 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 …]
Ddisasm-a64.cc245 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 …]
Ddisasm-a64.h144 bool IsMovzMovnImm(unsigned reg_size, uint64_t value);
/external/vixl/src/vixl/
Dutils.cc130 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/
Dandroid_je_mallinfo.c37 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()
Dstats.c81 size_t reg_size, run_size, curregs, availregs, milli; in stats_arena_bins_print() local
93 CTL_M2_GET("arenas.bin.0.size", j, &reg_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()
Dandroid_je_iterate.c143 callback(ptr, bin_info->reg_size, arg); in je_iterate_small()
/external/v8/test/cctest/
Dtest-utils-arm64.cc214 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()
Dtest-utils-arm64.h207 int reg_size, int reg_count, RegList allowed);
211 int reg_size, int reg_count, RegList allowed);
/external/vixl/test/
Dtest-utils-a64.h229 int reg_size, int reg_count, RegList allowed);
233 int reg_size, int reg_count, RegList allowed);
Dtest-utils-a64.cc246 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()
Dtest-simulator-a64.cc306 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/
Djunk.c31 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/
Dbrw_vs_emit.c1168 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()

12