mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 09:50:28 +00:00
undo incorrect replacements
This commit is contained in:
parent
f0e8f7dcd0
commit
115f86ed26
5 changed files with 6 additions and 6 deletions
2
third_party/compiler_rt/extendhfsf2.c
vendored
2
third_party/compiler_rt/extendhfsf2.c
vendored
|
@ -15,7 +15,7 @@ STATIC_YOINK("huge_compiler_rt_license");
|
|||
#define DST_SINGLE
|
||||
#include "third_party/compiler_rt/fp_extend_impl.inc"
|
||||
|
||||
// Use a forwarding definition and dontinline to implement a poor man's alias,
|
||||
// Use a forwarding definition and noinline to implement a poor man's alias,
|
||||
// as there isn't a good cross-platform way of defining one.
|
||||
COMPILER_RT_ABI __attribute__((__noinline__)) float __extendhfsf2(uint16_t a) {
|
||||
return __extendXfYf2__(a);
|
||||
|
|
2
third_party/compiler_rt/truncsfhf2.c
vendored
2
third_party/compiler_rt/truncsfhf2.c
vendored
|
@ -14,7 +14,7 @@ STATIC_YOINK("huge_compiler_rt_license");
|
|||
#define DST_HALF
|
||||
#include "third_party/compiler_rt/fp_trunc_impl.inc"
|
||||
|
||||
// Use a forwarding definition and dontinline to implement a poor man's alias,
|
||||
// Use a forwarding definition and noinline to implement a poor man's alias,
|
||||
// as there isn't a good cross-platform way of defining one.
|
||||
COMPILER_RT_ABI __attribute__((__noinline__)) uint16_t __truncsfhf2(float a) {
|
||||
return __truncXfYf2__(a);
|
||||
|
|
4
third_party/python/Include/pymath.h
vendored
4
third_party/python/Include/pymath.h
vendored
|
@ -164,9 +164,9 @@ void _Py_set_387controlword(unsigned short);
|
|||
#pragma float_control(precise, on)
|
||||
#pragma float_control(except, on)
|
||||
#if defined(_MSC_VER)
|
||||
__declspec(dontinline)
|
||||
__declspec(noinline)
|
||||
#else /* Linux */
|
||||
__attribute__((dontinline))
|
||||
__attribute__((noinline))
|
||||
#endif /* _MSC_VER */
|
||||
static double __icc_nan() {
|
||||
return sqrt(-1.0);
|
||||
|
|
2
third_party/sqlite3/json1.c
vendored
2
third_party/sqlite3/json1.c
vendored
|
@ -720,7 +720,7 @@ static int jsonParseAddNode(JsonParse*,u32,u32,const char*);
|
|||
#if defined(__GNUC__)
|
||||
#define JSON_NOINLINE __attribute__((__noinline__))
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1310
|
||||
#define JSON_NOINLINE __declspec(dontinline)
|
||||
#define JSON_NOINLINE __declspec(noinline)
|
||||
#else
|
||||
# define JSON_NOINLINE
|
||||
#endif
|
||||
|
|
2
third_party/sqlite3/sqliteInt.inc
vendored
2
third_party/sqlite3/sqliteInt.inc
vendored
|
@ -242,7 +242,7 @@
|
|||
#if defined(__GNUC__)
|
||||
#define SQLITE_NOINLINE __attribute__((__noinline__))
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1310
|
||||
#define SQLITE_NOINLINE __declspec(dontinline)
|
||||
#define SQLITE_NOINLINE __declspec(noinline)
|
||||
#else
|
||||
# define SQLITE_NOINLINE
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue