Lines Matching refs:vals
2321 double vals[22]; in test_ROUNDSD_w_immediate_rounding() local
2323 vals[i++] = 0.0; in test_ROUNDSD_w_immediate_rounding()
2324 vals[i++] = -0.0; in test_ROUNDSD_w_immediate_rounding()
2325 vals[i++] = mkPosInf(); in test_ROUNDSD_w_immediate_rounding()
2326 vals[i++] = mkNegInf(); in test_ROUNDSD_w_immediate_rounding()
2327 vals[i++] = mkPosNan(); in test_ROUNDSD_w_immediate_rounding()
2328 vals[i++] = mkNegNan(); in test_ROUNDSD_w_immediate_rounding()
2329 vals[i++] = -1.3; in test_ROUNDSD_w_immediate_rounding()
2330 vals[i++] = -1.1; in test_ROUNDSD_w_immediate_rounding()
2331 vals[i++] = -0.9; in test_ROUNDSD_w_immediate_rounding()
2332 vals[i++] = -0.7; in test_ROUNDSD_w_immediate_rounding()
2333 vals[i++] = -0.50001; in test_ROUNDSD_w_immediate_rounding()
2334 vals[i++] = -0.49999; in test_ROUNDSD_w_immediate_rounding()
2335 vals[i++] = -0.3; in test_ROUNDSD_w_immediate_rounding()
2336 vals[i++] = -0.1; in test_ROUNDSD_w_immediate_rounding()
2337 vals[i++] = 0.1; in test_ROUNDSD_w_immediate_rounding()
2338 vals[i++] = 0.3; in test_ROUNDSD_w_immediate_rounding()
2339 vals[i++] = 0.49999; in test_ROUNDSD_w_immediate_rounding()
2340 vals[i++] = 0.50001; in test_ROUNDSD_w_immediate_rounding()
2341 vals[i++] = 0.7; in test_ROUNDSD_w_immediate_rounding()
2342 vals[i++] = 0.9; in test_ROUNDSD_w_immediate_rounding()
2343 vals[i++] = 1.1; in test_ROUNDSD_w_immediate_rounding()
2344 vals[i++] = 1.3; in test_ROUNDSD_w_immediate_rounding()
2347 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDSD_w_immediate_rounding()
2352 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2358 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2363 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2369 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2375 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2381 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2386 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2392 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2398 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2404 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2409 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2415 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2421 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2427 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2432 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_immediate_rounding()
2438 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_immediate_rounding()
2446 double vals[22]; in test_ROUNDSD_w_mxcsr_rounding() local
2448 vals[i++] = 0.0; in test_ROUNDSD_w_mxcsr_rounding()
2449 vals[i++] = -0.0; in test_ROUNDSD_w_mxcsr_rounding()
2450 vals[i++] = mkPosInf(); in test_ROUNDSD_w_mxcsr_rounding()
2451 vals[i++] = mkNegInf(); in test_ROUNDSD_w_mxcsr_rounding()
2452 vals[i++] = mkPosNan(); in test_ROUNDSD_w_mxcsr_rounding()
2453 vals[i++] = mkNegNan(); in test_ROUNDSD_w_mxcsr_rounding()
2454 vals[i++] = -1.3; in test_ROUNDSD_w_mxcsr_rounding()
2455 vals[i++] = -1.1; in test_ROUNDSD_w_mxcsr_rounding()
2456 vals[i++] = -0.9; in test_ROUNDSD_w_mxcsr_rounding()
2457 vals[i++] = -0.7; in test_ROUNDSD_w_mxcsr_rounding()
2458 vals[i++] = -0.50001; in test_ROUNDSD_w_mxcsr_rounding()
2459 vals[i++] = -0.49999; in test_ROUNDSD_w_mxcsr_rounding()
2460 vals[i++] = -0.3; in test_ROUNDSD_w_mxcsr_rounding()
2461 vals[i++] = -0.1; in test_ROUNDSD_w_mxcsr_rounding()
2462 vals[i++] = 0.1; in test_ROUNDSD_w_mxcsr_rounding()
2463 vals[i++] = 0.3; in test_ROUNDSD_w_mxcsr_rounding()
2464 vals[i++] = 0.49999; in test_ROUNDSD_w_mxcsr_rounding()
2465 vals[i++] = 0.50001; in test_ROUNDSD_w_mxcsr_rounding()
2466 vals[i++] = 0.7; in test_ROUNDSD_w_mxcsr_rounding()
2467 vals[i++] = 0.9; in test_ROUNDSD_w_mxcsr_rounding()
2468 vals[i++] = 1.1; in test_ROUNDSD_w_mxcsr_rounding()
2469 vals[i++] = 1.3; in test_ROUNDSD_w_mxcsr_rounding()
2475 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDSD_w_mxcsr_rounding()
2483 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_mxcsr_rounding()
2489 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_mxcsr_rounding()
2494 memcpy(&src[0], &vals[i], 8); in test_ROUNDSD_w_mxcsr_rounding()
2500 printf(" %10f %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDSD_w_mxcsr_rounding()
2637 float vals[22]; in test_ROUNDSS_w_immediate_rounding() local
2639 vals[i++] = 0.0; in test_ROUNDSS_w_immediate_rounding()
2640 vals[i++] = -0.0; in test_ROUNDSS_w_immediate_rounding()
2641 vals[i++] = mkPosInf(); in test_ROUNDSS_w_immediate_rounding()
2642 vals[i++] = mkNegInf(); in test_ROUNDSS_w_immediate_rounding()
2643 vals[i++] = mkPosNan(); in test_ROUNDSS_w_immediate_rounding()
2644 vals[i++] = mkNegNan(); in test_ROUNDSS_w_immediate_rounding()
2645 vals[i++] = -1.3; in test_ROUNDSS_w_immediate_rounding()
2646 vals[i++] = -1.1; in test_ROUNDSS_w_immediate_rounding()
2647 vals[i++] = -0.9; in test_ROUNDSS_w_immediate_rounding()
2648 vals[i++] = -0.7; in test_ROUNDSS_w_immediate_rounding()
2649 vals[i++] = -0.50001; in test_ROUNDSS_w_immediate_rounding()
2650 vals[i++] = -0.49999; in test_ROUNDSS_w_immediate_rounding()
2651 vals[i++] = -0.3; in test_ROUNDSS_w_immediate_rounding()
2652 vals[i++] = -0.1; in test_ROUNDSS_w_immediate_rounding()
2653 vals[i++] = 0.1; in test_ROUNDSS_w_immediate_rounding()
2654 vals[i++] = 0.3; in test_ROUNDSS_w_immediate_rounding()
2655 vals[i++] = 0.49999; in test_ROUNDSS_w_immediate_rounding()
2656 vals[i++] = 0.50001; in test_ROUNDSS_w_immediate_rounding()
2657 vals[i++] = 0.7; in test_ROUNDSS_w_immediate_rounding()
2658 vals[i++] = 0.9; in test_ROUNDSS_w_immediate_rounding()
2659 vals[i++] = 1.1; in test_ROUNDSS_w_immediate_rounding()
2660 vals[i++] = 1.3; in test_ROUNDSS_w_immediate_rounding()
2663 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDSS_w_immediate_rounding()
2668 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2674 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2679 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2685 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2691 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2697 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2702 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2708 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2714 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2720 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2725 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2731 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2737 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2743 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2748 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_immediate_rounding()
2754 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_immediate_rounding()
2762 float vals[22]; in test_ROUNDSS_w_mxcsr_rounding() local
2764 vals[i++] = 0.0; in test_ROUNDSS_w_mxcsr_rounding()
2765 vals[i++] = -0.0; in test_ROUNDSS_w_mxcsr_rounding()
2766 vals[i++] = mkPosInf(); in test_ROUNDSS_w_mxcsr_rounding()
2767 vals[i++] = mkNegInf(); in test_ROUNDSS_w_mxcsr_rounding()
2768 vals[i++] = mkPosNan(); in test_ROUNDSS_w_mxcsr_rounding()
2769 vals[i++] = mkNegNan(); in test_ROUNDSS_w_mxcsr_rounding()
2770 vals[i++] = -1.3; in test_ROUNDSS_w_mxcsr_rounding()
2771 vals[i++] = -1.1; in test_ROUNDSS_w_mxcsr_rounding()
2772 vals[i++] = -0.9; in test_ROUNDSS_w_mxcsr_rounding()
2773 vals[i++] = -0.7; in test_ROUNDSS_w_mxcsr_rounding()
2774 vals[i++] = -0.50001; in test_ROUNDSS_w_mxcsr_rounding()
2775 vals[i++] = -0.49999; in test_ROUNDSS_w_mxcsr_rounding()
2776 vals[i++] = -0.3; in test_ROUNDSS_w_mxcsr_rounding()
2777 vals[i++] = -0.1; in test_ROUNDSS_w_mxcsr_rounding()
2778 vals[i++] = 0.1; in test_ROUNDSS_w_mxcsr_rounding()
2779 vals[i++] = 0.3; in test_ROUNDSS_w_mxcsr_rounding()
2780 vals[i++] = 0.49999; in test_ROUNDSS_w_mxcsr_rounding()
2781 vals[i++] = 0.50001; in test_ROUNDSS_w_mxcsr_rounding()
2782 vals[i++] = 0.7; in test_ROUNDSS_w_mxcsr_rounding()
2783 vals[i++] = 0.9; in test_ROUNDSS_w_mxcsr_rounding()
2784 vals[i++] = 1.1; in test_ROUNDSS_w_mxcsr_rounding()
2785 vals[i++] = 1.3; in test_ROUNDSS_w_mxcsr_rounding()
2791 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDSS_w_mxcsr_rounding()
2799 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_mxcsr_rounding()
2805 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_mxcsr_rounding()
2810 memcpy(&src[0], &vals[i], 4); in test_ROUNDSS_w_mxcsr_rounding()
2816 printf(" %10f %10f", (double)vals[i], (double)*(float*)(&dst[0])); in test_ROUNDSS_w_mxcsr_rounding()
2952 double vals[22]; in test_ROUNDPD_w_immediate_rounding() local
2954 vals[i++] = 0.0; in test_ROUNDPD_w_immediate_rounding()
2955 vals[i++] = -0.0; in test_ROUNDPD_w_immediate_rounding()
2956 vals[i++] = mkPosInf(); in test_ROUNDPD_w_immediate_rounding()
2957 vals[i++] = mkNegInf(); in test_ROUNDPD_w_immediate_rounding()
2958 vals[i++] = mkPosNan(); in test_ROUNDPD_w_immediate_rounding()
2959 vals[i++] = mkNegNan(); in test_ROUNDPD_w_immediate_rounding()
2960 vals[i++] = -1.3; in test_ROUNDPD_w_immediate_rounding()
2961 vals[i++] = -1.1; in test_ROUNDPD_w_immediate_rounding()
2962 vals[i++] = -0.9; in test_ROUNDPD_w_immediate_rounding()
2963 vals[i++] = -0.7; in test_ROUNDPD_w_immediate_rounding()
2964 vals[i++] = -0.50001; in test_ROUNDPD_w_immediate_rounding()
2965 vals[i++] = -0.49999; in test_ROUNDPD_w_immediate_rounding()
2966 vals[i++] = -0.3; in test_ROUNDPD_w_immediate_rounding()
2967 vals[i++] = -0.1; in test_ROUNDPD_w_immediate_rounding()
2968 vals[i++] = 0.1; in test_ROUNDPD_w_immediate_rounding()
2969 vals[i++] = 0.3; in test_ROUNDPD_w_immediate_rounding()
2970 vals[i++] = 0.49999; in test_ROUNDPD_w_immediate_rounding()
2971 vals[i++] = 0.50001; in test_ROUNDPD_w_immediate_rounding()
2972 vals[i++] = 0.7; in test_ROUNDPD_w_immediate_rounding()
2973 vals[i++] = 0.9; in test_ROUNDPD_w_immediate_rounding()
2974 vals[i++] = 1.1; in test_ROUNDPD_w_immediate_rounding()
2975 vals[i++] = 1.3; in test_ROUNDPD_w_immediate_rounding()
2978 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDPD_w_immediate_rounding()
2983 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
2984 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
2990 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
2991 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
2996 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
2997 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
3003 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
3004 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
3010 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
3011 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
3017 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
3018 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
3023 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
3024 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
3030 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
3031 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
3037 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
3038 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
3044 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
3045 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
3050 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
3051 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
3057 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
3058 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
3064 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
3065 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
3071 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
3072 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
3077 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_immediate_rounding()
3078 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_immediate_rounding()
3084 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_immediate_rounding()
3085 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_immediate_rounding()
3093 double vals[22]; in test_ROUNDPD_w_mxcsr_rounding() local
3095 vals[i++] = 0.0; in test_ROUNDPD_w_mxcsr_rounding()
3096 vals[i++] = -0.0; in test_ROUNDPD_w_mxcsr_rounding()
3097 vals[i++] = mkPosInf(); in test_ROUNDPD_w_mxcsr_rounding()
3098 vals[i++] = mkNegInf(); in test_ROUNDPD_w_mxcsr_rounding()
3099 vals[i++] = mkPosNan(); in test_ROUNDPD_w_mxcsr_rounding()
3100 vals[i++] = mkNegNan(); in test_ROUNDPD_w_mxcsr_rounding()
3101 vals[i++] = -1.3; in test_ROUNDPD_w_mxcsr_rounding()
3102 vals[i++] = -1.1; in test_ROUNDPD_w_mxcsr_rounding()
3103 vals[i++] = -0.9; in test_ROUNDPD_w_mxcsr_rounding()
3104 vals[i++] = -0.7; in test_ROUNDPD_w_mxcsr_rounding()
3105 vals[i++] = -0.50001; in test_ROUNDPD_w_mxcsr_rounding()
3106 vals[i++] = -0.49999; in test_ROUNDPD_w_mxcsr_rounding()
3107 vals[i++] = -0.3; in test_ROUNDPD_w_mxcsr_rounding()
3108 vals[i++] = -0.1; in test_ROUNDPD_w_mxcsr_rounding()
3109 vals[i++] = 0.1; in test_ROUNDPD_w_mxcsr_rounding()
3110 vals[i++] = 0.3; in test_ROUNDPD_w_mxcsr_rounding()
3111 vals[i++] = 0.49999; in test_ROUNDPD_w_mxcsr_rounding()
3112 vals[i++] = 0.50001; in test_ROUNDPD_w_mxcsr_rounding()
3113 vals[i++] = 0.7; in test_ROUNDPD_w_mxcsr_rounding()
3114 vals[i++] = 0.9; in test_ROUNDPD_w_mxcsr_rounding()
3115 vals[i++] = 1.1; in test_ROUNDPD_w_mxcsr_rounding()
3116 vals[i++] = 1.3; in test_ROUNDPD_w_mxcsr_rounding()
3122 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDPD_w_mxcsr_rounding()
3130 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_mxcsr_rounding()
3131 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_mxcsr_rounding()
3137 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_mxcsr_rounding()
3138 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_mxcsr_rounding()
3143 memcpy(&src[0], &vals[i], 8); in test_ROUNDPD_w_mxcsr_rounding()
3144 memcpy(&src[8], &vals[(i+11)%22], 8); in test_ROUNDPD_w_mxcsr_rounding()
3150 printf(" %10f -> %10f", vals[i], *(double*)(&dst[0])); in test_ROUNDPD_w_mxcsr_rounding()
3151 printf(" %10f -> %10f", vals[(i+11)%22], *(double*)(&dst[8])); in test_ROUNDPD_w_mxcsr_rounding()
3287 float vals[22]; in test_ROUNDPS_w_immediate_rounding() local
3289 vals[i++] = 0.0; in test_ROUNDPS_w_immediate_rounding()
3290 vals[i++] = -0.0; in test_ROUNDPS_w_immediate_rounding()
3291 vals[i++] = mkPosInf(); in test_ROUNDPS_w_immediate_rounding()
3292 vals[i++] = mkNegInf(); in test_ROUNDPS_w_immediate_rounding()
3293 vals[i++] = mkPosNan(); in test_ROUNDPS_w_immediate_rounding()
3294 vals[i++] = mkNegNan(); in test_ROUNDPS_w_immediate_rounding()
3295 vals[i++] = -1.3; in test_ROUNDPS_w_immediate_rounding()
3296 vals[i++] = -1.1; in test_ROUNDPS_w_immediate_rounding()
3297 vals[i++] = -0.9; in test_ROUNDPS_w_immediate_rounding()
3298 vals[i++] = -0.7; in test_ROUNDPS_w_immediate_rounding()
3299 vals[i++] = -0.50001; in test_ROUNDPS_w_immediate_rounding()
3300 vals[i++] = -0.49999; in test_ROUNDPS_w_immediate_rounding()
3301 vals[i++] = -0.3; in test_ROUNDPS_w_immediate_rounding()
3302 vals[i++] = -0.1; in test_ROUNDPS_w_immediate_rounding()
3303 vals[i++] = 0.1; in test_ROUNDPS_w_immediate_rounding()
3304 vals[i++] = 0.3; in test_ROUNDPS_w_immediate_rounding()
3305 vals[i++] = 0.49999; in test_ROUNDPS_w_immediate_rounding()
3306 vals[i++] = 0.50001; in test_ROUNDPS_w_immediate_rounding()
3307 vals[i++] = 0.7; in test_ROUNDPS_w_immediate_rounding()
3308 vals[i++] = 0.9; in test_ROUNDPS_w_immediate_rounding()
3309 vals[i++] = 1.1; in test_ROUNDPS_w_immediate_rounding()
3310 vals[i++] = 1.3; in test_ROUNDPS_w_immediate_rounding()
3313 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDPS_w_immediate_rounding()
3318 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3319 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3320 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3321 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3327 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3328 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3329 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3330 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3335 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3336 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3337 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3338 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3344 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3345 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3346 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3347 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3353 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3354 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3355 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3356 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3362 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3363 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3364 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3365 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3370 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3371 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3372 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3373 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3379 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3380 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3381 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3382 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3388 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3389 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3390 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3391 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3397 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3398 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3399 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3400 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3405 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3406 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3407 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3408 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3414 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3415 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3416 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3417 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3423 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3424 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3425 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3426 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3432 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3433 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3434 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3435 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3440 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_immediate_rounding()
3441 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3442 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3443 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_immediate_rounding()
3449 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_immediate_rounding()
3450 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_immediate_rounding()
3451 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_immediate_rounding()
3452 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_immediate_rounding()
3460 float vals[22]; in test_ROUNDPS_w_mxcsr_rounding() local
3462 vals[i++] = 0.0; in test_ROUNDPS_w_mxcsr_rounding()
3463 vals[i++] = -0.0; in test_ROUNDPS_w_mxcsr_rounding()
3464 vals[i++] = mkPosInf(); in test_ROUNDPS_w_mxcsr_rounding()
3465 vals[i++] = mkNegInf(); in test_ROUNDPS_w_mxcsr_rounding()
3466 vals[i++] = mkPosNan(); in test_ROUNDPS_w_mxcsr_rounding()
3467 vals[i++] = mkNegNan(); in test_ROUNDPS_w_mxcsr_rounding()
3468 vals[i++] = -1.3; in test_ROUNDPS_w_mxcsr_rounding()
3469 vals[i++] = -1.1; in test_ROUNDPS_w_mxcsr_rounding()
3470 vals[i++] = -0.9; in test_ROUNDPS_w_mxcsr_rounding()
3471 vals[i++] = -0.7; in test_ROUNDPS_w_mxcsr_rounding()
3472 vals[i++] = -0.50001; in test_ROUNDPS_w_mxcsr_rounding()
3473 vals[i++] = -0.49999; in test_ROUNDPS_w_mxcsr_rounding()
3474 vals[i++] = -0.3; in test_ROUNDPS_w_mxcsr_rounding()
3475 vals[i++] = -0.1; in test_ROUNDPS_w_mxcsr_rounding()
3476 vals[i++] = 0.1; in test_ROUNDPS_w_mxcsr_rounding()
3477 vals[i++] = 0.3; in test_ROUNDPS_w_mxcsr_rounding()
3478 vals[i++] = 0.49999; in test_ROUNDPS_w_mxcsr_rounding()
3479 vals[i++] = 0.50001; in test_ROUNDPS_w_mxcsr_rounding()
3480 vals[i++] = 0.7; in test_ROUNDPS_w_mxcsr_rounding()
3481 vals[i++] = 0.9; in test_ROUNDPS_w_mxcsr_rounding()
3482 vals[i++] = 1.1; in test_ROUNDPS_w_mxcsr_rounding()
3483 vals[i++] = 1.3; in test_ROUNDPS_w_mxcsr_rounding()
3489 for (i = 0; i < sizeof(vals)/sizeof(vals[0]); i++) { in test_ROUNDPS_w_mxcsr_rounding()
3497 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_mxcsr_rounding()
3498 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_mxcsr_rounding()
3499 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_mxcsr_rounding()
3500 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_mxcsr_rounding()
3506 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_mxcsr_rounding()
3507 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_mxcsr_rounding()
3508 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_mxcsr_rounding()
3509 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_mxcsr_rounding()
3514 memcpy(&src[0], &vals[i], 4); in test_ROUNDPS_w_mxcsr_rounding()
3515 memcpy(&src[4], &vals[(i+5)%22], 4); in test_ROUNDPS_w_mxcsr_rounding()
3516 memcpy(&src[8], &vals[(i+11)%22], 4); in test_ROUNDPS_w_mxcsr_rounding()
3517 memcpy(&src[12], &vals[(i+17)%22], 4); in test_ROUNDPS_w_mxcsr_rounding()
3523 printf(" %9f:%9f", vals[i], (double)*(float*)(&dst[0])); in test_ROUNDPS_w_mxcsr_rounding()
3524 printf(" %9f:%9f", vals[(i+5)%22], (double)*(float*)(&dst[4])); in test_ROUNDPS_w_mxcsr_rounding()
3525 printf(" %9f:%9f", vals[(i+11)%22], (double)*(float*)(&dst[8])); in test_ROUNDPS_w_mxcsr_rounding()
3526 printf(" %9f:%9f", vals[(i+17)%22], (double)*(float*)(&dst[12])); in test_ROUNDPS_w_mxcsr_rounding()