/art/test/642-fp-callees/ |
D | fp_callees.cc | 47 CHECK_EQ(bit_cast<int64_t>(a), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 49 CHECK_EQ(bit_cast<int64_t>(b), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 51 CHECK_EQ(bit_cast<int64_t>(c), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 53 CHECK_EQ(bit_cast<int64_t>(d), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 55 CHECK_EQ(bit_cast<int64_t>(e), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 57 CHECK_EQ(bit_cast<int64_t>(f), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 59 CHECK_EQ(bit_cast<int64_t>(g), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 61 CHECK_EQ(bit_cast<int64_t>(h), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 63 CHECK_EQ(bit_cast<int64_t>(i), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 65 CHECK_EQ(bit_cast<int64_t>(j), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() [all …]
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 2068 jint i11 = bit_cast<jint, jfloat>(f1); in JNI_TEST_CRITICAL() 2070 jint i12 = bit_cast<jint, jfloat>(f2); in JNI_TEST_CRITICAL() 2072 jint i13 = bit_cast<jint, jfloat>(f3); in JNI_TEST_CRITICAL() 2074 jint i14 = bit_cast<jint, jfloat>(f4); in JNI_TEST_CRITICAL() 2076 jint i15 = bit_cast<jint, jfloat>(f5); in JNI_TEST_CRITICAL() 2078 jint i16 = bit_cast<jint, jfloat>(f6); in JNI_TEST_CRITICAL() 2080 jint i17 = bit_cast<jint, jfloat>(f7); in JNI_TEST_CRITICAL() 2082 jint i18 = bit_cast<jint, jfloat>(f8); in JNI_TEST_CRITICAL() 2084 jint i19 = bit_cast<jint, jfloat>(f9); in JNI_TEST_CRITICAL() 2086 jint i20 = bit_cast<jint, jfloat>(f10); in JNI_TEST_CRITICAL() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 66 uint32_t saved_local_ref_cookie = bit_cast<uint32_t>(env->GetLocalRefCookie()); in JniMethodFastStart() 81 uint32_t saved_local_ref_cookie = bit_cast<uint32_t>(env->GetLocalRefCookie()); in JniMethodStart() 133 env->SetLocalRefCookie(bit_cast<IRTSegmentState>(saved_local_ref_cookie)); in PopLocalReferences() 264 double d = bit_cast<double, uint64_t>(result_f); in GenericJniMethodEnd() 265 return bit_cast<uint32_t, float>(static_cast<float>(d)); in GenericJniMethodEnd()
|
D | quick_trampoline_entrypoints.cc | 1532 PushGpr(static_cast<int64_t>(bit_cast<int32_t, uint32_t>(val))); in AdvanceInt() 1540 PushStack(static_cast<int64_t>(bit_cast<int32_t, uint32_t>(val))); in AdvanceInt() 1600 AdvanceInt(bit_cast<uint32_t, float>(val)); in AdvanceFloat() 1606 PushFpr8(bit_cast<uint64_t, double>(val)); in AdvanceFloat() 1609 PushFpr8(static_cast<uint64_t>(bit_cast<uint32_t, float>(val))); in AdvanceFloat() 1620 PushStack(static_cast<uintptr_t>(bit_cast<uint64_t, double>(val))); in AdvanceFloat() 1622 PushStack(static_cast<uintptr_t>(bit_cast<uint32_t, float>(val))); in AdvanceFloat()
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 65 uint32_t cast = bit_cast<uint32_t, float>(1.0f); in VisitFrame() 109 uint64_t cast = bit_cast<uint64_t, double>(2.0); in VisitFrame()
|
/art/libartbase/base/ |
D | memory_region.h | 90 return bit_cast<T, U>(equivalent_unsigned_integer_value); in LoadUnaligned() 99 U equivalent_unsigned_integer_value = bit_cast<U, T>(value); in StoreUnaligned()
|
D | casts.h | 89 inline Dest bit_cast(const Source& source) { in bit_cast() function
|
/art/test/457-regs/ |
D | regs_jni.cc | 75 uint32_t cast = bit_cast<uint32_t, float>(4.0f); in VisitFrame() 144 int32_t cast = bit_cast<int32_t, float>(float_value); in Java_PhiLiveness_regsNativeCallWithParameters()
|
/art/compiler/optimizing/ |
D | ssa_builder.cc | 610 float value = bit_cast<float, int32_t>(constant->GetValue()); in GetFloatEquivalent() 617 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent() 632 double value = bit_cast<double, int64_t>(constant->GetValue()); in GetDoubleEquivalent() 639 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent()
|
D | code_generator.h | 542 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt32ValueOf() 552 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt64ValueOf() 557 return bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in GetInt64ValueOf()
|
D | nodes.h | 638 return CreateConstant(bit_cast<int32_t, float>(value), &cached_float_constants_, dex_pc); 641 return CreateConstant(bit_cast<int64_t, double>(value), &cached_double_constants_, dex_pc); 3301 return static_cast<uint64_t>(bit_cast<uint32_t, float>(value_)); 3312 return bit_cast<uint32_t, float>(value_) == bit_cast<uint32_t, float>((-1.0f)); 3324 return bit_cast<uint32_t, float>(value_) == bit_cast<uint32_t, float>(0.0f); 3327 return bit_cast<uint32_t, float>(value_) == bit_cast<uint32_t, float>(1.0f); 3345 value_(bit_cast<float, int32_t>(value)) { 3359 uint64_t GetValueAsUint64() const override { return bit_cast<uint64_t, double>(value_); } 3369 return bit_cast<uint64_t, double>(value_) == bit_cast<uint64_t, double>((-1.0)); 3381 return bit_cast<uint64_t, double>(value_) == bit_cast<uint64_t, double>((0.0)); [all …]
|
D | code_generator.cc | 1409 int64_t value = bit_cast<int64_t, double>(current->AsDoubleConstant()->GetValue()); in EmitVRegInfo() 1421 int32_t value = bit_cast<int32_t, float>(current->AsFloatConstant()->GetValue()); in EmitVRegInfo()
|
D | code_generator_x86_64.cc | 5132 bit_cast<int32_t, float>(value.GetConstant()->AsFloatConstant()->GetValue()); in HandleFieldSet() 5143 bit_cast<int64_t, double>(value.GetConstant()->AsDoubleConstant()->GetValue()); in HandleFieldSet() 5699 int32_t v = bit_cast<int32_t, float>(value.GetConstant()->AsFloatConstant()->GetValue()); in VisitArraySet() 5714 bit_cast<int64_t, double>(value.GetConstant()->AsDoubleConstant()->GetValue()); in VisitArraySet() 6019 Immediate imm(bit_cast<int32_t, float>(fp_value)); in EmitMove() 6025 int64_t value = bit_cast<int64_t, double>(fp_value); in EmitMove() 7766 Load32BitValue(dest, bit_cast<int32_t, float>(value)); in Load32BitValue() 7770 Load64BitValue(dest, bit_cast<int64_t, double>(value)); in Load64BitValue()
|
D | intrinsics_x86.cc | 435 __ comiss(t2, codegen_->LiteralInt32Address(bit_cast<int32_t, float>(0.5f), in VisitMathRoundFloat() 439 __ addss(t1, codegen_->LiteralInt32Address(bit_cast<int32_t, float>(1.0f), in VisitMathRoundFloat() 445 __ pushl(Immediate(bit_cast<int32_t, float>(0.5f))); in VisitMathRoundFloat() 446 __ pushl(Immediate(bit_cast<int32_t, float>(1.0f))); in VisitMathRoundFloat()
|
D | instruction_simplifier.cc | 1779 if (CanDivideByReciprocalMultiplyDouble(bit_cast<int64_t, double>(value))) { in VisitDiv() 1785 if (CanDivideByReciprocalMultiplyFloat(bit_cast<int32_t, float>(value))) { in VisitDiv()
|
D | nodes.cc | 898 int32_t value = bit_cast<int32_t, float>(constant->GetValue()); in CacheFloatConstant() 904 int64_t value = bit_cast<int64_t, double>(constant->GetValue()); in CacheDoubleConstant()
|
D | code_generator_x86.cc | 6560 int32_t v = bit_cast<int32_t, float>(value.GetConstant()->AsFloatConstant()->GetValue()); in VisitArraySet() 6576 int64_t v = bit_cast<int64_t, double>(value.GetConstant()->AsDoubleConstant()->GetValue()); in VisitArraySet() 6885 int32_t value = bit_cast<int32_t, float>(fp_value); in EmitMove() 6919 int64_t value = bit_cast<int64_t, double>(dbl_value); in EmitMove()
|
D | code_generator_arm_vixl.cc | 4016 __ Vmov(constant_d, bit_cast<double, int64_t>(k2Pow32EncodingForDouble)); in VisitTypeConversion() 7241 uint64_t int_value = bit_cast<uint64_t, double>(value); in EmitMove() 7259 __ Mov(temp, bit_cast<int32_t, float>(value)); in EmitMove()
|
/art/runtime/ |
D | subtype_check.h | 497 << "full new: " << bit_cast<uint32_t>(new_value) in WriteSubtypeCheckBits() 498 << ", full old: " << bit_cast<uint32_t>(full_old); in WriteSubtypeCheckBits()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 208 int64_t result_int64t = bit_cast<int64_t, double>(result.GetD()); in TestCeilFloor() 209 int64_t expect_int64t = bit_cast<int64_t, double>(test_pairs[i][1]); in TestCeilFloor()
|
D | unstarted_runtime.cc | 1157 result->SetJ(bit_cast<int64_t, double>(in)); in UnstartedDoubleDoubleToRawLongBits() 1803 result->SetD(bit_cast<double>(long_input)); in UnstartedJNIDoubleLongBitsToDouble()
|
/art/compiler/utils/x86/ |
D | assembler_x86.cc | 3775 int64_t constant = bit_cast<int64_t, double>(value); in LoadDoubleConstant() 3975 return AddInt64(bit_cast<int64_t, double>(v)); in AddDouble() 3980 return AddInt32(bit_cast<int32_t, float>(v)); in AddFloat()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.cc | 5095 int64_t constant = bit_cast<int64_t, double>(value); in LoadDoubleConstant() 5446 return AddInt64(bit_cast<int64_t, double>(v)); in AddDouble() 5451 return AddInt32(bit_cast<int32_t, float>(v)); in AddFloat()
|