Revision a1d8db07 target-i386/op_helper.c
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