Revision 66fcf8ff

b/target-i386/op_helper.c
99 99
#define floatx80_l2e make_floatx80( 0x3fff, 0xb8aa3b295c17f0bcLL )
100 100
#define floatx80_l2t make_floatx80( 0x4000, 0xd49a784bcd1b8afeLL )
101 101

  
102
static const floatx80 f15rk[7] =
103
{
104
    floatx80_zero,
105
    floatx80_one,
106
    floatx80_pi,
107
    floatx80_lg2,
108
    floatx80_ln2,
109
    floatx80_l2e,
110
    floatx80_l2t,
111
};
112

  
113 102
/* broken thread support */
114 103

  
115 104
static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
......
3816 3805

  
3817 3806
void helper_fld1_ST0(void)
3818 3807
{
3819
    ST0 = f15rk[1];
3808
    ST0 = floatx80_one;
3820 3809
}
3821 3810

  
3822 3811
void helper_fldl2t_ST0(void)
3823 3812
{
3824
    ST0 = f15rk[6];
3813
    ST0 = floatx80_l2t;
3825 3814
}
3826 3815

  
3827 3816
void helper_fldl2e_ST0(void)
3828 3817
{
3829
    ST0 = f15rk[5];
3818
    ST0 = floatx80_l2e;
3830 3819
}
3831 3820

  
3832 3821
void helper_fldpi_ST0(void)
3833 3822
{
3834
    ST0 = f15rk[2];
3823
    ST0 = floatx80_pi;
3835 3824
}
3836 3825

  
3837 3826
void helper_fldlg2_ST0(void)
3838 3827
{
3839
    ST0 = f15rk[3];
3828
    ST0 = floatx80_lg2;
3840 3829
}
3841 3830

  
3842 3831
void helper_fldln2_ST0(void)
3843 3832
{
3844
    ST0 = f15rk[4];
3833
    ST0 = floatx80_ln2;
3845 3834
}
3846 3835

  
3847 3836
void helper_fldz_ST0(void)
3848 3837
{
3849
    ST0 = f15rk[0];
3838
    ST0 = floatx80_zero;
3850 3839
}
3851 3840

  
3852 3841
void helper_fldz_FT0(void)
3853 3842
{
3854
    FT0 = f15rk[0];
3843
    FT0 = floatx80_zero;
3855 3844
}
3856 3845

  
3857 3846
uint32_t helper_fnstsw(void)

Also available in: Unified diff