提交 c4a2c524 编辑于 作者: Tyge Løvset's avatar Tyge Løvset
浏览文件

Added __faststorefence() MSVC intrinsic (required e.g. by sqlite3).

上级 e3a0eb50
......@@ -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
Supports Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册