Skip to content

Commit 3d2d97c

Browse files
author
Jorge Aparicio
authored
Merge pull request #6 from Amanieu/readme
Clean up function list in README
2 parents 986c4aa + 326ad00 commit 3d2d97c

File tree

1 file changed

+80
-74
lines changed

1 file changed

+80
-74
lines changed

README.md

+80-74
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,14 @@ See [rust-lang/rust#35437][0].
2626

2727
## Progress
2828

29-
The intrinsics that involve quadruple precision floating point numbers ("`f128`") has been crossed
30-
off because Rust doesn't support them.
31-
3229
- [ ] absvdi2.c
3330
- [ ] absvsi2.c
3431
- [ ] absvti2.c
3532
- [ ] adddf3.c
3633
- [ ] addsf3.c
37-
- [ ] addtf3.c
3834
- [ ] addvdi3.c
3935
- [ ] addvsi3.c
4036
- [ ] addvti3.c
41-
- [ ] apple_versioning.c
4237
- [ ] arm/adddf3vfp.S
4338
- [ ] arm/addsf3vfp.S
4439
- [ ] arm/aeabi_cdcmp.S
@@ -98,27 +93,6 @@ off because Rust doesn't support them.
9893
- [ ] arm/switch32.S
9994
- [ ] arm/switch8.S
10095
- [ ] arm/switchu8.S
101-
- [ ] arm/sync_fetch_and_add_4.S
102-
- [ ] arm/sync_fetch_and_add_8.S
103-
- [ ] arm/sync_fetch_and_and_4.S
104-
- [ ] arm/sync_fetch_and_and_8.S
105-
- [ ] arm/sync_fetch_and_max_4.S
106-
- [ ] arm/sync_fetch_and_max_8.S
107-
- [ ] arm/sync_fetch_and_min_4.S
108-
- [ ] arm/sync_fetch_and_min_8.S
109-
- [ ] arm/sync_fetch_and_nand_4.S
110-
- [ ] arm/sync_fetch_and_nand_8.S
111-
- [ ] arm/sync_fetch_and_or_4.S
112-
- [ ] arm/sync_fetch_and_or_8.S
113-
- [ ] arm/sync_fetch_and_sub_4.S
114-
- [ ] arm/sync_fetch_and_sub_8.S
115-
- [ ] arm/sync_fetch_and_umax_4.S
116-
- [ ] arm/sync_fetch_and_umax_8.S
117-
- [ ] arm/sync_fetch_and_umin_4.S
118-
- [ ] arm/sync_fetch_and_umin_8.S
119-
- [ ] arm/sync_fetch_and_xor_4.S
120-
- [ ] arm/sync_fetch_and_xor_8.S
121-
- [ ] arm/sync_synchronize.S
12296
- [ ] arm/truncdfsf2vfp.S
12397
- [ ] arm/udivmodsi4.S
12498
- [ ] arm/udivsi3.S
@@ -129,45 +103,25 @@ off because Rust doesn't support them.
129103
- [ ] ashlti3.c
130104
- [ ] ashrdi3.c
131105
- [ ] ashrti3.c
132-
- [ ] atomic.c
133-
- [ ] atomic_flag_clear.c
134-
- [ ] atomic_flag_clear_explicit.c
135-
- [ ] atomic_flag_test_and_set.c
136-
- [ ] atomic_flag_test_and_set_explicit.c
137-
- [ ] atomic_signal_fence.c
138-
- [ ] atomic_thread_fence.c
139-
- [ ] clear_cache.c
140106
- [ ] clzdi2.c
141107
- [ ] clzsi2.c
142108
- [ ] clzti2.c
143109
- [ ] cmpdi2.c
144110
- [ ] cmpti2.c
145111
- [ ] comparedf2.c
146112
- [ ] comparesf2.c
147-
- [ ] comparetf2.c
148-
- [ ] cpu_model.c
149113
- [ ] ctzdi2.c
150114
- [ ] ctzsi2.c
151115
- [ ] ctzti2.c
152-
- [ ] divdc3.c
153116
- [ ] divdf3.c
154117
- [ ] divdi3.c
155118
- [ ] divmoddi4.c
156119
- [ ] divmodsi4.c
157-
- [ ] divsc3.c
158120
- [ ] divsf3.c
159121
- [ ] divsi3.c
160-
- [ ] divtc3.c
161-
- [ ] divtf3.c
162122
- [ ] divti3.c
163-
- [ ] divxc3.c
164-
- [ ] emutls.c
165-
- [ ] enable_execute_stack.c
166-
- [ ] eprintf.c
167-
- [ ] extenddftf2.c
168123
- [ ] extendhfsf2.c
169124
- [ ] extendsfdf2.c
170-
- [ ] extendsftf2.c
171125
- [ ] ffsdi2.c
172126
- [ ] ffsti2.c
173127
- [ ] fixdfdi.c
@@ -176,35 +130,24 @@ off because Rust doesn't support them.
176130
- [ ] fixsfdi.c
177131
- [ ] fixsfsi.c
178132
- [ ] fixsfti.c
179-
- [ ] fixtfdi.c
180-
- [ ] fixtfsi.c
181-
- [ ] fixtfti.c
182133
- [ ] fixunsdfdi.c
183134
- [ ] fixunsdfsi.c
184135
- [ ] fixunsdfti.c
185136
- [ ] fixunssfdi.c
186137
- [ ] fixunssfsi.c
187138
- [ ] fixunssfti.c
188-
- [ ] fixunstfdi.c
189-
- [ ] fixunstfsi.c
190-
- [ ] fixunstfti.c
191139
- [ ] floatdidf.c
192140
- [ ] floatdisf.c
193-
- [ ] floatditf.c
194141
- [ ] floatsidf.c
195142
- [ ] floatsisf.c
196-
- [ ] floatsitf.c
197143
- [ ] floattidf.c
198144
- [ ] floattisf.c
199145
- [ ] floatundidf.c
200146
- [ ] floatundisf.c
201-
- [ ] floatunditf.c
202147
- [ ] floatunsidf.c
203148
- [ ] floatunsisf.c
204-
- [ ] floatunsitf.c
205149
- [ ] floatuntidf.c
206150
- [ ] floatuntisf.c
207-
- [ ] gcc_personality_v0.c
208151
- [ ] i386/ashldi3.S
209152
- [ ] i386/ashrdi3.S
210153
- [ ] i386/chkstk.S
@@ -219,27 +162,21 @@ off because Rust doesn't support them.
219162
- [ ] i386/muldi3.S
220163
- [ ] i386/udivdi3.S
221164
- [ ] i386/umoddi3.S
222-
- [ ] int_util.c
223165
- [ ] lshrdi3.c
224166
- [ ] lshrti3.c
225167
- [ ] moddi3.c
226168
- [ ] modsi3.c
227169
- [ ] modti3.c
228-
- [ ] muldc3.c
229170
- [ ] muldf3.c
230171
- [ ] muldi3.c
231172
- [ ] mulodi4.c
232173
- [ ] mulosi4.c
233174
- [ ] muloti4.c
234-
- [ ] mulsc3.c
235175
- [ ] mulsf3.c
236-
- [ ] multc3.c
237-
- [ ] multf3.c
238176
- [ ] multi3.c
239177
- [ ] mulvdi3.c
240178
- [ ] mulvsi3.c
241179
- [ ] mulvti3.c
242-
- [ ] mulxc3.c
243180
- [ ] negdf2.c
244181
- [ ] negdi2.c
245182
- [ ] negsf2.c
@@ -255,31 +192,20 @@ off because Rust doesn't support them.
255192
- [ ] popcountti2.c
256193
- [ ] powidf2.c
257194
- [ ] powisf2.c
258-
- [ ] powitf2.c
259-
- [ ] ppc/divtc3.c
260-
- [ ] ppc/fixtfdi.c
261-
- [ ] ppc/fixunstfdi.c
262-
- [ ] ppc/floatditf.c
263-
- [ ] ppc/floatunditf.c
264195
- [ ] ppc/gcc_qadd.c
265196
- [ ] ppc/gcc_qdiv.c
266197
- [ ] ppc/gcc_qmul.c
267198
- [ ] ppc/gcc_qsub.c
268-
- [ ] ppc/multc3.c
269199
- [ ] ppc/restFP.S
270200
- [ ] ppc/saveFP.S
271201
- [ ] subdf3.c
272202
- [ ] subsf3.c
273-
- [ ] subtf3.c
274203
- [ ] subvdi3.c
275204
- [ ] subvsi3.c
276205
- [ ] subvti3.c
277-
- [ ] trampoline_setup.c
278206
- [ ] truncdfhf2.c
279207
- [ ] truncdfsf2.c
280208
- [ ] truncsfhf2.c
281-
- [ ] trunctfdf2.c
282-
- [ ] trunctfsf2.c
283209
- [ ] ucmpdi2.c
284210
- [ ] ucmpti2.c
285211
- [ ] udivdi3.c
@@ -301,21 +227,101 @@ off because Rust doesn't support them.
301227
- [x] arm/aeabi_memset.S
302228
- [x] x86_64/floatdidf.c
303229
- [x] x86_64/floatdisf.c
230+
231+
## Unimplemented functions
232+
233+
These builtins involve floating-point types ("`f128`", "`f80`" and complex numbers) that are not supported by Rust.
234+
235+
- ~~addtf3.c~~
236+
- ~~comparetf2.c~~
237+
- ~~divdc3.c~~
238+
- ~~divsc3.c~~
239+
- ~~divtc3.c~~
240+
- ~~divtf3.c~~
241+
- ~~divxc3.c~~
242+
- ~~extenddftf2.c~~
243+
- ~~extendsftf2.c~~
244+
- ~~fixtfdi.c~~
245+
- ~~fixtfsi.c~~
246+
- ~~fixtfti.c~~
247+
- ~~fixunstfdi.c~~
248+
- ~~fixunstfsi.c~~
249+
- ~~fixunstfti.c~~
304250
- ~~fixunsxfdi.c~~
305251
- ~~fixunsxfsi.c~~
306252
- ~~fixunsxfti.c~~
307253
- ~~fixxfdi.c~~
308254
- ~~fixxfti.c~~
255+
- ~~floatditf.c~~
309256
- ~~floatdixf.c~~
257+
- ~~floatsitf.c~~
310258
- ~~floattixf.c~~
259+
- ~~floatunditf.c~~
311260
- ~~floatundixf.c~~
261+
- ~~floatunsitf.c~~
312262
- ~~floatuntixf.c~~
313263
- ~~i386/floatdixf.S~~
314264
- ~~i386/floatundixf.S~~
265+
- ~~muldc3.c~~
266+
- ~~mulsc3.c~~
267+
- ~~multc3.c~~
268+
- ~~multf3.c~~
269+
- ~~mulxc3.c~~
270+
- ~~powitf2.c~~
315271
- ~~powixf2.c~~
272+
- ~~ppc/divtc3.c~~
273+
- ~~ppc/fixtfdi.c~~
274+
- ~~ppc/fixunstfdi.c~~
275+
- ~~ppc/floatditf.c~~
276+
- ~~ppc/floatunditf.c~~
277+
- ~~ppc/multc3.c~~
278+
- ~~subtf3.c~~
279+
- ~~trunctfdf2.c~~
280+
- ~~trunctfsf2.c~~
316281
- ~~x86_64/floatdixf.c~~
317282
- ~~x86_64/floatundixf.S~~
318283

284+
Rust only exposes atomic types on platforms that support them, and therefore does not need to fall back to software implementations.
285+
286+
- ~~arm/sync_fetch_and_add_4.S~~
287+
- ~~arm/sync_fetch_and_add_8.S~~
288+
- ~~arm/sync_fetch_and_and_4.S~~
289+
- ~~arm/sync_fetch_and_and_8.S~~
290+
- ~~arm/sync_fetch_and_max_4.S~~
291+
- ~~arm/sync_fetch_and_max_8.S~~
292+
- ~~arm/sync_fetch_and_min_4.S~~
293+
- ~~arm/sync_fetch_and_min_8.S~~
294+
- ~~arm/sync_fetch_and_nand_4.S~~
295+
- ~~arm/sync_fetch_and_nand_8.S~~
296+
- ~~arm/sync_fetch_and_or_4.S~~
297+
- ~~arm/sync_fetch_and_or_8.S~~
298+
- ~~arm/sync_fetch_and_sub_4.S~~
299+
- ~~arm/sync_fetch_and_sub_8.S~~
300+
- ~~arm/sync_fetch_and_umax_4.S~~
301+
- ~~arm/sync_fetch_and_umax_8.S~~
302+
- ~~arm/sync_fetch_and_umin_4.S~~
303+
- ~~arm/sync_fetch_and_umin_8.S~~
304+
- ~~arm/sync_fetch_and_xor_4.S~~
305+
- ~~arm/sync_fetch_and_xor_8.S~~
306+
- ~~arm/sync_synchronize.S~~
307+
- ~~atomic.c~~
308+
- ~~atomic_flag_clear.c~~
309+
- ~~atomic_flag_clear_explicit.c~~
310+
- ~~atomic_flag_test_and_set.c~~
311+
- ~~atomic_flag_test_and_set_explicit.c~~
312+
- ~~atomic_signal_fence.c~~
313+
- ~~atomic_thread_fence.c~~
314+
315+
Miscellaneous functionality that is not used by Rust.
316+
317+
- ~~apple_versioning.c~~
318+
- ~~clear_cache.c~~
319+
- ~~emutls.c~~
320+
- ~~enable_execute_stack.c~~
321+
- ~~eprintf.c~~
322+
- ~~gcc_personality_v0.c~~
323+
- ~~trampoline_setup.c~~
324+
319325
## License
320326

321327
Licensed under either of

0 commit comments

Comments
 (0)