|
2517 | 2517 | (local $1 i64) |
2518 | 2518 | (local $2 i32) |
2519 | 2519 | (local $3 i64) |
2520 | | - (local $4 i32) |
| 2520 | + (local $4 i64) |
2521 | 2521 | (local $5 i64) |
2522 | 2522 | (local $6 i64) |
2523 | | - (local $7 i64) |
| 2523 | + (local $7 i32) |
2524 | 2524 | (local $8 i32) |
2525 | 2525 | (local $9 i32) |
2526 | 2526 | (local $10 i64) |
|
2541 | 2541 | else |
2542 | 2542 | local.get $0 |
2543 | 2543 | end |
2544 | | - i64.reinterpret_f64 |
2545 | | - local.tee $1 |
2546 | | - i64.const 9218868437227405312 |
2547 | | - i64.and |
2548 | | - i64.const 52 |
2549 | | - i64.shr_u |
2550 | | - i32.wrap_i64 |
2551 | | - local.tee $4 |
| 2544 | + f32.demote_f64 |
| 2545 | + i32.reinterpret_f32 |
| 2546 | + local.tee $7 |
| 2547 | + i32.const 2139095040 |
| 2548 | + i32.and |
| 2549 | + i32.const 23 |
| 2550 | + i32.shr_u |
| 2551 | + local.tee $8 |
2552 | 2552 | i32.const 1 |
2553 | | - local.get $4 |
| 2553 | + local.get $8 |
2554 | 2554 | select |
2555 | | - i32.const 1075 |
| 2555 | + i32.const 150 |
2556 | 2556 | i32.sub |
2557 | | - local.tee $8 |
| 2557 | + local.tee $9 |
2558 | 2558 | i32.const 1 |
2559 | 2559 | i32.sub |
2560 | | - local.get $1 |
2561 | | - i64.const 4503599627370495 |
2562 | | - i64.and |
2563 | | - local.get $4 |
| 2560 | + local.get $7 |
| 2561 | + i32.const 8388607 |
| 2562 | + i32.and |
| 2563 | + i64.extend_i32_u |
| 2564 | + local.get $8 |
2564 | 2565 | i32.const 0 |
2565 | 2566 | i32.ne |
2566 | 2567 | i64.extend_i32_u |
2567 | | - i64.const 52 |
| 2568 | + i64.const 23 |
2568 | 2569 | i64.shl |
2569 | 2570 | i64.add |
2570 | 2571 | local.tee $1 |
|
2575 | 2576 | local.tee $3 |
2576 | 2577 | i64.clz |
2577 | 2578 | i32.wrap_i64 |
2578 | | - local.tee $9 |
| 2579 | + local.tee $7 |
2579 | 2580 | i32.sub |
2580 | | - local.set $4 |
| 2581 | + local.set $8 |
2581 | 2582 | local.get $3 |
2582 | | - local.get $9 |
| 2583 | + local.get $7 |
2583 | 2584 | i64.extend_i32_s |
2584 | 2585 | i64.shl |
2585 | 2586 | global.set $~lib/util/number/_frc_plus |
2586 | 2587 | local.get $1 |
2587 | 2588 | local.get $1 |
2588 | | - i64.const 4503599627370496 |
| 2589 | + i64.const 8388608 |
2589 | 2590 | i64.eq |
2590 | 2591 | i32.const 1 |
2591 | 2592 | i32.add |
2592 | | - local.tee $9 |
| 2593 | + local.tee $7 |
2593 | 2594 | i64.extend_i32_s |
2594 | 2595 | i64.shl |
2595 | 2596 | i64.const 1 |
2596 | 2597 | i64.sub |
2597 | | - local.get $8 |
2598 | 2598 | local.get $9 |
| 2599 | + local.get $7 |
2599 | 2600 | i32.sub |
2600 | | - local.get $4 |
| 2601 | + local.get $8 |
2601 | 2602 | i32.sub |
2602 | 2603 | i64.extend_i32_s |
2603 | 2604 | i64.shl |
2604 | 2605 | global.set $~lib/util/number/_frc_minus |
2605 | | - local.get $4 |
| 2606 | + local.get $8 |
2606 | 2607 | global.set $~lib/util/number/_exp |
2607 | 2608 | i32.const 348 |
2608 | 2609 | i32.const -61 |
|
2615 | 2616 | f64.add |
2616 | 2617 | local.tee $0 |
2617 | 2618 | i32.trunc_sat_f64_s |
2618 | | - local.tee $4 |
2619 | | - local.get $4 |
| 2619 | + local.tee $7 |
| 2620 | + local.get $7 |
2620 | 2621 | f64.convert_i32_s |
2621 | 2622 | local.get $0 |
2622 | 2623 | f64.ne |
|
2625 | 2626 | i32.shr_s |
2626 | 2627 | i32.const 1 |
2627 | 2628 | i32.add |
2628 | | - local.tee $4 |
| 2629 | + local.tee $7 |
2629 | 2630 | i32.const 3 |
2630 | 2631 | i32.shl |
2631 | 2632 | local.tee $8 |
|
2636 | 2637 | i32.add |
2637 | 2638 | i64.load |
2638 | 2639 | global.set $~lib/util/number/_frc_pow |
2639 | | - local.get $4 |
| 2640 | + local.get $7 |
2640 | 2641 | i32.const 1 |
2641 | 2642 | i32.shl |
2642 | 2643 | i32.const 2528 |
|
2650 | 2651 | local.tee $1 |
2651 | 2652 | i64.const 4294967295 |
2652 | 2653 | i64.and |
2653 | | - local.set $5 |
| 2654 | + local.set $4 |
2654 | 2655 | global.get $~lib/util/number/_frc_pow |
2655 | 2656 | local.tee $10 |
2656 | 2657 | i64.const 4294967295 |
|
2661 | 2662 | i64.shr_u |
2662 | 2663 | local.tee $1 |
2663 | 2664 | i64.mul |
2664 | | - local.get $5 |
| 2665 | + local.get $4 |
2665 | 2666 | local.get $11 |
2666 | 2667 | i64.mul |
2667 | 2668 | i64.const 32 |
2668 | 2669 | i64.shr_u |
2669 | 2670 | i64.add |
2670 | | - local.set $6 |
| 2671 | + local.set $5 |
2671 | 2672 | global.get $~lib/util/number/_frc_plus |
2672 | 2673 | local.tee $3 |
2673 | 2674 | i64.const 4294967295 |
|
2685 | 2686 | i64.const 32 |
2686 | 2687 | i64.shr_u |
2687 | 2688 | i64.add |
2688 | | - local.set $7 |
| 2689 | + local.set $6 |
2689 | 2690 | global.get $~lib/util/number/_frc_minus |
2690 | 2691 | local.tee $13 |
2691 | 2692 | i64.const 4294967295 |
|
2715 | 2716 | i64.shr_u |
2716 | 2717 | local.tee $1 |
2717 | 2718 | i64.mul |
2718 | | - local.get $6 |
| 2719 | + local.get $5 |
2719 | 2720 | i64.const 32 |
2720 | 2721 | i64.shr_u |
2721 | 2722 | i64.add |
2722 | 2723 | local.get $1 |
2723 | | - local.get $5 |
| 2724 | + local.get $4 |
2724 | 2725 | i64.mul |
2725 | | - local.get $6 |
| 2726 | + local.get $5 |
2726 | 2727 | i64.const 4294967295 |
2727 | 2728 | i64.and |
2728 | 2729 | i64.add |
|
2734 | 2735 | local.get $1 |
2735 | 2736 | local.get $3 |
2736 | 2737 | i64.mul |
2737 | | - local.get $7 |
| 2738 | + local.get $6 |
2738 | 2739 | i64.const 32 |
2739 | 2740 | i64.shr_u |
2740 | 2741 | i64.add |
2741 | 2742 | local.get $1 |
2742 | 2743 | local.get $12 |
2743 | 2744 | i64.mul |
2744 | | - local.get $7 |
| 2745 | + local.get $6 |
2745 | 2746 | i64.const 4294967295 |
2746 | 2747 | i64.and |
2747 | 2748 | i64.add |
|
2812 | 2813 | global.get $~lib/memory/__stack_pointer |
2813 | 2814 | i32.const 0 |
2814 | 2815 | i32.store |
2815 | | - block $__inlined_func$~lib/util/number/dtoa$77 |
| 2816 | + i32.const 1632 |
| 2817 | + local.set $2 |
| 2818 | + block $~lib/util/number/dtoa_impl|inlined.0 |
2816 | 2819 | local.get $0 |
2817 | 2820 | f64.promote_f32 |
2818 | 2821 | local.tee $1 |
2819 | 2822 | f64.const 0 |
2820 | 2823 | f64.eq |
2821 | | - if |
2822 | | - global.get $~lib/memory/__stack_pointer |
2823 | | - i32.const 4 |
2824 | | - i32.add |
2825 | | - global.set $~lib/memory/__stack_pointer |
2826 | | - i32.const 1632 |
2827 | | - local.set $2 |
2828 | | - br $__inlined_func$~lib/util/number/dtoa$77 |
2829 | | - end |
| 2824 | + br_if $~lib/util/number/dtoa_impl|inlined.0 |
2830 | 2825 | local.get $1 |
2831 | 2826 | local.get $1 |
2832 | 2827 | f64.sub |
2833 | 2828 | f64.const 0 |
2834 | 2829 | f64.ne |
2835 | 2830 | if |
| 2831 | + i32.const 1664 |
| 2832 | + local.set $2 |
2836 | 2833 | local.get $1 |
2837 | 2834 | local.get $1 |
2838 | 2835 | f64.ne |
2839 | | - if |
2840 | | - global.get $~lib/memory/__stack_pointer |
2841 | | - i32.const 4 |
2842 | | - i32.add |
2843 | | - global.set $~lib/memory/__stack_pointer |
2844 | | - i32.const 1664 |
2845 | | - local.set $2 |
2846 | | - br $__inlined_func$~lib/util/number/dtoa$77 |
2847 | | - end |
2848 | | - global.get $~lib/memory/__stack_pointer |
2849 | | - i32.const 4 |
2850 | | - i32.add |
2851 | | - global.set $~lib/memory/__stack_pointer |
| 2836 | + br_if $~lib/util/number/dtoa_impl|inlined.0 |
2852 | 2837 | i32.const 1696 |
2853 | 2838 | i32.const 1744 |
2854 | 2839 | local.get $1 |
2855 | 2840 | f64.const 0 |
2856 | 2841 | f64.lt |
2857 | 2842 | select |
2858 | 2843 | local.set $2 |
2859 | | - br $__inlined_func$~lib/util/number/dtoa$77 |
| 2844 | + br $~lib/util/number/dtoa_impl|inlined.0 |
2860 | 2845 | end |
2861 | 2846 | local.get $1 |
2862 | 2847 | call $~lib/util/number/dtoa_core |
|
2873 | 2858 | i32.const 1776 |
2874 | 2859 | local.get $3 |
2875 | 2860 | memory.copy |
2876 | | - global.get $~lib/memory/__stack_pointer |
2877 | | - i32.const 4 |
2878 | | - i32.add |
2879 | | - global.set $~lib/memory/__stack_pointer |
2880 | 2861 | end |
| 2862 | + global.get $~lib/memory/__stack_pointer |
| 2863 | + i32.const 4 |
| 2864 | + i32.add |
| 2865 | + global.set $~lib/memory/__stack_pointer |
2881 | 2866 | local.get $2 |
2882 | 2867 | ) |
2883 | 2868 | (func $~lib/number/U8#toString (param $0 i32) (result i32) |
|
0 commit comments