Searched defs:reg_size (Results 1 - 25 of 26) sorted by relevance

12

/external/vixl/src/
H A Dutils-vixl.cc131 unsigned CountClearHalfWords(uint64_t imm, unsigned reg_size) { argument
132 VIXL_ASSERT((reg_size % 8) == 0);
134 for (unsigned i = 0; i < (reg_size / 16); i++) {
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_ir_vec4.h402 const unsigned reg_size = local
404 return DIV_ROUND_UP(reg_offset(inst->src[i]) % reg_size + inst->size_read(i),
405 reg_size);
H A Dbrw_fs_reg_allocate.cpp758 const unsigned reg_size = dst.component_size(bld.dispatch_width()) / local
760 assert(count % reg_size == 0);
762 for (unsigned i = 0; i < count / reg_size; i++) {
783 dst.offset += reg_size * REG_SIZE;
784 spill_offset += reg_size * REG_SIZE;
792 const unsigned reg_size = src.component_size(bld.dispatch_width()) / local
794 assert(count % reg_size == 0);
796 for (unsigned i = 0; i < count / reg_size; i++) {
799 src.offset += reg_size * REG_SIZE;
800 spill_inst->offset = spill_offset + i * reg_size * REG_SIZ
[all...]
H A Dbrw_vec4.cpp1541 const unsigned reg_size = (inst->dst.file == UNIFORM ? 16 : REG_SIZE); local
1542 fprintf(file, "+%d.%d", inst->dst.offset / reg_size,
1543 inst->dst.offset % reg_size);
1634 const unsigned reg_size = (inst->src[i].file == UNIFORM ? 16 : REG_SIZE); local
1635 fprintf(file, "+%d.%d", inst->src[i].offset / reg_size,
1636 inst->src[i].offset % reg_size);
/external/v8/src/arm64/
H A Dinstructions-arm64.cc75 static uint64_t RepeatBitsAcrossReg(unsigned reg_size, argument
80 DCHECK((reg_size == kWRegSizeInBits) || (reg_size == kXRegSizeInBits));
82 for (unsigned i = width; i < reg_size; i *= 2) {
93 unsigned reg_size = SixtyFourBits() ? kXRegSizeInBits : kWRegSizeInBits; local
132 return RepeatBitsAcrossReg(reg_size,
H A Dassembler-arm64.h131 int reg_size; member in struct:v8::internal::CPURegister
143 reg_size = 0;
149 reg_size = r.reg_size;
156 reg_size = r.reg_size;
219 reg_size = 0;
225 reg_size = r.reg_size;
232 reg_size
1191 int reg_size = rd.SizeInBits(); local
[all...]
H A Dassembler-arm64-inl.h50 return reg_size;
57 return reg_size / 8;
63 return reg_size == 32;
69 return reg_size == 64;
86 ((reg_size == kWRegSizeInBits) || (reg_size == kXRegSizeInBits)) &&
93 ((reg_size == kSRegSizeInBits) || (reg_size == kDRegSizeInBits)) &&
101 DCHECK((reg_type != kNoRegister) || (reg_size == 0));
109 return Aliases(other) && (reg_size
1026 ImmS(unsigned imms, unsigned reg_size) argument
1034 ImmR(unsigned immr, unsigned reg_size) argument
1043 ImmSetBits(unsigned imms, unsigned reg_size) argument
1052 ImmRotate(unsigned immr, unsigned reg_size) argument
1067 BitN(unsigned bitn, unsigned reg_size) argument
[all...]
H A Ddisasm-arm64.cc231 unsigned reg_size = (instr->SixtyFourBits() == 1) ? kXRegSizeInBits local
233 if (rn_is_zr && !IsMovzMovnImm(reg_size, instr->ImmLogical())) {
256 bool DisassemblingDecoder::IsMovzMovnImm(unsigned reg_size, uint64_t value) { argument
257 DCHECK((reg_size == kXRegSizeInBits) ||
258 ((reg_size == kWRegSizeInBits) && (value <= 0xffffffff)));
269 if ((reg_size == kXRegSizeInBits) &&
276 if ((reg_size == kWRegSizeInBits) &&
1510 unsigned reg_size = (instr->SixtyFourBits() == 1) ? kXRegSizeInBits local
1512 AppendToOutput("#%d", reg_size - r);
H A Dmacro-assembler-arm64.h260 static bool IsImmMovn(uint64_t imm, unsigned reg_size);
261 static bool IsImmMovz(uint64_t imm, unsigned reg_size);
262 static unsigned CountClearHalfWords(uint64_t imm, unsigned reg_size);
636 inline void PushSizeRegList(RegList registers, unsigned reg_size, argument
638 PushCPURegList(CPURegList(type, reg_size, registers));
640 inline void PopSizeRegList(RegList registers, unsigned reg_size, argument
642 PopCPURegList(CPURegList(type, reg_size, registers));
H A Dassembler-arm64.cc2364 unsigned reg_size = rd.SizeInBits(); local
2377 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) {
2399 unsigned reg_size = rd.SizeInBits(); local
2401 Emit(SF(rd) | LogicalImmediateFixed | op | BitN(n, reg_size) |
2402 ImmSetBits(imm_s, reg_size) | ImmRotate(imm_r, reg_size) | dest_reg |
2490 unsigned reg_size = rd.SizeInBits(); local
2496 unsigned non_shift_bits = (reg_size - left_shift) & (reg_size - 1);
H A Dmacro-assembler-arm64.cc68 unsigned reg_size = rd.SizeInBits(); local
123 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) {
186 unsigned reg_size = rd.SizeInBits(); local
197 if (CountClearHalfWords(~imm, reg_size) >
198 CountClearHalfWords(imm, reg_size)) {
210 DCHECK((reg_size % 16) == 0);
320 unsigned MacroAssembler::CountClearHalfWords(uint64_t imm, unsigned reg_size) { argument
321 DCHECK((reg_size % 8) == 0);
323 for (unsigned i = 0; i < (reg_size / 16); i++) {
335 bool MacroAssembler::IsImmMovz(uint64_t imm, unsigned reg_size) { argument
343 IsImmMovn(uint64_t imm, unsigned reg_size) argument
418 int reg_size = dst.SizeInBits(); local
440 int reg_size = dst.SizeInBits(); local
[all...]
/external/vixl/src/aarch64/
H A Dinstructions-aarch64.cc51 static uint64_t RepeatBitsAcrossReg(unsigned reg_size, argument
56 VIXL_ASSERT((reg_size == kWRegSize) || (reg_size == kXRegSize));
58 for (unsigned i = width; i < reg_size; i *= 2) {
128 unsigned reg_size = GetSixtyFourBits() ? kXRegSize : kWRegSize; local
167 return RepeatBitsAcrossReg(reg_size,
H A Ddebugger-aarch64.cc604 const uint64_t reg_size = target_reg.GetSizeInBits(); local
606 const uint64_t count = reg_size / format_size;
614 uint64_t data = reg_value >> (reg_size - (i * format_size));
H A Dassembler-aarch64.h768 unsigned reg_size = rd.GetSizeInBits(); local
769 VIXL_ASSERT(shift < reg_size);
770 ubfm(rd, rn, (reg_size - shift) % reg_size, reg_size - shift - 1);
2705 static Instr ImmS(unsigned imms, unsigned reg_size) { argument
2706 VIXL_ASSERT(((reg_size == kXRegSize) && IsUint6(imms)) ||
2707 ((reg_size == kWRegSize) && IsUint5(imms)));
2708 USE(reg_size);
2712 static Instr ImmR(unsigned immr, unsigned reg_size) { argument
2720 ImmSetBits(unsigned imms, unsigned reg_size) argument
2728 ImmRotate(unsigned immr, unsigned reg_size) argument
2741 BitN(unsigned bitn, unsigned reg_size) argument
[all...]
H A Ddisasm-aarch64.cc264 unsigned reg_size = local
266 if (rn_is_zr && !IsMovzMovnImm(reg_size, instr->GetImmLogical())) {
292 bool Disassembler::IsMovzMovnImm(unsigned reg_size, uint64_t value) { argument
293 VIXL_ASSERT((reg_size == kXRegSize) ||
294 ((reg_size == kWRegSize) && (value <= 0xffffffff)));
305 if ((reg_size == kXRegSize) &&
312 if ((reg_size == kWRegSize) && (((value & 0xffff0000) == 0xffff0000) ||
4290 unsigned reg_size = kXRegSize; local
4301 reg_size = kWRegSize;
4305 reg_size
4622 unsigned reg_size = local
[all...]
H A Dmacro-assembler-aarch64.cc444 unsigned reg_size = rd.GetSizeInBits(); local
455 if (CountClearHalfWords(~imm, reg_size) >
456 CountClearHalfWords(imm, reg_size)) {
472 VIXL_ASSERT((reg_size % 16) == 0);
474 for (unsigned i = 0; i < (reg_size / 16); i++) {
512 int reg_size = dst.GetSizeInBits(); local
514 if (IsImmMovz(imm, reg_size) && !dst.IsSP()) {
521 } else if (IsImmMovn(imm, reg_size) && !dst.IsSP()) {
528 } else if (IsImmLogical(imm, reg_size, &n, &imm_s, &imm_r)) {
813 unsigned reg_size local
1571 int reg_size = dst.GetSizeInBits(); local
1990 int reg_size = registers.GetRegisterSizeInBytes(); local
2022 int reg_size = registers.GetRegisterSizeInBytes(); local
2321 const int reg_size = registers.GetRegisterSizeInBytes(); local
2372 int reg_size = registers.GetRegisterSizeInBytes(); local
[all...]
H A Dsimulator-aarch64.cc298 uint64_t Simulator::AddWithCarry(unsigned reg_size,
304 VIXL_ASSERT((reg_size == kXRegSize) || (reg_size == kWRegSize));
306 uint64_t max_uint = (reg_size == kWRegSize) ? kWMaxUInt : kXMaxUInt;
307 uint64_t reg_mask = (reg_size == kWRegSize) ? kWRegMask : kXRegMask;
308 uint64_t sign_mask = (reg_size == kWRegSize) ? kWSignMask : kXSignMask;
315 ReadNzcv().SetN(CalcNFlag(result, reg_size));
337 int64_t Simulator::ShiftOperand(unsigned reg_size, argument
341 VIXL_ASSERT((reg_size == kWRegSize) || (reg_size
383 ExtendValue(unsigned reg_size, int64_t value, Extend extend_type, unsigned left_shift) const argument
471 GetPrintRegisterFormatForSize( unsigned reg_size, unsigned lane_size) argument
950 int reg_size = GetPrintRegSizeInBytes(format); local
1084 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1124 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1141 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1151 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1171 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1191 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1232 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1244 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1857 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
1940 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
2110 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
2159 unsigned reg_size = instr->GetSixtyFourBits() ? kXRegSize : kWRegSize; local
2213 unsigned reg_size = (instr->GetSixtyFourBits() == 1) ? kXRegSize : kWRegSize; local
3928 int reg_size = RegisterSizeInBytesFromFormat(vf); local
[all...]
H A Dmacro-assembler-aarch64.h837 unsigned reg_size,
839 PushCPURegList(CPURegList(type, reg_size, registers));
842 unsigned reg_size,
844 PopCPURegList(CPURegList(type, reg_size, registers));
897 unsigned reg_size,
899 PeekCPURegList(CPURegList(type, reg_size, registers), offset);
904 unsigned reg_size,
906 PokeCPURegList(CPURegList(type, reg_size, registers), offset);
835 PushSizeRegList( RegList registers, unsigned reg_size, CPURegister::RegisterType type = CPURegister::kRegister) argument
841 PopSizeRegList(RegList registers, unsigned reg_size, CPURegister::RegisterType type = CPURegister::kRegister) argument
894 PeekSizeRegList( RegList registers, int64_t offset, unsigned reg_size, CPURegister::RegisterType type = CPURegister::kRegister) argument
901 PokeSizeRegList( RegList registers, int64_t offset, unsigned reg_size, CPURegister::RegisterType type = CPURegister::kRegister) argument
/external/vixl/test/aarch64/
H A Dtest-utils-aarch64.cc276 int reg_size,
285 r[i] = Register(n, reg_size);
307 int reg_size,
316 v[i] = FPRegister(n, reg_size);
273 PopulateRegisterArray(Register* w, Register* x, Register* r, int reg_size, int reg_count, RegList allowed) argument
304 PopulateFPRegisterArray(FPRegister* s, FPRegister* d, FPRegister* v, int reg_size, int reg_count, RegList allowed) argument
H A Dtest-simulator-aarch64.cc322 unsigned reg_size) {
323 VIXL_ASSERT((reg_size == kDRegSize) || (reg_size == kSRegSize));
337 bool double_op = reg_size == kDRegSize;
455 unsigned reg_size) {
456 VIXL_ASSERT((reg_size == kDRegSize) || (reg_size == kSRegSize));
471 bool double_op = reg_size == kDRegSize;
604 unsigned reg_size) {
605 VIXL_ASSERT((reg_size
318 Test2Op_Helper(Test2OpFPHelper_t helper, uintptr_t inputs, unsigned inputs_length, uintptr_t results, unsigned reg_size) argument
451 Test3Op_Helper(Test3OpFPHelper_t helper, uintptr_t inputs, unsigned inputs_length, uintptr_t results, unsigned reg_size) argument
600 TestCmp_Helper(TestFPCmpHelper_t helper, uintptr_t inputs, unsigned inputs_length, uintptr_t results, unsigned reg_size) argument
739 TestCmpZero_Helper(TestFPCmpZeroHelper_t helper, uintptr_t inputs, unsigned inputs_length, uintptr_t results, unsigned reg_size) argument
[all...]
H A Dtest-assembler-aarch64.cc8284 int reg_size = sizeof(T) * 8; local
8285 Register left_reg(0, reg_size);
8286 Register right_reg(1, reg_size);
8287 Register result_reg(2, reg_size);
14043 // * Push <reg_count> registers with size <reg_size>.
14052 int reg_size,
14065 // Work out which registers to use, based on reg_size.
14069 PopulateRegisterArray(NULL, x, r, reg_size, reg_count, allowed);
14122 __ PushSizeRegList(list, reg_size);
14152 __ PopSizeRegList(list, reg_size);
14050 PushPopSimpleHelper(int reg_count, int claim, int reg_size, PushPopMethod push_method, PushPopMethod pop_method) argument
14293 PushPopFPSimpleHelper(int reg_count, int claim, int reg_size, PushPopMethod push_method, PushPopMethod pop_method) argument
14534 PushPopMixedMethodsHelper(int claim, int reg_size) argument
[all...]
/external/jemalloc/src/
H A Dstats.c69 size_t reg_size, run_size, curregs; local
85 CTL_M2_GET("arenas.bin.0.size", j, &reg_size, size_t);
159 reg_size, j, curregs * reg_size, nmalloc,
169 reg_size, j, curregs * reg_size, nmalloc,
/external/jemalloc/include/jemalloc/internal/
H A Darena.h248 * reg_interval has at least the same minimum alignment as reg_size; this
254 size_t reg_size; member in struct:arena_bin_info_s
259 /* Interval between regions (reg_size + (redzone_size << 1)). */
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler.c130 size_t reg_size; member in struct:etna_compile_file
256 for (int idx = 0; idx < file->reg_size; ++idx) {
302 for (int idx = 0; idx < file->reg_size; ++idx)
512 c->file[x].reg_size = c->info.file_max[x] + 1;
514 for (int sub = 0; sub < c->file[x].reg_size; ++sub) {
1864 for (int idx = 0; idx < c->file[file].reg_size; ++idx) {
1930 for (int idx = 0; idx < file->reg_size; ++idx) {
1949 c->imm_base = c->file[TGSI_FILE_CONSTANT].reg_size * 4;
1964 for (int idx = 0; idx < c->file[TGSI_FILE_SAMPLER].reg_size; ++idx) {
2022 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size;
[all...]
/external/v8/src/arm/
H A Dsimulator-arm.cc1577 int reg_size,
1589 *end_address = rn_val + (num_regs * reg_size) - reg_size;
1590 rn_val = rn_val + (num_regs * reg_size);
1594 *start_address = rn_val - (num_regs * reg_size);
1595 *end_address = rn_val - reg_size;
1600 *start_address = rn_val + reg_size;
1601 *end_address = rn_val + (num_regs * reg_size);
1575 ProcessPU(Instruction* instr, int num_regs, int reg_size, intptr_t* start_address, intptr_t* end_address) argument

Completed in 1947 milliseconds

12