Commit c4a2c524 authored by Tyge Løvset's avatar Tyge Løvset
Browse files

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

parent e3a0eb50
......@@ -631,3 +631,11 @@ long long __fixxfdi (long double a1)
const float __mzerosf = -0.0;
const double __mzerodf = -0.0;
#if defined _WIN64
/* MSVC x64 intrinsic */
void __faststorefence(void)
__asm__("lock; orl $0,(%rsp)");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment