Home
last modified time | relevance | path

Searched refs:packed_value (Results 1 - 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-helpers-number.c59 uint32_t packed_value = (((sign ? 1u : 0u) << ECMA_NUMBER_SIGN_POS) | in ecma_number_pack() local
64 u.as_uint32_t = packed_value; in ecma_number_pack()
79 uint32_t packed_value = u.as_uint32_t; in ecma_number_unpack() local
83 *sign_p = ((packed_value >> ECMA_NUMBER_SIGN_POS) != 0); in ecma_number_unpack()
88 *biased_exp_p = (((packed_value) & ~(1u << ECMA_NUMBER_SIGN_POS)) >> ECMA_NUMBER_FRACTION_WIDTH); in ecma_number_unpack()
93 *fraction_p = (packed_value & ((1u << ECMA_NUMBER_FRACTION_WIDTH) - 1)); in ecma_number_unpack()
119 uint64_t packed_value = (((sign ? 1ull : 0ull) << ECMA_NUMBER_SIGN_POS) | in ecma_number_pack() local
127 u.as_uint64_t = packed_value; in ecma_number_pack()
142 uint64_t packed_value = u.as_uint64_t; in ecma_number_unpack() local
146 *sign_p = ((packed_value >> ECMA_NUMBER_SIGN_PO in ecma_number_unpack()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_serialize.c602 /* packed_value contains high 19 bits, low bits are 0,
607 /* packed_value contains low 19 bits, high bits are sign-extended */
661 unsigned packed_value:19; /* meaning determined by packing */ member
1323 /* packed_value contains high 19 bits, low bits are 0 */ in write_load_const()
1325 header.load_const.packed_value = lc->value[0].u64 >> 45; in write_load_const()
1327 /* packed_value contains low 19 bits, high bits are sign-extended */ in write_load_const()
1329 header.load_const.packed_value = lc->value[0].u64; in write_load_const()
1336 header.load_const.packed_value = lc->value[0].u32 >> 13; in write_load_const()
1339 header.load_const.packed_value = lc->value[0].u32; in write_load_const()
1345 header.load_const.packed_value in write_load_const()
[all...]
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_pack.c242 unsigned packed_value = in agx_pack_sample_mask_src() local
248 return packed_value | (1 << 7); in agx_pack_sample_mask_src()
253 return packed_value; in agx_pack_sample_mask_src()

Completed in 5 milliseconds