We currently perform various min-entropy calculations using build-time floating-point arithmetic. No floating-point code ends up in the final binary, since the results are eventually converted to integers and asserted to be compile-time constants. Though this mechanism is undoubtedly cute, it inhibits us from using "-mno-sse" to prevent the use of SSE registers by the compiler. Fix by using fixed-point arithmetic instead. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
|
|
25 |
|
|
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
|
||
38 | 38 |
|
39 | 39 |
|
40 | 40 |
|
41 |
|
|
41 |
|
|
42 | 42 |
|
43 | 43 |
|
44 | 44 |
|
|
||
70 | 70 |
|
71 | 71 |
|
72 | 72 |
|
73 |
|
|
73 |
|
|
74 |
|
|
74 | 75 |
|
75 | 76 |
|
76 | 77 |
|
|
||
237 | 238 |
|
238 | 239 |
|
239 | 240 |
|
240 |
|
|
241 |
|
|
241 | 242 |
|
242 | 243 |
|
243 | 244 |
|
|
||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
|
|
25 |
|
|
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
31 | 31 |
|
32 |
|
|
32 |
|
|
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
|
||
52 | 52 |
|
53 | 53 |
|
54 | 54 |
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
55 | 74 |
|
56 | 75 |
|
57 | 76 |
|
|
||
87 | 106 |
|
88 | 107 |
|
89 | 108 |
|
90 |
|
|
109 |
|
|
91 | 110 |
|
92 | 111 |
|
93 | 112 |
|
|
||
142 | 161 |
|
143 | 162 |
|
144 | 163 |
|
145 |
|
|
164 |
|
|
146 | 165 |
|
147 | 166 |
|
148 | 167 |
|
|
||
151 | 170 |
|
152 | 171 |
|
153 | 172 |
|
154 |
|
|
173 |
|
|
174 |
|
|
155 | 175 |
|
156 | 176 |
|
157 | 177 |
|
|
||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
|
|
23 |
|
|
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
|
||
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
31 |
|
|
31 |
|
|
32 | 32 |
|
33 | 33 |
|
34 | 34 |
|
|
||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
|
|
33 |
|
|
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 | 37 |
|
38 | 38 |
|
39 | 39 |
|
40 |
|
|
40 |
|
|
41 | 41 |
|
42 | 42 |
|
43 | 43 |
|