Lines Matching refs:bit_cast
987 *bit_cast<float*>(&FPUregisters_[fpureg * 2]) = value; in set_fpu_register_float()
994 *bit_cast<double*>(&FPUregisters_[fpureg * 2]) = value; in set_fpu_register_double()
997 int64_t i64 = bit_cast<int64_t>(value); in set_fpu_register_double()
1063 return *bit_cast<float*>(const_cast<int64_t*>(&FPUregisters_[fpureg * 2])); in get_fpu_register_float()
1070 return *bit_cast<double*>(&FPUregisters_[fpureg * 2]); in get_fpu_register_double()
1076 return bit_cast<double>(i64); in get_fpu_register_double()
2673 int64_t ft_int = bit_cast<int64_t>(ft); in DecodeTypeRegisterDRsType()
2674 int64_t fd_int = bit_cast<int64_t>(fd); in DecodeTypeRegisterDRsType()
2991 uint64_t classed = bit_cast<uint64_t>(fs); in DecodeTypeRegisterDRsType()
3049 dResult = bit_cast<double>(result); in DecodeTypeRegisterDRsType()
3162 int32_t ft_int = bit_cast<int32_t>(ft); in DecodeTypeRegisterSRsType()
3163 int32_t fd_int = bit_cast<int32_t>(fd); in DecodeTypeRegisterSRsType()
3306 uint32_t classed = bit_cast<uint32_t>(fs); in DecodeTypeRegisterSRsType()
3364 fResult = bit_cast<float>(result); in DecodeTypeRegisterSRsType()
4557 MSACSR_ = bit_cast<uint32_t>(registers_[rd_reg()]); in DecodeTypeMsaELM()
4562 SetResult(sa(), bit_cast<int32_t>(MSACSR_)); in DecodeTypeMsaELM()
5403 wd = bit_cast<T_int>(s_element + t_element); in Msa3RFInstrHelper()
5406 wd = bit_cast<T_int>(s_element - t_element); in Msa3RFInstrHelper()
5409 wd = bit_cast<T_int>(s_element * t_element); in Msa3RFInstrHelper()
5413 wd = bit_cast<T_int>(std::numeric_limits<T_fp>::quiet_NaN()); in Msa3RFInstrHelper()
5415 wd = bit_cast<T_int>(s_element / t_element); in Msa3RFInstrHelper()
5419 wd = bit_cast<T_int>( in Msa3RFInstrHelper()
5423 wd = bit_cast<T_int>( in Msa3RFInstrHelper()
5427 wd = bit_cast<T_int>(std::ldexp(s_element, static_cast<int>(wt))); in Msa3RFInstrHelper()
5430 wd = bit_cast<T_int>(std::min(s_element, t_element)); in Msa3RFInstrHelper()
5433 wd = bit_cast<T_int>(std::max(s_element, t_element)); in Msa3RFInstrHelper()
5436 wd = bit_cast<T_int>( in Msa3RFInstrHelper()
5440 wd = bit_cast<T_int>( in Msa3RFInstrHelper()
5475 bit_cast<T_uint_dbl>(std::numeric_limits<T_int_dbl>::min()) >> 1U; in Msa3RFInstrHelper2()
5494 bit_cast<T_uint_dbl>(std::numeric_limits<T_int_dbl>::min()) >> 1U; in Msa3RFInstrHelper2()
5623 wd.w[i + kMSALanesWord / 2] = bit_cast<int32_t>( in DecodeTypeMsa3RF()
5624 static_cast<float>(bit_cast<double>(ws.d[i]))); in DecodeTypeMsa3RF()
5625 wd.w[i] = bit_cast<int32_t>( in DecodeTypeMsa3RF()
5626 static_cast<float>(bit_cast<double>(wt.d[i]))); in DecodeTypeMsa3RF()
5637 element = bit_cast<fp_type>(source) * \ in DecodeTypeMsa3RF()
5899 #define QUIET_BIT_S(nan) (bit_cast<int32_t>(nan) & BIT(22))
5900 #define QUIET_BIT_D(nan) (bit_cast<int64_t>(nan) & BIT(51))
5976 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
5989 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6001 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6003 dst = bit_cast<T_int>(std::numeric_limits<T_fp>::quiet_NaN()); in Msa2RFInstrHelper()
6005 dst = bit_cast<T_int>(std::sqrt(element)); in Msa2RFInstrHelper()
6010 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6012 dst = bit_cast<T_int>(std::numeric_limits<T_fp>::quiet_NaN()); in Msa2RFInstrHelper()
6014 dst = bit_cast<T_int>(1 / std::sqrt(element)); in Msa2RFInstrHelper()
6019 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6021 dst = bit_cast<T_int>(std::numeric_limits<T_fp>::quiet_NaN()); in Msa2RFInstrHelper()
6023 dst = bit_cast<T_int>(1 / element); in Msa2RFInstrHelper()
6028 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6030 dst = bit_cast<T_int>(std::numeric_limits<T_fp>::quiet_NaN()); in Msa2RFInstrHelper()
6034 dst = bit_cast<T_int>(element); in Msa2RFInstrHelper()
6039 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6043 dst = bit_cast<T_int>(std::logb(element)); in Msa2RFInstrHelper()
6046 dst = bit_cast<T_int>(-std::numeric_limits<T_fp>::infinity()); in Msa2RFInstrHelper()
6049 dst = bit_cast<T_int>(std::numeric_limits<T_fp>::quiet_NaN()); in Msa2RFInstrHelper()
6053 dst = bit_cast<T_int>(std::numeric_limits<T_fp>::quiet_NaN()); in Msa2RFInstrHelper()
6055 dst = bit_cast<T_int>(std::numeric_limits<T_fp>::infinity()); in Msa2RFInstrHelper()
6064 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6077 T_fp element = bit_cast<T_fp>(src); in Msa2RFInstrHelper()
6091 dst = bit_cast<T_int>(static_cast<T_fp>(src)); in Msa2RFInstrHelper()
6095 dst = bit_cast<T_int>(static_cast<T_fp>(bit_cast<uT_src>(src))); in Msa2RFInstrHelper()
6122 return bit_cast<int32_t>(std::numeric_limits<float>::quiet_NaN()); \ in Msa2RFInstrHelper2()
6124 return bit_cast<uint32_t>(std::numeric_limits<float>::infinity()) | \ in Msa2RFInstrHelper2()
6142 return bit_cast<int64_t>( in Msa2RFInstrHelper2()
6143 static_cast<double>(bit_cast<float>(ws.w[i + kMSALanesDword]))); in Msa2RFInstrHelper2()
6149 return bit_cast<int64_t>(static_cast<double>(bit_cast<float>(ws.w[i]))); in Msa2RFInstrHelper2()
6153 return bit_cast<int32_t>(static_cast<float>(ws.h[i + kMSALanesWord]) / in Msa2RFInstrHelper2()
6156 return bit_cast<int64_t>(static_cast<double>(ws.w[i + kMSALanesDword]) / in Msa2RFInstrHelper2()
6163 return bit_cast<int32_t>(static_cast<float>(ws.h[i]) / (1U << 15)); in Msa2RFInstrHelper2()
6165 return bit_cast<int64_t>(static_cast<double>(ws.w[i]) / (1U << 31)); in Msa2RFInstrHelper2()