Home
last modified time | relevance | path

Searched refs:bit_cast (Results 1 – 17 of 17) sorted by relevance

/art/test/642-fp-callees/
Dfp_callees.cc47 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/
Djni_compiler_test.cc1961 jint i11 = bit_cast<jint, jfloat>(f1); in JNI_TEST_NORMAL_ONLY()
1963 jint i12 = bit_cast<jint, jfloat>(f2); in JNI_TEST_NORMAL_ONLY()
1965 jint i13 = bit_cast<jint, jfloat>(f3); in JNI_TEST_NORMAL_ONLY()
1967 jint i14 = bit_cast<jint, jfloat>(f4); in JNI_TEST_NORMAL_ONLY()
1969 jint i15 = bit_cast<jint, jfloat>(f5); in JNI_TEST_NORMAL_ONLY()
1971 jint i16 = bit_cast<jint, jfloat>(f6); in JNI_TEST_NORMAL_ONLY()
1973 jint i17 = bit_cast<jint, jfloat>(f7); in JNI_TEST_NORMAL_ONLY()
1975 jint i18 = bit_cast<jint, jfloat>(f8); in JNI_TEST_NORMAL_ONLY()
1977 jint i19 = bit_cast<jint, jfloat>(f9); in JNI_TEST_NORMAL_ONLY()
1979 jint i20 = bit_cast<jint, jfloat>(f10); in JNI_TEST_NORMAL_ONLY()
[all …]
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc54 uint32_t saved_local_ref_cookie = bit_cast<uint32_t>(env->GetLocalRefCookie()); in JniMethodFastStart()
69 uint32_t saved_local_ref_cookie = bit_cast<uint32_t>(env->GetLocalRefCookie()); in JniMethodStart()
122 env->SetLocalRefCookie(bit_cast<IRTSegmentState>(saved_local_ref_cookie)); in PopLocalReferences()
231 double d = bit_cast<double, uint64_t>(result_f); in GenericJniMethodEnd()
232 return bit_cast<uint32_t, float>(static_cast<float>(d)); in GenericJniMethodEnd()
Dquick_trampoline_entrypoints.cc1688 PushGpr(static_cast<int64_t>(bit_cast<int32_t, uint32_t>(val))); in AdvanceInt()
1696 PushStack(static_cast<int64_t>(bit_cast<int32_t, uint32_t>(val))); in AdvanceInt()
1756 AdvanceInt(bit_cast<uint32_t, float>(val)); in AdvanceFloat()
1762 PushFpr8(bit_cast<uint64_t, double>(val)); in AdvanceFloat()
1765 PushFpr8(static_cast<uint64_t>(bit_cast<uint32_t, float>(val))); in AdvanceFloat()
1776 PushStack(static_cast<uintptr_t>(bit_cast<uint64_t, double>(val))); in AdvanceFloat()
1778 PushStack(static_cast<uintptr_t>(bit_cast<uint32_t, float>(val))); in AdvanceFloat()
/art/test/454-get-vreg/
Dget_vreg_jni.cc65 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/
Dmemory_region.h90 return bit_cast<T, U>(equivalent_unsigned_integer_value); in LoadUnaligned()
99 U equivalent_unsigned_integer_value = bit_cast<U, T>(value); in StoreUnaligned()
Dcasts.h90 inline Dest bit_cast(const Source& source) { in bit_cast() function
/art/test/457-regs/
Dregs_jni.cc75 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/
Dssa_builder.cc591 float value = bit_cast<float, int32_t>(constant->GetValue()); in GetFloatEquivalent()
598 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent()
613 double value = bit_cast<double, int64_t>(constant->GetValue()); in GetDoubleEquivalent()
620 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent()
Dcode_generator.h508 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt32ValueOf()
518 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt64ValueOf()
523 return bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in GetInt64ValueOf()
Dcode_generator.cc1268 int64_t value = bit_cast<int64_t, double>(current->AsDoubleConstant()->GetValue()); in EmitEnvironment()
1280 int32_t value = bit_cast<int32_t, float>(current->AsFloatConstant()->GetValue()); in EmitEnvironment()
Dinstruction_simplifier.cc1691 if (CanDivideByReciprocalMultiplyDouble(bit_cast<int64_t, double>(value))) { in VisitDiv()
1697 if (CanDivideByReciprocalMultiplyFloat(bit_cast<int32_t, float>(value))) { in VisitDiv()
Dcode_generator_arm_vixl.cc3715 __ Vmov(constant_d, bit_cast<double, int64_t>(k2Pow32EncodingForDouble)); in VisitTypeConversion()
6783 uint64_t int_value = bit_cast<uint64_t, double>(value); in EmitMove()
6801 __ Mov(temp, bit_cast<int32_t, float>(value)); in EmitMove()
Dcode_generator_mips.cc9834 uint32_t min_val = bit_cast<uint32_t, float>(std::numeric_limits<int32_t>::min()); in VisitTypeConversion()
9838 uint64_t min_val = bit_cast<uint64_t, double>(std::numeric_limits<int32_t>::min()); in VisitTypeConversion()
/art/runtime/
Dsubtype_check.h497 << "full new: " << bit_cast<uint32_t>(new_value) in WriteSubtypeCheckBits()
498 << ", full old: " << bit_cast<uint32_t>(full_old); in WriteSubtypeCheckBits()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc213 int64_t result_int64t = bit_cast<int64_t, double>(result.GetD()); in TestCeilFloor()
214 int64_t expect_int64t = bit_cast<int64_t, double>(test_pairs[i][1]); in TestCeilFloor()
Dunstarted_runtime.cc1179 result->SetJ(bit_cast<int64_t, double>(in)); in UnstartedDoubleDoubleToRawLongBits()
1784 result->SetD(bit_cast<double>(long_input)); in UnstartedJNIDoubleLongBitsToDouble()