<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eglantine-cirakg/src/common/x64/cpu_detect.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>[common/cpu_detect] Remove SSE/SSE2/FMA4/AVX_VNNI detection (#3979)</title>
<updated>2026-05-20T17:11:09+00:00</updated>
<author>
<name>RedBlackAka</name>
<email>redblackaka@eden-emu.dev</email>
</author>
<published>2026-05-20T17:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=2a66b40267db6ebcea0cd36a7111abcf85af876f'/>
<id>urn:sha1:2a66b40267db6ebcea0cd36a7111abcf85af876f</id>
<content type='text'>
Removes Eden's own feature detection for SSE, SSE2, FMA4 and AVX_VNNI, in order to clean up code and make the function slightly lighter. They are all unused and I have specific reasons for their removal:
- SSE/SSE2 are always true for x64
- FMA4 is a deprecated AMD exclusive extension, replaced by the regular FMA and was logged here as "FMA" for no reason
- AVX_VNNI simply does not seem applicable for Eden (but can still be checked for through Xbyak's feature detection if necessary)

Co-authored-by: RedBlackAka &lt;140876408+RedBlackAka@users.noreply.github.com&gt;
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3979
Reviewed-by: Lizzie &lt;lizzie@eden-emu.dev&gt;
Reviewed-by: crueter &lt;crueter@eden-emu.dev&gt;
Reviewed-by: MaranBr &lt;maranbr@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>[common/logging] Simplify logging logic and fix issues when logging before system is created (#3688)</title>
<updated>2026-03-12T17:29:15+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2026-03-12T17:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=395613b01f918b559f0a3b1718c78f81987c49d4'/>
<id>urn:sha1:395613b01f918b559f0a3b1718c78f81987c49d4</id>
<content type='text'>
- our logging code was bigger than spdlog itself, why???? just keep it simple
- fix issues when logging before logging system is even started
- removes the "initialized logging twice" issue
- removes uneeded indirection in file logging
- uses direct formatting instead of jumping hoopla-around the fmt::format() ressult
- code duplication and dead code removal as usual

I did explore dup2() but I think it's not worth the hassle
I did try `fwopen()` but it's better if things are just kept as-is.

there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file

now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING

Signed-off-by: lizzie &lt;lizzie@eden-emu.dev&gt;
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688
Reviewed-by: crueter &lt;crueter@eden-emu.dev&gt;
Reviewed-by: DraVee &lt;chimera@dravee.dev&gt;
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>x64: Add detection of monitorx instructions</title>
<updated>2023-06-28T05:36:06+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2023-06-28T05:07:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=841a3559a5e71cbdb0647b8296b89712b535a09e'/>
<id>urn:sha1:841a3559a5e71cbdb0647b8296b89712b535a09e</id>
<content type='text'>
monitorx introduces 2 instructions: MONITORX and MWAITX.
</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: cpu_detect: Add detection of waitpkg instructions</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-22T01:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=95adf299e4a9706c657627735f6e40fb3dafd729'/>
<id>urn:sha1:95adf299e4a9706c657627735f6e40fb3dafd729</id>
<content type='text'>
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
</content>
</entry>
<entry>
<title>Add CPU core count to log files</title>
<updated>2022-11-12T02:50:48+00:00</updated>
<author>
<name>Matías Locatti</name>
<email>matias.locatti@gmail.com</email>
</author>
<published>2022-11-11T08:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=6b465c859b5e0c42dde7e77d1b4502d2c04bfcd1'/>
<id>urn:sha1:6b465c859b5e0c42dde7e77d1b4502d2c04bfcd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>guard against div-by-zero</title>
<updated>2022-07-06T18:00:00+00:00</updated>
<author>
<name>Marshall Mohror</name>
<email>mohror64@gmail.com</email>
</author>
<published>2022-07-06T18:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=cbadd75878003e854f8f96ed47fc82efe49933b6'/>
<id>urn:sha1:cbadd75878003e854f8f96ed47fc82efe49933b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>common/x64: Use TSC clock rate from CPUID when available</title>
<updated>2022-07-06T17:42:01+00:00</updated>
<author>
<name>Marshall Mohror</name>
<email>mohror64@gmail.com</email>
</author>
<published>2022-07-06T17:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=b37f669584455dac5ccd108eaab0facd6686e385'/>
<id>urn:sha1:b37f669584455dac5ccd108eaab0facd6686e385</id>
<content type='text'>
The current method used to estimate the TSC is fairly accurate - within a few kHz - but the exact value can be extracted from CPUID if available.
</content>
</entry>
<entry>
<title>general: Convert source file copyright comments over to SPDX</title>
<updated>2022-04-23T09:55:32+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2022-04-23T08:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=2b87305d319f0bd04da36fb96314934f37b12637'/>
<id>urn:sha1:2b87305d319f0bd04da36fb96314934f37b12637</id>
<content type='text'>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</content>
</entry>
</feed>
