Initial import
This commit is contained in:
19
third_party/compiler_rt/nexgen32e/floatdidf.c
vendored
Normal file
19
third_party/compiler_rt/nexgen32e/floatdidf.c
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/* clang-format off */
|
||||
/* This file is distributed under the University of Illinois Open Source
|
||||
* License. See LICENSE.TXT for details.
|
||||
*/
|
||||
|
||||
STATIC_YOINK("huge_compiler_rt_license");
|
||||
|
||||
/* double __floatdidf(di_int a); */
|
||||
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
|
||||
#include "third_party/compiler_rt/int_lib.h"
|
||||
|
||||
double __floatdidf(int64_t a)
|
||||
{
|
||||
return (double)a;
|
||||
}
|
||||
|
||||
#endif /* __x86_64__ */
|
||||
Reference in New Issue
Block a user