mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-26 03:50:07 +08:00
Added __faststorefence() MSVC intrinsic (required e.g. by sqlite3).
This commit is contained in:
parent
e3a0eb5089
commit
c4a2c52411
@ -631,3 +631,11 @@ long long __fixxfdi (long double a1)
|
||||
const float __mzerosf = -0.0;
|
||||
const double __mzerodf = -0.0;
|
||||
#endif
|
||||
|
||||
#if defined _WIN64
|
||||
/* MSVC x64 intrinsic */
|
||||
void __faststorefence(void)
|
||||
{
|
||||
__asm__("lock; orl $0,(%rsp)");
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user