Lines Matching refs:ASSERT_EQUAL_FP32
246 #define ASSERT_EQUAL_FP32(expected, result) \ macro
2709 ASSERT_EQUAL_FP32(2.0, s0); in TEST()
2710 ASSERT_EQUAL_FP32(2.0, dst[0]); in TEST()
2711 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
2712 ASSERT_EQUAL_FP32(1.0, dst[2]); in TEST()
2713 ASSERT_EQUAL_FP32(3.0, s2); in TEST()
2714 ASSERT_EQUAL_FP32(3.0, dst[1]); in TEST()
6377 ASSERT_EQUAL_FP32(1.0, s31); in TEST()
6378 ASSERT_EQUAL_FP32(2.0, s0); in TEST()
6379 ASSERT_EQUAL_FP32(0.0, dst[0]); in TEST()
6380 ASSERT_EQUAL_FP32(2.0, dst[1]); in TEST()
6381 ASSERT_EQUAL_FP32(1.0, dst[2]); in TEST()
6671 ASSERT_EQUAL_FP32(1.2, s0); in TEST()
6672 ASSERT_EQUAL_FP32(2.3, s1); in TEST()
6673 ASSERT_EQUAL_FP32(2.3, dst[0]); in TEST()
6674 ASSERT_EQUAL_FP32(1.2, dst[1]); in TEST()
6675 ASSERT_EQUAL_FP32(2.3, s2); in TEST()
6676 ASSERT_EQUAL_FP32(3.4, s3); in TEST()
6677 ASSERT_EQUAL_FP32(3.4, dst[2]); in TEST()
6678 ASSERT_EQUAL_FP32(2.3, dst[3]); in TEST()
6679 ASSERT_EQUAL_FP32(3.4, s4); in TEST()
6680 ASSERT_EQUAL_FP32(2.3, s5); in TEST()
6681 ASSERT_EQUAL_FP32(3.4, dst[4]); in TEST()
6682 ASSERT_EQUAL_FP32(2.3, dst[5]); in TEST()
7102 ASSERT_EQUAL_FP32(2.5, s25); in TEST()
7156 ASSERT_EQUAL_FP32(2.5, s1); in TEST()
7163 ASSERT_EQUAL_FP32(250.0, s5); in TEST()
7386 ASSERT_EQUAL_FP32(2.5, s25); in TEST()
7393 ASSERT_EQUAL_FP32(2.5, s26); in TEST()
7472 ASSERT_EQUAL_FP32(2.5, s25); in TEST()
7479 ASSERT_EQUAL_FP32(2.5, s26); in TEST()
7738 ASSERT_EQUAL_FP32(2.5, s25); in TEST()
7744 ASSERT_EQUAL_FP32(2.5, s26); in TEST()
9702 ASSERT_EQUAL_FP32(1.0, s11); in TEST()
9704 ASSERT_EQUAL_FP32(255.0, s1); in TEST()
9706 ASSERT_EQUAL_FP32(0.0, s3); in TEST()
9708 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s5); in TEST()
9739 ASSERT_EQUAL_FP32(1.0, s30); in TEST()
9740 ASSERT_EQUAL_FP32(1.0, s5); in TEST()
9744 ASSERT_EQUAL_FP32(RawbitsToFloat(0x89abcdef), s6); in TEST()
9788 ASSERT_EQUAL_FP32(4.25, s0); in TEST()
9789 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
9790 ASSERT_EQUAL_FP32(1.0, s2); in TEST()
9791 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s3); in TEST()
9792 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s4); in TEST()
9793 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s5); in TEST()
9794 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s6); in TEST()
9844 ASSERT_EQUAL_FP32(2.25, s0); in TEST()
9845 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
9846 ASSERT_EQUAL_FP32(-1.0, s2); in TEST()
9847 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s3); in TEST()
9848 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s4); in TEST()
9849 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s5); in TEST()
9850 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s6); in TEST()
9901 ASSERT_EQUAL_FP32(6.5, s0); in TEST()
9902 ASSERT_EQUAL_FP32(0.0, s1); in TEST()
9903 ASSERT_EQUAL_FP32(0.0, s2); in TEST()
9904 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s3); in TEST()
9905 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s4); in TEST()
9906 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s5); in TEST()
9907 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s6); in TEST()
10022 ASSERT_EQUAL_FP32(fmadd, s28); in FmaddFmsubHelper()
10023 ASSERT_EQUAL_FP32(fmsub, s29); in FmaddFmsubHelper()
10024 ASSERT_EQUAL_FP32(fnmadd, s30); in FmaddFmsubHelper()
10025 ASSERT_EQUAL_FP32(fnmsub, s31); in FmaddFmsubHelper()
10316 ASSERT_EQUAL_FP32(1.625f, s0); in TEST()
10317 ASSERT_EQUAL_FP32(1.0f, s1); in TEST()
10318 ASSERT_EQUAL_FP32(-0.0f, s2); in TEST()
10319 ASSERT_EQUAL_FP32(0.0f, s3); in TEST()
10320 ASSERT_EQUAL_FP32(-0.0f, s4); in TEST()
10321 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s5); in TEST()
10322 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s6); in TEST()
10536 ASSERT_EQUAL_FP32(min, s28); in FminFmaxFloatHelper()
10537 ASSERT_EQUAL_FP32(max, s29); in FminFmaxFloatHelper()
10538 ASSERT_EQUAL_FP32(minnm, s30); in FminFmaxFloatHelper()
10539 ASSERT_EQUAL_FP32(maxnm, s31); in FminFmaxFloatHelper()
10846 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
10847 ASSERT_EQUAL_FP32(2.0, s1); in TEST()
10850 ASSERT_EQUAL_FP32(1.0, s4); in TEST()
10884 ASSERT_EQUAL_FP32(-1.0, s0); in TEST()
10885 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
10886 ASSERT_EQUAL_FP32(-0.0, s2); in TEST()
10887 ASSERT_EQUAL_FP32(0.0, s3); in TEST()
10888 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s4); in TEST()
10889 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s5); in TEST()
10924 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
10925 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
10926 ASSERT_EQUAL_FP32(0.0, s2); in TEST()
10927 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s3); in TEST()
10974 ASSERT_EQUAL_FP32(0.0, s0); in TEST()
10975 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
10976 ASSERT_EQUAL_FP32(0.5, s2); in TEST()
10977 ASSERT_EQUAL_FP32(256.0, s3); in TEST()
10978 ASSERT_EQUAL_FP32(-0.0, s4); in TEST()
10979 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s5); in TEST()
10980 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s6); in TEST()
11052 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
11053 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
11054 ASSERT_EQUAL_FP32(2.0, s2); in TEST()
11055 ASSERT_EQUAL_FP32(2.0, s3); in TEST()
11056 ASSERT_EQUAL_FP32(3.0, s4); in TEST()
11057 ASSERT_EQUAL_FP32(-2.0, s5); in TEST()
11058 ASSERT_EQUAL_FP32(-3.0, s6); in TEST()
11059 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11060 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11061 ASSERT_EQUAL_FP32(0.0, s9); in TEST()
11062 ASSERT_EQUAL_FP32(-0.0, s10); in TEST()
11063 ASSERT_EQUAL_FP32(-0.0, s11); in TEST()
11142 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
11143 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
11144 ASSERT_EQUAL_FP32(2.0, s2); in TEST()
11145 ASSERT_EQUAL_FP32(2.0, s3); in TEST()
11146 ASSERT_EQUAL_FP32(2.0, s4); in TEST()
11147 ASSERT_EQUAL_FP32(-2.0, s5); in TEST()
11148 ASSERT_EQUAL_FP32(-2.0, s6); in TEST()
11149 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11150 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11151 ASSERT_EQUAL_FP32(0.0, s9); in TEST()
11152 ASSERT_EQUAL_FP32(-0.0, s10); in TEST()
11153 ASSERT_EQUAL_FP32(-0.0, s11); in TEST()
11230 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
11231 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
11232 ASSERT_EQUAL_FP32(1.0, s2); in TEST()
11233 ASSERT_EQUAL_FP32(1.0, s3); in TEST()
11234 ASSERT_EQUAL_FP32(2.0, s4); in TEST()
11235 ASSERT_EQUAL_FP32(-2.0, s5); in TEST()
11236 ASSERT_EQUAL_FP32(-3.0, s6); in TEST()
11237 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11238 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11239 ASSERT_EQUAL_FP32(0.0, s9); in TEST()
11240 ASSERT_EQUAL_FP32(-0.0, s10); in TEST()
11241 ASSERT_EQUAL_FP32(-1.0, s11); in TEST()
11318 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
11319 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
11320 ASSERT_EQUAL_FP32(2.0, s2); in TEST()
11321 ASSERT_EQUAL_FP32(2.0, s3); in TEST()
11322 ASSERT_EQUAL_FP32(2.0, s4); in TEST()
11323 ASSERT_EQUAL_FP32(-2.0, s5); in TEST()
11324 ASSERT_EQUAL_FP32(-2.0, s6); in TEST()
11325 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11326 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11327 ASSERT_EQUAL_FP32(0.0, s9); in TEST()
11328 ASSERT_EQUAL_FP32(-0.0, s10); in TEST()
11329 ASSERT_EQUAL_FP32(-0.0, s11); in TEST()
11406 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
11407 ASSERT_EQUAL_FP32(2.0, s1); in TEST()
11408 ASSERT_EQUAL_FP32(2.0, s2); in TEST()
11409 ASSERT_EQUAL_FP32(2.0, s3); in TEST()
11410 ASSERT_EQUAL_FP32(3.0, s4); in TEST()
11411 ASSERT_EQUAL_FP32(-1.0, s5); in TEST()
11412 ASSERT_EQUAL_FP32(-2.0, s6); in TEST()
11413 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11414 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11415 ASSERT_EQUAL_FP32(0.0, s9); in TEST()
11416 ASSERT_EQUAL_FP32(-0.0, s10); in TEST()
11417 ASSERT_EQUAL_FP32(-0.0, s11); in TEST()
11496 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
11497 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
11498 ASSERT_EQUAL_FP32(2.0, s2); in TEST()
11499 ASSERT_EQUAL_FP32(2.0, s3); in TEST()
11500 ASSERT_EQUAL_FP32(2.0, s4); in TEST()
11501 ASSERT_EQUAL_FP32(-2.0, s5); in TEST()
11502 ASSERT_EQUAL_FP32(-2.0, s6); in TEST()
11503 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11504 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11505 ASSERT_EQUAL_FP32(0.0, s9); in TEST()
11506 ASSERT_EQUAL_FP32(-0.0, s10); in TEST()
11507 ASSERT_EQUAL_FP32(-0.0, s11); in TEST()
11580 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
11581 ASSERT_EQUAL_FP32(1.0, s1); in TEST()
11582 ASSERT_EQUAL_FP32(1.0, s2); in TEST()
11583 ASSERT_EQUAL_FP32(1.0, s3); in TEST()
11584 ASSERT_EQUAL_FP32(2.0, s4); in TEST()
11585 ASSERT_EQUAL_FP32(-1.0, s5); in TEST()
11586 ASSERT_EQUAL_FP32(-2.0, s6); in TEST()
11587 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11588 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11589 ASSERT_EQUAL_FP32(0.0, s9); in TEST()
11590 ASSERT_EQUAL_FP32(-0.0, s10); in TEST()
11715 ASSERT_EQUAL_FP32(1.0f, s0); in TEST()
11716 ASSERT_EQUAL_FP32(1.1f, s1); in TEST()
11717 ASSERT_EQUAL_FP32(1.5f, s2); in TEST()
11718 ASSERT_EQUAL_FP32(1.9f, s3); in TEST()
11719 ASSERT_EQUAL_FP32(2.5f, s4); in TEST()
11720 ASSERT_EQUAL_FP32(-1.5f, s5); in TEST()
11721 ASSERT_EQUAL_FP32(-2.5f, s6); in TEST()
11722 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s7); in TEST()
11723 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s8); in TEST()
11724 ASSERT_EQUAL_FP32(0.0f, s9); in TEST()
11725 ASSERT_EQUAL_FP32(-0.0f, s10); in TEST()
11726 ASSERT_EQUAL_FP32(FLT_MAX, s11); in TEST()
11727 ASSERT_EQUAL_FP32(FLT_MIN, s12); in TEST()
11735 ASSERT_EQUAL_FP32(RawbitsToFloat(0x7fc12345), s13); in TEST()
11736 ASSERT_EQUAL_FP32(RawbitsToFloat(0x7fc12345), s14); in TEST()
13012 ASSERT_EQUAL_FP32(expected_scvtf, results_scvtf_x[fbits]); in TestUScvtf32Helper()
13013 ASSERT_EQUAL_FP32(expected_ucvtf, results_ucvtf_x[fbits]); in TestUScvtf32Helper()
13014 if (cvtf_s32) ASSERT_EQUAL_FP32(expected_scvtf, results_scvtf_w[fbits]); in TestUScvtf32Helper()
13015 if (cvtf_u32) ASSERT_EQUAL_FP32(expected_ucvtf, results_ucvtf_w[fbits]); in TestUScvtf32Helper()
13020 ASSERT_EQUAL_FP32(expected_scvtf, results_scvtf_x[fbits]); in TestUScvtf32Helper()
13021 ASSERT_EQUAL_FP32(expected_ucvtf, results_ucvtf_x[fbits]); in TestUScvtf32Helper()
13769 ASSERT_EQUAL_FP32(RawbitsToFloat((4 * base_d) & kSRegMask), s16); in TEST()
13770 ASSERT_EQUAL_FP32(RawbitsToFloat((4 * base_d) >> kSRegSize), s17); in TEST()
15441 ASSERT_EQUAL_FP32(sn, s1); in TEST()
15442 ASSERT_EQUAL_FP32(RawbitsToFloat(sn_raw & ~kSSignMask), s2); in TEST()
15443 ASSERT_EQUAL_FP32(RawbitsToFloat(sn_raw ^ kSSignMask), s3); in TEST()
15445 ASSERT_EQUAL_FP32(qn, s11); in TEST()
15446 ASSERT_EQUAL_FP32(RawbitsToFloat(qn_raw & ~kSSignMask), s12); in TEST()
15447 ASSERT_EQUAL_FP32(RawbitsToFloat(qn_raw ^ kSSignMask), s13); in TEST()
15450 ASSERT_EQUAL_FP32(sn_proc, s4); in TEST()
15451 ASSERT_EQUAL_FP32(sn_proc, s5); in TEST()
15452 ASSERT_EQUAL_FP32(sn_proc, s6); in TEST()
15453 ASSERT_EQUAL_FP32(sn_proc, s7); in TEST()
15455 ASSERT_EQUAL_FP32(qn_proc, s14); in TEST()
15456 ASSERT_EQUAL_FP32(qn_proc, s15); in TEST()
15457 ASSERT_EQUAL_FP32(qn_proc, s16); in TEST()
15458 ASSERT_EQUAL_FP32(qn_proc, s17); in TEST()
15557 ASSERT_EQUAL_FP32(expected, s2); in ProcessNaNsHelper()
15558 ASSERT_EQUAL_FP32(expected, s3); in ProcessNaNsHelper()
15559 ASSERT_EQUAL_FP32(expected, s4); in ProcessNaNsHelper()
15560 ASSERT_EQUAL_FP32(expected, s5); in ProcessNaNsHelper()
15561 ASSERT_EQUAL_FP32(expected, s6); in ProcessNaNsHelper()
15562 ASSERT_EQUAL_FP32(expected, s7); in ProcessNaNsHelper()
15664 ASSERT_EQUAL_FP32(n, s10); in DefaultNaNHelper()
15665 ASSERT_EQUAL_FP32(RawbitsToFloat(n_raw & ~kSSignMask), s11); in DefaultNaNHelper()
15666 ASSERT_EQUAL_FP32(RawbitsToFloat(n_raw ^ kSSignMask), s12); in DefaultNaNHelper()
15667 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s13); in DefaultNaNHelper()
15668 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s14); in DefaultNaNHelper()
15669 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s15); in DefaultNaNHelper()
15670 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s16); in DefaultNaNHelper()
15675 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s18); in DefaultNaNHelper()
15676 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s19); in DefaultNaNHelper()
15677 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s20); in DefaultNaNHelper()
15678 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s21); in DefaultNaNHelper()
15679 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s22); in DefaultNaNHelper()
15680 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s23); in DefaultNaNHelper()
15683 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s24); in DefaultNaNHelper()
15684 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s25); in DefaultNaNHelper()
15685 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s26); in DefaultNaNHelper()
15686 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s27); in DefaultNaNHelper()
15798 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s17); in DefaultNaNHelper()
21762 ASSERT_EQUAL_FP32(1.0, s16); in TEST()
21763 ASSERT_EQUAL_FP32(2.0, s17); in TEST()
21764 ASSERT_EQUAL_FP32(-2.0, s18); in TEST()
21765 ASSERT_EQUAL_FP32(-2.0, s19); in TEST()
21766 ASSERT_EQUAL_FP32(2.0, s20); in TEST()
22131 ASSERT_EQUAL_FP32(1.5, s16); in TEST()
22132 ASSERT_EQUAL_FP32(0.0, s17); in TEST()
22133 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s18); in TEST()
22134 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s19); in TEST()
22135 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s20); in TEST()
22167 ASSERT_EQUAL_FP32(3.0, s0); in TEST()
22168 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s1); in TEST()
22169 ASSERT_EQUAL_FP32(0.0, s2); in TEST()
22199 ASSERT_EQUAL_FP32(2.0, s0); in TEST()
22200 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s1); in TEST()
22201 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s2); in TEST()
22231 ASSERT_EQUAL_FP32(2.0, s0); in TEST()
22232 ASSERT_EQUAL_FP32(kFP32PositiveInfinity, s1); in TEST()
22233 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s2); in TEST()
22263 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
22264 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s1); in TEST()
22265 ASSERT_EQUAL_FP32(kFP32DefaultNaN, s2); in TEST()
22295 ASSERT_EQUAL_FP32(1.0, s0); in TEST()
22296 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s1); in TEST()
22297 ASSERT_EQUAL_FP32(kFP32NegativeInfinity, s2); in TEST()