Added __faststorefence() MSVC intrinsic (required e.g. by sqlite3).
This commit is contained in:
parent
e3a0eb5089
commit
c4a2c52411
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue