<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eglantine-cirakg/src/common/x64/cpu_wait.cpp, branch nx2</title>
<subtitle>Mirror of github.com/cira0100/Eglantine-public nx2, a fork of Djihads80/Eglantine.</subtitle>
<id>https://git.cirakg.xyz/eglantine-cirakg/atom?h=nx2</id>
<link rel='self' href='https://git.cirakg.xyz/eglantine-cirakg/atom?h=nx2'/>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/'/>
<updated>2026-05-30T19:59:10+00:00</updated>
<entry>
<title>[core/core_timing] better MWAITX and WAITPKG delays (#3984)</title>
<updated>2026-05-30T19:59:10+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2026-05-30T19:59:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=7c32cf03a1ce2a88b5bda041a5aebc8405fe634d'/>
<id>urn:sha1:7c32cf03a1ce2a88b5bda041a5aebc8405fe634d</id>
<content type='text'>
This implements MWAITX and WAITPKG extensions (umonitor, mwait) for CPUs that support them.

Reduces wait times and bypasses the timing stuff from the OS that is slow (windows notably). generally it should answer within 0.2 to 0.5 microsecs (since most requests wait for that long).

Also does a general rework of static ctors and stuff

Signed-off-by: lizzie &lt;lizzie@eden-emu.dev&gt;
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3984
Reviewed-by: MaranBr &lt;maranbr@eden-emu.dev&gt;
Reviewed-by: crueter &lt;crueter@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>[windows] Return x86 microsleep for Windows (#3563)</title>
<updated>2026-02-17T05:15:45+00:00</updated>
<author>
<name>John</name>
<email>john@eden-emu.dev</email>
</author>
<published>2026-02-17T05:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=5fb3ae487cbf80d2a0c16ba2993f35eeebe9d115'/>
<id>urn:sha1:5fb3ae487cbf80d2a0c16ba2993f35eeebe9d115</id>
<content type='text'>
Microsleep removal may have regressed AOC in msvc

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3563
Reviewed-by: CamilleLaVey &lt;camillelavey99@gmail.com&gt;
Reviewed-by: Lizzie &lt;lizzie@eden-emu.dev&gt;
Co-authored-by: John &lt;john@eden-emu.dev&gt;
Co-committed-by: John &lt;john@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>[core, windows] remove microSleep() and simply wait on events like on linux (#3498)</title>
<updated>2026-02-09T00:14:32+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2026-02-09T00:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=a56b8d3de8af670fb1d8c70211ca5275c1aa4c52'/>
<id>urn:sha1:a56b8d3de8af670fb1d8c70211ca5275c1aa4c52</id>
<content type='text'>
we shall see if the original code was put there for a reason

or if the microsleeps actually are horrid

Signed-off-by: lizzie &lt;lizzie@eden-emu.dev&gt;

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3498
Reviewed-by: CamilleLaVey &lt;camillelavey99@gmail.com&gt;
Co-authored-by: lizzie &lt;lizzie@eden-emu.dev&gt;
Co-committed-by: lizzie &lt;lizzie@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>[meta] fix license headers (#2547)</title>
<updated>2025-09-21T19:58:59+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2025-09-21T19:58:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=191e4c75a16aa56451f72b371b4e15717c4a7022'/>
<id>urn:sha1:191e4c75a16aa56451f72b371b4e15717c4a7022</id>
<content type='text'>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547
Reviewed-by: MaranBr &lt;maranbr@eden-emu.dev&gt;
Co-authored-by: lizzie &lt;lizzie@eden-emu.dev&gt;
Co-committed-by: lizzie &lt;lizzie@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>[cmake] enable clang-cl and WoA builds (#348)</title>
<updated>2025-09-09T18:47:49+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2025-09-09T18:47:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=9d2681ecc9565681db623fb71799e76381998512'/>
<id>urn:sha1:9d2681ecc9565681db623fb71799e76381998512</id>
<content type='text'>
Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64.

Compiling on clang is *dramatically* faster so this should be useful for CI.

Co-authored-by: crueter &lt;crueter@eden-emu.dev&gt;
Co-authored-by: crueter &lt;crueter@crueter.xyz&gt;
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348
Reviewed-by: CamilleLaVey &lt;camillelavey99@gmail.com&gt;
Reviewed-by: crueter &lt;crueter@eden-emu.dev&gt;
Co-authored-by: lizzie &lt;lizzie@eden-emu.dev&gt;
Co-committed-by: lizzie &lt;lizzie@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>x64: cpu_wait: Implement MWAITX for non-MSVC compilers</title>
<updated>2023-06-28T05:39:15+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-06-28T05:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=037e683b94cfec4533118c9e05f98f6499dc973a'/>
<id>urn:sha1:037e683b94cfec4533118c9e05f98f6499dc973a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>x64: cpu_wait: Remove magic values</title>
<updated>2023-06-28T05:39:06+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-06-28T05:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=88efcaf44e19fa6de3a00c569d521b43b4422f8a'/>
<id>urn:sha1:88efcaf44e19fa6de3a00c569d521b43b4422f8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>x64: cpu_wait: Make use of MWAITX in MicroSleep</title>
<updated>2023-06-28T05:38:55+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-06-28T05:07:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=cffefaf8a79884d8d44def727c8576a0c0ae87bb'/>
<id>urn:sha1:cffefaf8a79884d8d44def727c8576a0c0ae87bb</id>
<content type='text'>
MWAITX is equivalent to UMWAIT on Intel's Alder Lake CPUs.
We can emulate TPAUSE by using MONITORX in conjunction with MWAITX to wait for 100K cycles.
</content>
</entry>
<entry>
<title>x64: Deduplicate RDTSC usage</title>
<updated>2023-06-08T01:44:42+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-04-23T02:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=728048edfe49729ff6c152da3a9490b1884b15be'/>
<id>urn:sha1:728048edfe49729ff6c152da3a9490b1884b15be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>x64: Simplify RDTSC on non-MSVC compilers</title>
<updated>2023-03-27T21:45:22+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-03-22T20:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=fa3904acd9d01b9a9e2f7d94cf307faaf3938350'/>
<id>urn:sha1:fa3904acd9d01b9a9e2f7d94cf307faaf3938350</id>
<content type='text'>
Co-Authored-By: liamwhite &lt;liamwhite@users.noreply.github.com&gt;
</content>
</entry>
</feed>
