Revision a1d8db07

b/target-i386/exec.h
124 124
#define floatx_is_any_nan floatx80_is_any_nan
125 125
#define floatx_is_neg floatx80_is_neg
126 126
#define floatx_is_zero floatx80_is_zero
127
#define floatx_zero floatx80_zero
128
#define floatx_one floatx80_one
129
#define floatx_ln2 floatx80_ln2
130
#define floatx_pi floatx80_pi
127 131
#else
128 132
#define floatx_to_int32 float64_to_int32
129 133
#define floatx_to_int64 float64_to_int64
......
149 153
#define floatx_is_any_nan float64_is_any_nan
150 154
#define floatx_is_neg float64_is_neg
151 155
#define floatx_is_zero float64_is_zero
156
#define floatx_zero float64_zero
157
#define floatx_one float64_one
158
#define floatx_ln2 float64_ln2
159
#define floatx_pi float64_pi
152 160
#endif
153 161

  
154 162
#define RC_MASK         0xc00
b/target-i386/op_helper.c
95 95
    6, 7, 8, 0, 1, 2, 3, 4,
96 96
};
97 97

  
98
#if defined(CONFIG_SOFTFLOAT)
99
# define floatx_lg2 make_floatx80( 0x3ffd, 0x9a209a84fbcff799LL )
100
# define floatx_l2e make_floatx80( 0x3fff, 0xb8aa3b295c17f0bcLL )
101
# define floatx_l2t make_floatx80( 0x4000, 0xd49a784bcd1b8afeLL )
102
#else
103
# define floatx_lg2 (0.30102999566398119523L)
104
# define floatx_l2e (1.44269504088896340739L)
105
# define floatx_l2t (3.32192809488736234781L)
106
#endif
107

  
98 108
static const CPU86_LDouble f15rk[7] =
99 109
{
100
    0.00000000000000000000L,
101
    1.00000000000000000000L,
102
    3.14159265358979323851L,  /*pi*/
103
    0.30102999566398119523L,  /*lg2*/
104
    0.69314718055994530943L,  /*ln2*/
105
    1.44269504088896340739L,  /*l2e*/
106
    3.32192809488736234781L,  /*l2t*/
110
    floatx_zero,
111
    floatx_one,
112
    floatx_pi,
113
    floatx_lg2,
114
    floatx_ln2,
115
    floatx_l2e,
116
    floatx_l2t,
107 117
};
108 118

  
109 119
/* broken thread support */

Also available in: Unified diff