@@ -296,15 +296,6 @@ mod c {
296
296
( "__truncdfhf2" , "truncdfhf2.c" ) ,
297
297
( "__truncsfhf2" , "truncsfhf2.c" ) ,
298
298
] ) ;
299
-
300
- if target_arch == "x86" || target_arch == "x86_64" {
301
- // Only add 80-bit long double sources on x86.
302
- sources. extend ( & [
303
- ( "__divxc3" , "divxc3.c" ) ,
304
- ( "__mulxc3" , "mulxc3.c" ) ,
305
- ( "__powixf2" , "powixf2.c" ) ,
306
- ] ) ;
307
- }
308
299
}
309
300
310
301
// When compiling in rustbuild (the rust-lang/rust repo) this library
@@ -356,29 +347,12 @@ mod c {
356
347
] ) ;
357
348
}
358
349
359
- if target_env == "msvc" {
360
- if target_arch == "x86_64" {
361
- sources. extend ( & [ ( "__floatdixf" , "x86_64/floatdixf.c" ) ] ) ;
362
- }
363
- } else {
364
- // None of these seem to be used on x86_64 windows, and they've all
365
- // got the wrong ABI anyway, so we want to avoid them.
366
- if target_os != "windows" {
367
- if target_arch == "x86_64" {
368
- sources. extend ( & [
369
- ( "__floatdixf" , "x86_64/floatdixf.c" ) ,
370
- ( "__floatundixf" , "x86_64/floatundixf.S" ) ,
371
- ] ) ;
372
- }
373
- }
374
-
350
+ if target_env != "msvc" {
375
351
if target_arch == "x86" {
376
352
sources. extend ( & [
377
353
( "__ashldi3" , "i386/ashldi3.S" ) ,
378
354
( "__ashrdi3" , "i386/ashrdi3.S" ) ,
379
355
( "__divdi3" , "i386/divdi3.S" ) ,
380
- ( "__floatdixf" , "i386/floatdixf.S" ) ,
381
- ( "__floatundixf" , "i386/floatundixf.S" ) ,
382
356
( "__lshrdi3" , "i386/lshrdi3.S" ) ,
383
357
( "__moddi3" , "i386/moddi3.S" ) ,
384
358
( "__muldi3" , "i386/muldi3.S" ) ,
0 commit comments