<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eglantine-cirakg/src/video_core/macro/macro_jit_x64.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-01-16T22:39:16+00:00</updated>
<entry>
<title>[common, core] remove uneeded memory indirection overhead at startup (#3306)</title>
<updated>2026-01-16T22:39:16+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2026-01-16T22:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=83a28dc251c287888d99e045a2682a89c8cd4efe'/>
<id>urn:sha1:83a28dc251c287888d99e045a2682a89c8cd4efe</id>
<content type='text'>
for core stuff:
just remove unique ptrs that dont need any pointer stability at all (afterall its an allocation within an allocation so yeah)

for fibers:
Main reasoning behind this is because virtualBuffer&lt;&gt; is stupidly fucking expensive and it also clutters my fstat view
ALSO mmap is a syscall, syscalls are bad for performance or whatever
ALSO std::vector&lt;&gt; is better suited for handling this kind of "fixed size thing where its like big but not THAT big" (512 KiB isn't going to kill your memory usage for each fiber...)

for core.cpp stuff
- inlines stuff into std::optional&lt;&gt; as opposed to std::unique_ptr&lt;&gt; (because yknow, we are making the Impl from an unique_ptr, allocating within an allocation is unnecessary)
- reorganizes the structures a bit so padding doesnt screw us up (it's not perfect but eh saves a measly 44 bytes)
- removes unused/dead code
- uses std::vector&lt;&gt; instead of std::deque&lt;&gt;

no perf impact expected, maybe some initialisation boost but very minimal impact nonethless
lto gets rid of most calls anyways - the heavy issue is with shared_ptr and the cache coherency from the atomics... but i clumped them together because well, they kinda do not suffer from cache coherency - hopefully not a mistake

this balloons the size of Impl to about 1.67 MB - which is fine because we throw it in the stack anyways

REST OF INTERFACES: most of them ballooned in size as well, but overhead is ok since its an allocation within an alloc, no stack is used (when it comes to storing these i mean)

Signed-off-by: lizzie lizzie@eden-emu.dev
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3306
Reviewed-by: CamilleLaVey &lt;camillelavey99@gmail.com&gt;
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>[port] NetBSD and improper ctor for SpinLock fixes (#3092)</title>
<updated>2025-11-30T05:05:53+00:00</updated>
<author>
<name>lizzie</name>
<email>lizzie@eden-emu.dev</email>
</author>
<published>2025-11-30T05:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=941caf31cefce5212a562425f71cda20fbfa6c9b'/>
<id>urn:sha1:941caf31cefce5212a562425f71cda20fbfa6c9b</id>
<content type='text'>
So when libc starts it has to start at an entry point located into crt0, now most OSes will do "enough" setup to allow mprotect() and mmap() to be called in static ctors (remember they're called BEFORE main)
By some stupid miracle, NetBSD doesn't; this means that using those functions on NetBSD will result in spurious results
The reason why is still unknown to me, but this is also combined with the fact that allocating a big chunk of memory for the JIT will make NetBSD refuse to mprotect()/mmap() it in low memory situations (even when space is available); so I take the same approach as with solaris
Also I now make it so fastmem handlers are NOT registered for OSes that disabled fastmem, this is because they pollute sigsegv and makes debugging stupidier

Signed-off-by: lizzie lizzie@eden-emu.dev

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3092
Reviewed-by: Caio Oliveira &lt;caiooliveirafarias0@gmail.com&gt;
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>[meta] remove MicroProfile (#185)</title>
<updated>2025-08-06T05:48:11+00:00</updated>
<author>
<name>crueter</name>
<email>crueter@eden-emu.dev</email>
</author>
<published>2025-08-06T05:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=f1e74f6855e36807b62ee85be5db61316d87be23'/>
<id>urn:sha1:f1e74f6855e36807b62ee85be5db61316d87be23</id>
<content type='text'>
Signed-off-by: crueter &lt;crueter@eden-emu.dev&gt;
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/185
Reviewed-by: Lizzie &lt;lizzie@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>externals: Downgrade dynarmic to `ae99622` and xbyak to `0d67fd15`; modify ABI parameter handling in macro_jit_x64.cpp</title>
<updated>2025-04-04T01:23:32+00:00</updated>
<author>
<name>Briar</name>
<email>205427297+icybriarr@users.noreply.github.com</email>
</author>
<published>2025-04-02T17:39:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=4bb6e633e033454da659cbe40faaa73ca78d56aa'/>
<id>urn:sha1:4bb6e633e033454da659cbe40faaa73ca78d56aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add break for default cases</title>
<updated>2022-11-14T00:30:55+00:00</updated>
<author>
<name>Kyle Kienapfel</name>
<email>Docteh@users.noreply.github.com</email>
</author>
<published>2022-11-11T12:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=d886438754811b3529e2336464080e760d0794f8'/>
<id>urn:sha1:d886438754811b3529e2336464080e760d0794f8</id>
<content type='text'>
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.

I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw

R_THROW macro leads towards a return
</content>
</entry>
<entry>
<title>video_coare: Reimplementing the maxwell drawing trigger mechanism</title>
<updated>2022-10-21T09:09:22+00:00</updated>
<author>
<name>FengChen</name>
<email>vonchenplus@gmail.com</email>
</author>
<published>2022-10-21T07:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=8eed4e7ee5d6831ba7d788fc45d4a4bf9d1d424a'/>
<id>urn:sha1:8eed4e7ee5d6831ba7d788fc45d4a4bf9d1d424a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #9005 from liamwhite/micro-fit</title>
<updated>2022-10-05T03:08:02+00:00</updated>
<author>
<name>bunnei</name>
<email>bunneidev@gmail.com</email>
</author>
<published>2022-10-05T03:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=41651dda1ad4013685e311ec760ab4083f0f3b22'/>
<id>urn:sha1:41651dda1ad4013685e311ec760ab4083f0f3b22</id>
<content type='text'>
macro_jit_x64: cancel exit for taken branch</content>
</entry>
<entry>
<title>macro_jit_x64: fix miscompilation of bit extraction operations</title>
<updated>2022-10-02T00:31:21+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2022-10-02T00:31:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=bedaf2f959c29fa05fdce33c1f07d3324bfeb9bb'/>
<id>urn:sha1:bedaf2f959c29fa05fdce33c1f07d3324bfeb9bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>macro_jit_x64: cancel exit for taken branch</title>
<updated>2022-10-01T05:32:24+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2022-10-01T05:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=52a802abdd61681d5e92165db91ae59bab677a0b'/>
<id>urn:sha1:52a802abdd61681d5e92165db91ae59bab677a0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>general: fix compilation on MinGW GCC 12</title>
<updated>2022-06-14T00:09:32+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2022-06-12T21:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=79bf4bc3ff187271353ef2096151211d1d8e95f6'/>
<id>urn:sha1:79bf4bc3ff187271353ef2096151211d1d8e95f6</id>
<content type='text'>
</content>
</entry>
</feed>
