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/
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_POS) != 0); in ecma_number_unpack()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_serialize.c661 unsigned packed_value:19; /* meaning determined by packing */ member
1325 header.load_const.packed_value = lc->value[0].u64 >> 45; 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 = lc->value[0].u16; in write_load_const()
1349 header.load_const.packed_value = lc->value[0].u8; in write_load_const()
1353 header.load_const.packed_value = lc->value[0].b; in write_load_const()
1402 lc->value[0].u64 = (uint64_t)header.load_const.packed_value << 45; in read_load_const()
1405 lc->value[0].u32 = (uint64_t)header.load_const.packed_value << 13; in read_load_const()
[all …]
/third_party/mesa3d/src/asahi/compiler/
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()