/glibc-2.36/string/ |
D | test-memcmp.c | 43 SIMPLE_MEMCMP (const wchar_t *s1, const wchar_t *s2, size_t n) in SIMPLE_MEMCMP() argument 50 while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;} in SIMPLE_MEMCMP() 71 SIMPLE_MEMCMP (const char *s1, const char *s2, size_t n) in SIMPLE_MEMCMP() argument 75 while (n-- && (ret = *(unsigned char *) s1++ - *(unsigned char *) s2++) == 0); in SIMPLE_MEMCMP() 91 check_result (impl_t *impl, const CHAR *s1, const CHAR *s2, size_t len, in check_result() argument 94 int result = CALL (impl, s1, s2, len); in check_result() 107 do_one_test (impl_t *impl, const CHAR *s1, const CHAR *s2, size_t len, in do_one_test() argument 110 if (check_result (impl, s1, s2, len, exp_result) < 0) in do_one_test() 118 CHAR *s1, *s2; in do_test() local 131 s1 = (CHAR *) (buf1 + align1); in do_test() [all …]
|
/glibc-2.36/sysdeps/ia64/ |
D | ia64libgcc.S | 21 (p6) fnma.s1 f11 = farg1, f10, f1 22 (p6) fma.s1 f12 = farg0, f10, f0 24 (p6) fma.s1 f13 = f11, f11, f0 25 (p6) fma.s1 f14 = f11, f11, f11 27 (p6) fma.s1 f11 = f13, f13, f11 28 (p6) fma.s1 f13 = f14, f10, f10 30 (p6) fma.s1 f10 = f13, f11, f10 31 (p6) fnma.s1 f11 = farg1, f12, farg0 33 (p6) fma.s1 f11 = f11, f10, f12 34 (p6) fnma.s1 f12 = farg1, f10, f1 [all …]
|
/glibc-2.36/sysdeps/ia64/fpu/ |
D | libm_lgammal.S | 2126 fcvt.fx.s1 fXint = f8 // Convert arg to int (int repres. in FR) 2132 fcmp.lt.s1 p15, p14 = f8, f0 2137 fma.s1 fTwo = f1, f1, f1 // 2.0 2157 frcpa.s1 fRcpX, p0 = f1, f8 // initial approximation of 1/x 2181 fms.s1 fA5L = f1, f1, f8 // for 0.75 <= x < 1.3125 path 2196 fms.s1 fB4 = f8, f1, fTwo 2223 fnma.s1 fInvX = f8, fRcpX, f1 // start of 1st NR iteration 2239 fma.s1 fSix = fTwo, fTwo, fTwo // 6.0 2251 fma.s1 fRoot = f8, f1, f1 // x + 1 2282 fms.s1 fDx = f8, f1, fFltIntX // x - RTN(x) [all …]
|
D | w_tgammal_compat.S | 1212 fcvt.fx.s1 FR_n_IXNS = f8 // Convert to fixed point 1234 frcpa.s1 FR_z_Y0,p0 = f1,f8 // y = frcpa(x) (for negatives) 1244 fcmp.lt.s1 p15, p14 = f8,f0 // p14 - positive arg, p15 - negative 1256 fcvt.fx.trunc.s1 FR_n_IXN = FR_l_AbsX // Abs arg to int by trunc 1261 fma.s1 FR_p_2 = f1, f1, f1 // 2.0 1267 fcmp.lt.s1 p10, p0 = FR_l_AbsX, f1 // If |X|<1 then p10 = 1 1277 frcpa.s1 FR_l_Y0, p0 = f1, FR_l_AbsX // y = frcpa(x) 1282 fsub.s1 FR_l_W = FR_l_AbsX, f1 // W = |X|-1 1328 fma.s1 FR_l_Q0 = f1,FR_l_Y0,f0 // Q0 = Y0 1333 fnma.s1 FR_l_E0 = FR_l_Y0,FR_l_AbsX,f1 // e = 1-b*y [all …]
|
D | libm_sincos_large.S | 756 fma.s1 FR_SINCOS_ARG = f8, f1, f0 // Save argument for sin and cos 768 fma.s1 FR_SINCOS_RES_SIN = f8, f1, f0 // Save sin result 774 fma.s1 f8 = FR_SINCOS_ARG, f1, f0 // Arg for cos 780 fma.s1 f9 = FR_SINCOS_RES_SIN, f1, f0 // Out sin result 953 fcmp.le.unc.s1 p7, p8 = FR_Input_X, FR_Neg_Two_to_24 964 fcmp.le.unc.s1 p10, p11 = FR_Input_X, FR_Neg_Two_to_63 970 (p8) fcmp.ge.s1 p7, p0 = FR_Input_X, FR_Two_to_24 976 (p11) fcmp.ge.s1 p10, p0 = FR_Input_X, FR_Two_to_63 1014 fma.s1 FR_N_float = FR_Input_X, FR_Inv_pi_by_2, f0 1020 fcmp.lt.unc.s1 p6, p7 = FR_Input_X, FR_Pi_by_4 [all …]
|
D | libm_lgamma.S | 1314 frcpa.s1 FR_C,p9 = f1,f8 1319 fcvt.fx.s1 FR_int_N = f8 1330 fcvt.fx.trunc.s1 FR_int_Ntrunc = f8 1335 fcmp.lt.s1 p14,p15 = f8,f0 // p14 if x<0 1340 fma.s1 FR_2 = f1,f1,f1 1345 fnorm.s1 FR_NormX = f8 1362 fms.s1 FR_w = f8,f1,f1 // x-1 1368 fnma.s1 FR_InvX = FR_C,f8,f1 // NR iteration #1 1379 (p14) fms.s1 FR_r = FR_C,f8,f1 // reduced arg for log(x) 1395 (p14) fma.s1 FR_5 = FR_2,FR_2,f1 [all …]
|
D | libm_tan.S | 1101 (p0) fnorm.s1 Arg = Arg 1169 (p0) fcmp.le.unc.s1 p6,p7 = Arg,NEGTWO_TO_63 1175 (p0) fcmp.le.unc.s1 p8,p9 = Arg,NEGTWO_TO_24 1181 (p7) fcmp.ge.s1 p6,p0 = Arg,TWO_TO_63 1187 (p9) fcmp.ge.s1 p8,p0 = Arg,TWO_TO_24 1221 (p0) fmpy.s1 N = Arg,two_by_PI 1230 (p0) fcmp.lt.unc.s1 p8,p9= Arg,PI_BY_4 1239 (p8) fcmp.gt.s1 p8,p9= Arg,MPI_BY_4 1256 (p0) fcvt.fx.s1 N_fix = N 1277 (p8) fcmp.lt.unc.s1 p10, p11 = Arg, TWO_TO_NEG2 [all …]
|
D | e_asinl.S | 778 fnma.s1 F_1S2 = f8, f8, f1 946 fms.s1 F_D = f8, f1, F_T 955 fma.s1 F_S2T2 = f8, f1, F_T 964 fma.s1 F_S2T2 = F_S2T2, F_D, f0 973 fma.s1 F_INV_1T2 = F_INV_1T2, F_2M64, f0 981 fma.s1 F_SQRT_1T2 = F_SQRT_1T2, F_2M64, f0 990 fnma.s1 F_X = F_INV_1T2, F_S2T2, f0 999 fma.s1 F_TSQRT = F_T, F_SQRT_1T2, f0 1007 fma.s1 F_S89 = F_CS9, F_X, F_CS8 1014 fma.s1 F_S67 = F_CS7, F_X, F_CS6 [all …]
|
D | e_acosl.S | 784 fnma.s1 F_1S2 = f8, f8, f1 952 fms.s1 F_D = f8, f1, F_T 961 fma.s1 F_S2T2 = f8, f1, F_T 970 fma.s1 F_S2T2 = F_S2T2, F_D, f0 979 fma.s1 F_INV_1T2 = F_INV_1T2, F_2M64, f0 987 fma.s1 F_SQRT_1T2 = F_SQRT_1T2, F_2M64, f0 996 fnma.s1 F_X = F_INV_1T2, F_S2T2, f0 1007 fma.s1 F_TSQRT = F_T, F_SQRT_1T2, f0;; 1014 fma.s1 F_S89 = F_CS9, F_X, F_CS8 1021 fma.s1 F_S67 = F_CS7, F_X, F_CS6 [all …]
|
D | s_atan.S | 272 frcpa.s1 atan2_u1_Y,p7 = f1,atan2_Y 277 fma.s1 atan2_two = f1,f1,f1 284 frcpa.s1 atan2_u1_X,p6 = f1,atan2_X 289 fma.s1 atan2_ysq = atan2_Y,atan2_Y,f0 317 fnma.s1 atan2_B1Y = atan2_u1_Y, atan2_Y, atan2_two 322 fma.s1 atan2_wp_Y = atan2_u1_Y, atan2_u1_Y, f0 329 fma.s1 atan2_z1_X = atan2_u1_X, atan2_Y, f0 334 fnma.s1 atan2_B1X = atan2_u1_X, atan2_X, atan2_two 341 fma.s1 atan2_z2_X = atan2_u1_X, atan2_ysq, f0 355 fcmp.ge.s1 p7,p6 = f1, atan2_ysq [all …]
|
D | s_cosl.S | 770 fnorm.s1 FR_norm_x = FR_Input_X // Normalize x 796 fnorm.s1 FR_norm_x = FR_Input_X // Normalize x 907 fma.s1 FR_N_float_signif = FR_Input_X, FR_inv_pi_2to63, FR_rshf_2to64 925 fma.s1 FR_rsq = FR_norm_x, FR_norm_x, f0 // rsq = x*x, in case |x| < pi/4 948 fcmp.lt.s1 p6, p7 = FR_abs_x, FR_Pi_by_4 // Test |x| < pi/4 953 fms.s1 FR_N_float = FR_N_float_signif, FR_2tom64, FR_rshf 978 (p6) fma.s1 FR_r_cubed = FR_r, FR_rsq, f0 // r^3 if |x| < pi/4 1013 fnma.s1 FR_s = FR_N_float, FR_P_1, FR_Input_X // s = -N * P_1 + Arg 1018 fma.s1 FR_w = FR_N_float, FR_P_2, f0 // w = N * P_2 1025 fms.s1 FR_r = FR_s, f1, FR_w // r = s - w, assume |s| >= 2^-33 [all …]
|
D | s_tanl.S | 1244 fnorm.s1 Norm_Arg = Arg // Normalize x 1274 fnorm.s1 Norm_Arg = Arg // Normalize x 1300 fms.s1 mOne = f0, f0, f1 1332 fmpy.s1 Save_Norm_Arg = Norm_Arg, f1 // Save x if large arg reduction 1389 fma.s1 N_fix = Norm_Arg, FR_inv_pi_2to63, FR_rshf_2to64 1410 fcmp.lt.s1 p8,p9= Abs_Arg,PI_BY_4 // Test |x| < pi/4 1415 fms.s1 N = N_fix, FR_2tom64, FR_rshf // Use scaling to get N floated 1457 fnma.s1 s_val = N, P_1, Norm_Arg 1462 fmpy.s1 w = N, P_2 // w = N * P_2 for |s| >= 2^-33 1470 fmpy.s1 w2 = N, P_3 // w = N * P_3 for |s| < 2^-33 [all …]
|
D | libm_lgammaf.S | 764 frcpa.s1 FR_InvX,p0 = f1,f8 769 fcvt.fx.s1 FR_int_N = f8 780 fma.s1 FR_Xp1 = f8,f1,f1 790 fcvt.fx.trunc.s1 FR_int_Ntrunc = f8 795 fcmp.lt.s1 p14,p15 = f8,f0 800 fnorm.s1 FR_NormX = f8 807 fms.s1 FR_xm2 = f8,f1,f1 818 fms.s1 FR_r = FR_InvX,f8,f1 829 fma.s1 FR_Xp2 = f1,f1,FR_Xp1 // (x+2) 853 (p6) fma.s1 FR_x = f0,f0,FR_NormX [all …]
|
D | e_acoshl.S | 647 fcmp.lt.s1 p11, p0 = FR_Arg, f1 // if arg is less than 1 652 fma.s1 FR_X2 = FR_Arg, FR_Arg, f0 // Obtain x^2 668 fcmp.eq.s1 p10, p0 = FR_Arg, f1 // if arg == 1 (return 0) 683 fms.s1 FR_XM1 = FR_Arg, f1, f1 // X0 = X-1 (for near 1 path) 696 fms.s1 FR_M2 = FR_X2, f1, f1 // m2 = x^2 - 1 701 fms.s1 FR_M2L = FR_Arg, FR_Arg, FR_X2 // low part of 718 (p9) fms.s1 FR_XLog_Hi = FR_Two, FR_Arg, f1 // Hi of log arg = 2*X-1 725 (p8) fma.s1 FR_2XM1 = FR_Two, FR_XM1, f0 // 2X0 = 2 * X0 743 fma.s1 FR_Tmp = f1, f1, FR_M2 // Tmp = 1 + m2 758 frsqrta.s1 FR_Rcp, p0 = FR_M2 // Rcp = 1/m2 reciprocal appr. [all …]
|
D | e_asin.S | 267 fms.s1 f1mX = f1, f1, f8 274 fcmp.lt.s1 p8, p9 = f8, f0 281 fma.s1 f1pX = f1, f1, f8 292 fma.s1 fXSqr = f8, f8, f0 // x^2 312 (p9) fms.s1 fR = f1, f1, f8 319 (p8) fma.s1 fR = f1, f1, f8 352 frsqrta.s1 f1mXRcp, p0 = f1mX 357 fma.s1 fXCube = fXSqr, f8, f0 // x^3 364 frsqrta.s1 f1pXRcp, p0 = f1pX 369 fma.s1 fXQuadr = fXSqr, fXSqr, f0 // x^4 [all …]
|
D | w_tgamma_compat.S | 724 fma.s1 FR_1m2X = f8,f1,f8 // 2x 729 fcvt.fx.trunc.s1 FR_iXt = f8 // [x] 734 fma.s1 FR_2 = f1,f1,f1 // 2 743 fcmp.lt.s1 p14,p15 = f8,f0 752 fma.s1 FR_r02 = f8,f1,f0 757 fma.s1 FR_NormX = f8,f1,f0 772 (p14) fma.s1 FR_1m2X = f1,f1,FR_1m2X // RB=1-2|x| 777 (p15) fms.s1 FR_1m2X = f1,f1,FR_1m2X // RB=1-2|x| 783 fma.s1 FR_4 = FR_2,FR_2,f0 788 fma.s1 FR_6 = FR_2,FR_2,FR_2 [all …]
|
D | e_acos.S | 270 fms.s1 f1mX = f1, f1, f8 277 fcmp.lt.s1 p8, p9 = f8, f0 284 fma.s1 f1pX = f1, f1, f8 295 fma.s1 fXSqr = f8, f8, f0 // x^2 315 (p9) fms.s1 fR = f1, f1, f8 322 (p8) fma.s1 fR = f1, f1, f8 355 frsqrta.s1 f1mXRcp, p0 = f1mX 360 fma.s1 fXCube = fXSqr, f8, f0 // x^3 367 frsqrta.s1 f1pXRcp, p0 = f1pX 372 fma.s1 fXQuadr = fXSqr, fXSqr, f0 // x^4 [all …]
|
D | libm_sincosl.S | 833 fnorm.s1 FR_norm_x = FR_Input_X // Normalize x 856 fnorm.s1 FR_norm_x = FR_Input_X // Normalize x 957 fma.s1 FR_N_float_signif = FR_Input_X, FR_inv_pi_2to63, FR_rshf_2to64 974 fma.s1 FR_rsq = FR_norm_x, FR_norm_x, f0 // rsq = x*x, in case |x| < pi/4 994 fcmp.lt.s1 p6, p7 = FR_abs_x, FR_Pi_by_4 // Test |x| < pi/4 999 fms.s1 FR_N_float = FR_N_float_signif, FR_2tom64, FR_rshf 1022 (p6) fma.s1 FR_r_cubed = FR_r, FR_rsq, f0 // r^3 if |x| < pi/4 1052 fnma.s1 FR_s = FR_N_float, FR_P_1, FR_Input_X // s = -N * P_1 + Arg 1057 fma.s1 FR_w = FR_N_float, FR_P_2, f0 // w = N * P_2 1063 fms.s1 FR_r = FR_s, f1, FR_w // r = s - w, assume |s| >= 2^-33 [all …]
|
D | s_atanl.S | 729 fma.s1 Ysq = ArgY_orig, ArgY_orig, f0 // Form y*y 734 fma.s1 Xsq = f1, f1, f0 // Form x*x 741 fnorm.s1 ArgY = ArgY_orig 746 fnorm.s1 ArgX = f1 758 fnorm.s1 ArgX_orig = f1 784 fma.s1 M = f1, f1, f0 // Set M = 1.0 804 fcmp.ge.s1 p6,p7 = Xsq, Ysq // Test for |x| >= |y| using squares 809 fma.s1 V = ArgX_abs, f1, f0 // Set V assuming |x| < |y| 821 fma.s1 Ysq = ArgY_orig, ArgY_orig, f0 // Form y*y 826 fma.s1 Xsq = ArgX_orig, ArgX_orig, f0 // Form x*x [all …]
|
D | s_erfl.S | 556 fma.s1 fArgSqr = f8, f8, f0 // x^2 (for [0;1/8] path) 563 fcmp.lt.s1 p15, p14 = f8, f0 // Is arg negative/positive? 569 fma.s1 f2p0 = f1,f1,f1 // 2.0 construction 613 fma.s1 fArgCube = fArgSqr, f8, f0 // x^3 (for [0;1/8] path) 662 (p8) fms.s1 fArgAbsNorm = fArgAbsNorm, f1, f2p0 // Add 2.0 669 (p10) fms.s1 fArgAbsNorm = fArgAbsNorm, f1, f1p5 // Add 1.5 700 fms.s1 fArgAbsNorm2 = fArgAbsNorm, fArgAbsNorm, f0 // x^2 711 fma.s1 fRes3H = fA3, fArgAbsNorm, fA2H // (A3*x+A2)*x^2 716 fma.s1 fTH = fA3, fArgAbsNorm, f0 // (A3*x+A2)*x^2 722 fma.s1 fTT2 = fA1L, fArgAbsNorm, f0 // A1*x+A0 [all …]
|
D | e_atan2.S | 341 frcpa.s1 atan2_u1_X,p6 = f1,atan2_X 346 fma.s1 atan2_two = f1,f1,f1 353 frcpa.s1 atan2_u1_Y,p7 = f1,atan2_Y 358 fma.s1 atan2_xsq = atan2_X,atan2_X,f0 370 fma.s1 atan2_ysq = atan2_Y,atan2_Y,f0 399 fma.s1 atan2_z1_X = atan2_u1_X, atan2_Y, f0 404 fnma.s1 atan2_B1X = atan2_u1_X, atan2_X, atan2_two 411 fma.s1 atan2_z1_Y = atan2_u1_Y, atan2_X, f0 416 fnma.s1 atan2_B1Y = atan2_u1_Y, atan2_Y, atan2_two 423 fma.s1 atan2_z2_X = atan2_u1_X, atan2_ysq, f0 [all …]
|
D | s_atanf.S | 187 frcpa.s1 atanf_z,p0 = f1,f8 192 fma.s1 atanf_t = f8,f8,f0 229 fnma.s1 atanf_b = f8,atanf_z,f1 234 fma.s1 atanf_zsq = atanf_z,atanf_z,f0 241 fma.s1 atanf_xcub = f8,atanf_t,f0 246 fma.s1 atanf_tsq = atanf_t,atanf_t,f0 254 fcmp.le.s1 p6,p7 = atanf_abs_x,f1 290 fma.s1 atanf_bsq = atanf_b,atanf_b,f0 295 fma.s1 atanf_z4 = atanf_zsq,atanf_zsq,f0 302 fma.s1 atanf_x6 = atanf_t,atanf_tsq,f0 [all …]
|
D | w_tgammaf_compat.S | 457 fma.s1 FR_NormX = f8,f1,f0 462 fcvt.fx.trunc.s1 FR_iXt = f8 // [x] 467 fcmp.lt.s1 p14,p15 = f8,f0 472 fma.s1 FR_2 = f1,f1,f1 // 2 482 fcvt.fx.s1 FR_rs = f8 // round(x) 488 (p14) fma.s1 FR_1mX = f1,f1,f8 // 1 - |x| 493 (p15) fms.s1 FR_1mX = f1,f1,f8 // 1 - |x| 512 (p14) fma.s1 FR_X2mX = FR_NormX,FR_NormX,FR_NormX // x^2-|x| 517 (p15) fms.s1 FR_X2mX = FR_NormX,FR_NormX,FR_NormX // x^2-|x| 523 (p15) fcmp.lt.unc.s1 p10,p0 = f8,f1 // p10 if 0 <= x < 1 [all …]
|
D | s_asinhl.S | 546 fma.s1 FR_P2 = FR_Arg, FR_Arg, f1 // p2 = x^2 + 1 551 fma.s1 FR_X2 = FR_Arg, FR_Arg, f0 // Obtain x^2 600 fms.s1 FR_Tmp = f1, f1, FR_P2 // Tmp = 1 - p2 611 fcmp.lt.s1 p11, p12 = FR_Arg, f0 // if arg is negative 622 frsqrta.s1 FR_Rcp, p0 = FR_P2 // Rcp = 1/p2 reciprocal appr. 627 fms.s1 FR_P2L = FR_AX, FR_AX, FR_X2 //low part of p2=fma(X*X-p2) 633 (p9) fms.s1 FR_XLog_Hi = FR_Two, FR_AX, f0 // Hi of log1p arg = 2*X - 1 639 (p8) fma.s1 FR_X3 = FR_X2, FR_Arg, f0 // x^3 = x^2 * x 651 fma.s1 FR_Tmp = FR_Tmp, f1, FR_X2 // Tmp = Tmp + x^2 657 fma.s1 FR_GG = FR_Rcp, FR_P2, f0 // g = Rcp * p2 [all …]
|
D | s_erf.S | 316 fma.s1 fArgSqr = f8, f8, f0 // x^2 372 fms.s1 fArgAbsNorm = fArgAbsNorm, f1, f1 425 fma.s1 fTSqr = fArgAbsNorm, fArgAbsNorm, f0 470 fms.s1 fArgAbs = fArgAbs, f1, fThreeAndQ 481 fma.s1 fTDeg3 = fArgAbsNorm, fTSqr, f0 486 fma.s1 fTQuadr = fTSqr, fTSqr, f0 493 fma.s1 fArgAbsNormSgn = fArgAbsNorm, fSignumX, f0 504 fma.s1 fRes = fA19, fArgAbsNorm, fA18 515 fma.s1 fA17 = fA17, fArgAbsNorm, fA16 521 fma.s1 fA15 = fA15, fArgAbsNorm, fA14 [all …]
|