From 3e77e619148e8bc084415835a7ba7eddb9b9f9a0 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Mon, 19 Aug 2024 08:02:35 +0100 Subject: [PATCH] [*] As I said, blame clang and gcc devs for being retarded cunts. // Even if clang (and gcc) has these intrins available, you must enable them globally, unlike see for some fucking reason. // I mean, we can do runtime branching around SSE4 paths no problem. Why all of a sudden am i being gated out of the intrins im electing to use by hand? // No, you (the compiler) may not use these in your baseline feature set (or incl in stl locks). Yes, i still want them. Now fuck off. // If these end up being wrong, blame clang and gnu for being cunts, not me. No, I will not raise our requirements above ivybridge; no, I will not expose feature macros to the STL (et al) that boosts our requirements to modern intelaviv slop and amd atomic ackers --- Source/Threading/Primitives/SMTYield.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Threading/Primitives/SMTYield.hpp b/Source/Threading/Primitives/SMTYield.hpp index d82f7675..de772458 100644 --- a/Source/Threading/Primitives/SMTYield.hpp +++ b/Source/Threading/Primitives/SMTYield.hpp @@ -77,7 +77,7 @@ static auline unsigned char __tpause(unsigned int __control, unsigned long long __asm__ volatile(".byte 0x66, 0x0F, 0xAE, 0xF1\n" "setb %0" : "=r"(flag) - : "a"(uTimeHi), + : "a"(uTimeLo), "d"(uTimeHi), "c"(__control) : );