Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 23 of 23) sorted by relevance

/art/test/303-verification-stress/
Dclasses-gen.c13 FILE* fp; in createFiles() local
21 fp = fopen(nameBuf, "w"); in createFiles()
22 if (fp == NULL) { in createFiles()
27 fprintf(fp, "public class Test%03d {\n", i); in createFiles()
28 fprintf(fp, " static String[] array = new String[%d];\n", array_size); in createFiles()
29 fprintf(fp, " static {\n", array_size); in createFiles()
31 fprintf(fp, " array[%d] = \"string_%04d\";\n", k, k); in createFiles()
33 fprintf(fp, " }\n", array_size); in createFiles()
34 fprintf(fp, "}\n"); in createFiles()
35 fclose(fp); in createFiles()
[all …]
/art/test/023-many-interfaces/
Diface-gen.c13 FILE* fp; in createFiles() local
20 fp = fopen(nameBuf, "w"); in createFiles()
21 if (fp == NULL) { in createFiles()
26 fprintf(fp, "interface Interface%03d {\n", i); in createFiles()
28 fprintf(fp, " int func%03d();\n", i); in createFiles()
29 fprintf(fp, "}\n"); in createFiles()
30 fclose(fp); in createFiles()
33 fp = fopen("func-decl", "w"); in createFiles()
34 fprintf(fp, " implements\n"); in createFiles()
36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ","); in createFiles()
[all …]
/art/compiler/dex/
Dvreg_analysis.cc24 if (is_fp && !reg_location_[index].fp) { in SetFp()
25 reg_location_[index].fp = true; in SetFp()
34 if (!reg_location_[index].fp) { in SetFp()
35 reg_location_[index].fp = true; in SetFp()
346 bool defined_fp = rl_temp.defined && rl_temp.fp; in InferTypeAndSize()
353 defined_fp |= rl_temp.defined && rl_temp.fp; in InferTypeAndSize()
414 table[i].fp ? 'F' : table[i].ref ? 'R' :'C', in DumpRegLocTable()
426 table[i].fp ? 'F' : table[i].ref ? 'R' :'C', in DumpRegLocTable()
481 reg_location_[s_reg+1].fp = true; in InitRegLocations()
483 reg_location_[s_reg].fp = true; in InitRegLocations()
[all …]
Dreg_location.h47 unsigned fp:1; // Floating point? member
/art/compiler/dex/portable/
Dmir_to_gbc.cc104 if (loc.fp) in LlvmTypeFromLocRec()
109 if (loc.fp) { in LlvmTypeFromLocRec()
225 if (loc.fp) { in EmitConst()
231 if (loc.fp) { in EmitConst()
253 if (loc.fp) { in EmitCopy()
259 if (loc.fp) { in EmitCopy()
495 if (info->result.fp) { in ConvertInvoke()
502 } else if (info->result.fp) { in ConvertInvoke()
641 DCHECK_EQ(rl_src1.fp, rl_src2.fp); in ConvertWideComparison()
832 if (rl_src[0].fp) { in ConvertMIRNode()
[all …]
/art/compiler/dex/quick/
Dgen_loadstore.cc44 if (rl_dest.fp) { in Workaround7250540()
150 RegStorage new_reg = AllocTypedTemp(rl_src.fp, op_kind); in LoadValue()
162 rl_src.reg = AllocTypedTemp(rl_src.fp, op_kind); in LoadValue()
237 RegStorage new_regs = AllocTypedTempWide(rl_src.fp, op_kind); in LoadValueWide()
250 rl_src.reg = AllocTypedTempWide(rl_src.fp, op_kind); in LoadValueWide()
Dgen_invoke.cc124 LoadValueDirectFixed(arg0, TargetReg(arg0.fp ? kFArg0 : kArg0, arg0)); in CallRuntimeHelperRegLocation()
126 LoadValueDirectWideFixed(arg0, TargetReg(arg0.fp ? kFArg0 : kArg0, kWide)); in CallRuntimeHelperRegLocation()
224 RegStorage arg0_reg = TargetReg((arg0.fp) ? kFArg0 : kArg0, arg0); in CallRuntimeHelperRegLocationRegLocation()
227 if (arg1.fp == arg0.fp) { in CallRuntimeHelperRegLocationRegLocation()
228 arg1_reg = TargetReg((arg1.fp) ? kFArg1 : kArg1, arg1); in CallRuntimeHelperRegLocationRegLocation()
230 arg1_reg = TargetReg((arg1.fp) ? kFArg0 : kArg0, arg1); in CallRuntimeHelperRegLocationRegLocation()
247 LoadValueDirectFixed(arg0, TargetReg(arg0.fp ? kFArg0 : kArg0, kNotWide)); in CallRuntimeHelperRegLocationRegLocation()
250 LoadValueDirectFixed(arg1, TargetReg(arg1.fp ? kFArg2 : kArg1, kNotWide)); in CallRuntimeHelperRegLocationRegLocation()
256 LoadValueDirectWideFixed(arg1, TargetReg(arg1.fp ? kFArg2 : kArg2, kWide)); in CallRuntimeHelperRegLocationRegLocation()
262 LoadValueDirectWideFixed(arg0, TargetReg(arg0.fp ? kFArg0 : kArg0, kWide)); in CallRuntimeHelperRegLocationRegLocation()
[all …]
Dralloc_util.cc1085 RegStorage new_regs = AllocTypedTempWide(loc.fp, reg_class); in EvalLocWide()
1100 loc.reg = AllocTypedTempWide(loc.fp, reg_class); in EvalLocWide()
1126 RegStorage new_reg = AllocTypedTemp(loc.fp, reg_class); in EvalLoc()
1139 loc.reg = AllocTypedTemp(loc.fp, reg_class); in EvalLoc()
1154 RefCounts* counts = loc.fp ? fp_counts : core_counts; in CountRefs()
1157 if (loc.fp) { in CountRefs()
1318 int reg_num = curr->fp ? promotion_map_[p_map_idx].fp_reg : promotion_map_[p_map_idx].core_reg; in DoPromotion()
1321 if (curr->fp && promotion_map_[p_map_idx].fp_location == kLocPhysReg) { in DoPromotion()
1333 } else if (!curr->fp && promotion_map_[p_map_idx].core_location == kLocPhysReg) { in DoPromotion()
Dmir_to_lir-inl.h271 inline void Mir2Lir::CheckRegStorage(RegStorage rs, WidenessCheck wide, RefCheck ref, FPCheck fp) in CheckRegStorage() argument
274 CheckRegStorageImpl(rs, wide, ref, fp, kFailOnSizeError, kReportSizeError); in CheckRegStorage()
Dmir_to_lir.cc44 if (loc.fp) { in LocToRegClass()
239 r_result = wide ? AllocTypedTempWide(rl_dest.fp, reg_class) in GenSpecialIGet()
240 : AllocTypedTemp(rl_dest.fp, reg_class); in GenSpecialIGet()
1264 void Mir2Lir::CheckRegStorageImpl(RegStorage rs, WidenessCheck wide, RefCheck ref, FPCheck fp, in CheckRegStorageImpl() argument
1287 if (fp == FPCheck::kCheckFP && cu_->instruction_set != kArm) { in CheckRegStorageImpl()
1295 } else if (fp == FPCheck::kCheckNotFP) { in CheckRegStorageImpl()
Dcodegen_util.cc66 if (rl_src.fp) { in IsInexpensiveConstant()
72 if (rl_src.fp) { in IsInexpensiveConstant()
Dgen_common.cc217 DCHECK(!rl_src1.fp); in GenCompareAndBranch()
218 DCHECK(!rl_src2.fp); in GenCompareAndBranch()
283 DCHECK(!rl_src.fp); in GenCompareZeroAndBranch()
Dmir_to_lir.h1659 void CheckRegStorageImpl(RegStorage rs, WidenessCheck wide, RefCheck ref, FPCheck fp, bool fail,
1671 void CheckRegStorage(RegStorage rs, WidenessCheck wide, RefCheck ref, FPCheck fp) const;
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S331 lw $fp, 120($a0)
484 addiu $sp, $sp, -16 # spill s0, s1, fp, ra
488 sw $fp, 8($sp)
494 move $fp, $sp # save sp in fp
506 lw $a0, 16($fp) # restore method*
513 move $sp, $fp # restore the stack
518 lw $fp, 8($sp)
/art/compiler/dex/quick/x86/
Dfp_x86.cc78 DCHECK(rl_dest.fp); in GenArithOpDouble()
80 DCHECK(rl_src1.fp); in GenArithOpDouble()
82 DCHECK(rl_src2.fp); in GenArithOpDouble()
327 DCHECK(rl_dest.fp); in GenConversion()
Dutility_x86.cc1027 if ((loc.location == kLocPhysReg) && (loc.fp != loc.reg.IsFloat())) { in UpdateLocTyped()
1041 if ((loc.location == kLocPhysReg) && (loc.fp != loc.reg.IsFloat())) { in UpdateLocWideTyped()
Dtarget_x86.cc938 << (loc.fp ? " F" : " ") in DumpRegLocation()
2410 RegStorage reg = mapper->GetNextReg(arg_locs[in_position].fp, in Initialize()
/art/compiler/utils/
Dassembler_thumb_test.cc196 FILE *fp = popen(cmd, "r"); in dump() local
197 ASSERT_TRUE(fp != nullptr); in dump()
204 while (!feof(fp)) { in dump()
206 char *s = fgets(testline, sizeof(testline), fp); in dump()
218 fclose(fp); in dump()
Dassembler_thumb_test_expected.cc.inc318 " 2: e934 4800 ldmdb r4!, {fp, lr}\n",
319 " 6: e914 4800 ldmdb r4, {fp, lr}\n",
325 " 2: e8a4 4800 stmia.w r4!, {fp, lr}\n",
326 " 6: e884 4800 stmia.w r4, {fp, lr}\n",
409 " 22: fbaa 890b umull r8, r9, sl, fp\n",
/art/runtime/hprof/
Dhprof.cc188 int StartNewRecord(FILE* fp, uint8_t tag, uint32_t time) { in StartNewRecord() argument
194 fp_ = fp; in StartNewRecord()
/art/compiler/dex/quick/arm64/
Dtarget_arm64.cc837 RegStorage reg = mapper->GetNextReg(arg_locs[in_position].fp, in Initialize()
859 if (loc->fp) { in GetArgPhysicalReg()
Dint_arm64.cc1137 if (rl_dest.wide || rl_dest.fp || constant_index) { in GenArrayGet()
1248 if (rl_src.wide || rl_src.fp || constant_index) { in GenArrayPut()
/art/compiler/dex/quick/arm/
Dint_arm.cc1320 if (rl_dest.wide || rl_dest.fp || constant_index) { in GenArrayGet()
1422 if (rl_src.wide || rl_src.fp || constant_index) { in GenArrayPut()