History

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

Tyge Løvset committed 5 years ago

Commit c4a2c521 parent e3a0eb51 file · +8 −0Browse files

Showing the changes to lib (1 of 1 file). Show all

Unified · Split

lib/libtcc1.c+8−0
@@ -631,3 +631,11 @@ long long __fixxfdi (long double a1) · 630 unmodified lines
631const float __mzerosf = -0.0;631const float __mzerosf = -0.0;
632const double __mzerodf = -0.0;632const double __mzerodf = -0.0;
633#endif633#endif
634
635#if defined _WIN64
636/* MSVC x64 intrinsic */
637void __faststorefence(void)
638{
639 __asm__("lock; orl $0,(%rsp)");
640}
641#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t