Searched refs:nan_f32 (Results 1 – 5 of 5) sorted by relevance
/external/FP16/test/ |
D | ieee-to-fp32-bits.cc | 236 const uint32_t nan_f32 = fp16_ieee_to_fp32_bits(nan_f16); in TEST() local 239 EXPECT_EQ(nan_f32 & UINT32_C(0x80000000), 0) << in TEST() 242 "F32(F16) = 0x" << std::setw(8) << nan_f32; in TEST() 245 EXPECT_EQ(nan_f32 & UINT32_C(0x7F800000), UINT32_C(0x7F800000)) << in TEST() 248 "F32(F16) = 0x" << std::setw(8) << nan_f32; in TEST() 251 EXPECT_NE(nan_f32 & UINT32_C(0x007FFFFF), UINT32_C(0)) << in TEST() 254 "F32(F16) = 0x" << std::setw(8) << nan_f32; in TEST() 261 const uint32_t nan_f32 = fp16_ieee_to_fp32_bits(nan_f16); in TEST() local 264 EXPECT_NE(nan_f32 & UINT32_C(0x80000000), UINT32_C(0)) << in TEST() 267 "F32(F16) = 0x" << std::setw(8) << nan_f32; in TEST() [all …]
|
D | alt-from-fp32-value.cc | 300 for (uint32_t nan_f32 = UINT32_C(0x7FFFFFFF); nan_f32 > UINT32_C(0x7F800000); nan_f32--) { in TEST() local 302 memcpy(&nan_value, &nan_f32, sizeof(nan_value)); in TEST() 308 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 314 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 320 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 326 for (uint32_t nan_f32 = UINT32_C(0xFFFFFFFF); nan_f32 > UINT32_C(0xFF800000); nan_f32--) { in TEST() local 328 memcpy(&nan_value, &nan_f32, sizeof(nan_value)); in TEST() 334 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 340 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 346 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST()
|
D | ieee-from-fp32-value.cc | 300 for (uint32_t nan_f32 = UINT32_C(0x7FFFFFFF); nan_f32 > UINT32_C(0x7F800000); nan_f32--) { in TEST() local 302 memcpy(&nan_value, &nan_f32, sizeof(nan_value)); in TEST() 308 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 314 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 320 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 326 for (uint32_t nan_f32 = UINT32_C(0xFFFFFFFF); nan_f32 > UINT32_C(0xFF800000); nan_f32--) { in TEST() local 328 memcpy(&nan_value, &nan_f32, sizeof(nan_value)); in TEST() 334 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 340 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST() 346 "F32 = 0x" << std::setw(8) << nan_f32 << ", " << in TEST()
|
D | ieee-to-fp32-value.cc | 317 const float nan_f32 = fp16_ieee_to_fp32_value(nan_f16); in TEST() local 319 memcpy(&nan_bits, &nan_f32, sizeof(nan_bits)); in TEST() 322 EXPECT_TRUE(isnan(nan_f32)) << in TEST() 328 EXPECT_EQ(signbit(nan_f32), 0) << in TEST() 340 const float nan_f32 = fp16_ieee_to_fp32_value(nan_f16); in TEST() local 342 memcpy(&nan_bits, &nan_f32, sizeof(nan_bits)); in TEST() 345 EXPECT_TRUE(isnan(nan_f32)) << in TEST() 351 EXPECT_EQ(signbit(nan_f32), 1) << in TEST()
|
/external/llvm/test/CodeGen/WebAssembly/ |
D | immediates.ll | 104 ; CHECK-LABEL: nan_f32: 108 define float @nan_f32() {
|