e3d5ca8419
This adds support for x86-64 dynarec both on Windows and Linux. Since they have different requirements there's some macro magic in the stubs file. This also fixes x86 support in some cases: stack alignment requirements where violated all over. This allows the usage of clang as a compiler (which has a tendency to use SSE instructions more often than gcc does). To support this I also reworked the mmap/VirtualAlloc magic to make sure JIT arena stays close to .text. Fixed some other minor issues and removed some unnecessary JIT code here and there. clang tends to do some (wrong?) assumptions about global symbols alignment. |
||
---|---|---|
.. | ||
x86_emit.h | ||
x86_stub.S |