Home
last modified time | relevance | path

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

12

/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"); in createFiles()
31 fprintf(fp, " array[%d] = \"string_%04d\";\n", k, k); in createFiles()
33 fprintf(fp, " }\n"); 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/test/474-fp-sub-neg/
Dinfo.txt4 fp calculation because we can lose the sign of zero for
8 Addition or subtraction with fp zero should not be eliminated
/art/test/705-register-conflict/
Dinfo.txt1 Tests if blocked fp register work correctly on optimizing compiler.
/art/compiler/dex/
Dreg_location.h48 unsigned fp:1; // Floating point? member
Dvreg_analysis.cc33 table[i].fp ? 'F' : table[i].ref ? 'R' :'C', in DumpRegLocTable()
Dlocal_value_numbering_test.cc854 cu_.mir_graph->reg_location_[mirs_[i].ssa_rep->defs[0]].fp = true; in TEST_F()
906 cu_.mir_graph->reg_location_[mirs_[i].ssa_rep->defs[0]].fp = true; in TEST_F()
Dlocal_value_numbering.cc1215 Instruction::Code op = raw_dest.fp ? Instruction::CONST_HIGH16 : Instruction::CONST; in HandleConst()
1224 Instruction::Code op = raw_dest.fp ? Instruction::CONST_HIGH16 : Instruction::CONST; in HandleConstWide()
Dtype_inference.cc563 loc->fp = type.Fp(); in Finish()
Dtype_inference_test.cc553 EXPECT_EQ((flags & kExpectFp) != 0u, loc.fp) << s_reg; in ExpectSRegType()
/art/compiler/dex/quick/
Dmir_to_lir.cc291 r_result = IsWide(size) ? AllocTypedTempWide(rl_dest.fp, reg_class) in GenSpecialIGet()
292 : AllocTypedTemp(rl_dest.fp, reg_class); in GenSpecialIGet()
726 GenArrayGet(opt_flags, rl_dest.fp ? kDouble : k64, rl_src[0], rl_src[1], rl_dest, 3); in CompileDalvikInstruction()
732 GenArrayGet(opt_flags, rl_dest.fp ? kSingle : k32, rl_src[0], rl_src[1], rl_dest, 2); in CompileDalvikInstruction()
747 … GenArrayPut(opt_flags, rl_src[0].fp ? kDouble : k64, rl_src[1], rl_src[2], rl_src[0], 3, false); in CompileDalvikInstruction()
750 … GenArrayPut(opt_flags, rl_src[0].fp ? kSingle : k32, rl_src[1], rl_src[2], rl_src[0], 2, false); in CompileDalvikInstruction()
786 if (rl_dest.fp) { in CompileDalvikInstruction()
795 if (rl_dest.fp) { in CompileDalvikInstruction()
824 GenIPut(mir, opt_flags, rl_src[0].fp ? kDouble : k64, rl_src[0], rl_src[1]); in CompileDalvikInstruction()
834 GenIPut(mir, opt_flags, rl_src[0].fp ? kSingle : k32, rl_src[0], rl_src[1]); in CompileDalvikInstruction()
[all …]
Dgen_invoke.cc128 LoadValueDirectFixed(arg0, TargetReg(arg0.fp ? kFArg0 : kArg0, arg0)); in CallRuntimeHelperRegLocation()
130 LoadValueDirectWideFixed(arg0, TargetReg(arg0.fp ? kFArg0 : kArg0, kWide)); in CallRuntimeHelperRegLocation()
229 RegStorage arg0_reg = TargetReg((arg0.fp) ? kFArg0 : kArg0, arg0); in CallRuntimeHelperRegLocationRegLocation()
232 if (arg1.fp == arg0.fp) { in CallRuntimeHelperRegLocationRegLocation()
233 arg1_reg = TargetReg((arg1.fp) ? kFArg1 : kArg1, arg1); in CallRuntimeHelperRegLocationRegLocation()
235 arg1_reg = TargetReg((arg1.fp) ? kFArg0 : kArg0, arg1); in CallRuntimeHelperRegLocationRegLocation()
252 LoadValueDirectFixed(arg0, TargetReg(arg0.fp ? kFArg0 : kArg0, kNotWide)); in CallRuntimeHelperRegLocationRegLocation()
256 LoadValueDirectFixed(arg1, TargetReg((arg1.fp && arg0.fp) ? kFArg2 : kArg1, kNotWide)); in CallRuntimeHelperRegLocationRegLocation()
258 LoadValueDirectFixed(arg1, TargetReg(arg1.fp ? kFArg1 : kArg1, kNotWide)); in CallRuntimeHelperRegLocationRegLocation()
263 LoadValueDirectWideFixed(arg1, TargetReg((arg1.fp && arg0.fp) ? kFArg2 : kArg2, kWide)); in CallRuntimeHelperRegLocationRegLocation()
[all …]
Dgen_loadstore.cc115 RegStorage new_reg = AllocTypedTemp(rl_src.fp, op_kind); in LoadValue()
128 rl_src.reg = AllocTypedTemp(rl_src.fp, op_kind); in LoadValue()
199 RegStorage new_regs = AllocTypedTempWide(rl_src.fp, op_kind); in LoadValueWide()
213 rl_src.reg = AllocTypedTempWide(rl_src.fp, op_kind); in LoadValueWide()
Dralloc_util.cc1068 RegStorage new_regs = AllocTypedTempWide(loc.fp, reg_class); in EvalLocWide()
1083 loc.reg = AllocTypedTempWide(loc.fp, reg_class); in EvalLocWide()
1109 RegStorage new_reg = AllocTypedTemp(loc.fp, reg_class); in EvalLoc()
1122 loc.reg = AllocTypedTemp(loc.fp, reg_class); in EvalLoc()
1283 RefCounts* counts = loc.fp ? fp_counts : core_counts; in CountRefs()
1286 if (loc.fp) { in CountRefs()
1450 int reg_num = curr->fp ? promotion_map_[p_map_idx].fp_reg : promotion_map_[p_map_idx].core_reg; in DoPromotion()
1453 if (curr->fp && promotion_map_[p_map_idx].fp_location == kLocPhysReg) { in DoPromotion()
1465 } else if (!curr->fp && promotion_map_[p_map_idx].core_location == kLocPhysReg) { in DoPromotion()
Dmir_to_lir-inl.h274 inline void Mir2Lir::CheckRegStorage(RegStorage rs, WidenessCheck wide, RefCheck ref, FPCheck fp) in CheckRegStorage() argument
277 CheckRegStorageImpl(rs, wide, ref, fp, kFailOnSizeError, kReportSizeError); in CheckRegStorage()
Dcodegen_util.cc72 if (rl_src.fp) { in IsInexpensiveConstant()
78 if (rl_src.fp) { in IsInexpensiveConstant()
Dmir_to_lir.h1741 void CheckRegStorageImpl(RegStorage rs, WidenessCheck wide, RefCheck ref, FPCheck fp, bool fail,
1753 void CheckRegStorage(RegStorage rs, WidenessCheck wide, RefCheck ref, FPCheck fp) const;
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S372 lw $fp, 120($a0)
503 addiu $sp, $sp, -16 # spill s0, s1, fp, ra
507 sw $fp, 8($sp)
513 move $fp, $sp # save sp in fp
525 lw $a0, 16($fp) # restore method*
532 move $sp, $fp # restore the stack
537 lw $fp, 8($sp)
/art/compiler/dex/quick/x86/
Dfp_x86.cc80 DCHECK(rl_dest.fp); in GenArithOpDouble()
82 DCHECK(rl_src1.fp); in GenArithOpDouble()
84 DCHECK(rl_src2.fp); in GenArithOpDouble()
346 DCHECK(rl_dest.fp); in GenConversion()
Dutility_x86.cc1091 if ((loc.location == kLocPhysReg) && (loc.fp != loc.reg.IsFloat())) { in UpdateLocTyped()
1105 if ((loc.location == kLocPhysReg) && (loc.fp != loc.reg.IsFloat())) { in UpdateLocWideTyped()
/art/runtime/hprof/
Dhprof.cc363 FileEndianOutput(File* fp, size_t reserved_size) in FileEndianOutput() argument
364 : EndianOutputBuffered(reserved_size), fp_(fp), errors_(false) { in FileEndianOutput()
365 DCHECK(fp != nullptr); in FileEndianOutput()
/art/compiler/utils/
Dassembler_thumb_test.cc125 FILE *fp = popen(cmd, "r"); in dump() local
126 ASSERT_TRUE(fp != nullptr); in dump()
133 while (!feof(fp)) { in dump()
135 char *s = fgets(testline, sizeof(testline), fp); in dump()
147 fclose(fp); in dump()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S414 ldr ip, [r11, #48] @ load fp register argument array pointer
1055 vpush {d0} @ save fp return value
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S643 move $s8, $sp # save sp in s8 (fp)
746 move $s8, $sp # save sp in s8 (fp)
/art/compiler/dex/quick/arm/
Dint_arm.cc1411 if (rl_dest.wide || rl_dest.fp || constant_index) { in GenArrayGet()
1511 if (rl_src.wide || rl_src.fp || constant_index) { in GenArrayPut()

12