spitbol / x64

SPITBOL x64 provides raw power and speed for non-numeric computation on the x86_64 architecture
GNU General Public License v3.0
256 stars 23 forks source link

Segfault in C runtime due to stack not being aligned #29

Closed CheyenneWills closed 7 months ago

CheyenneWills commented 7 months ago

There is a possibility of a segfault with SSE2 instructions within the C runtime due to a misaligned stack (not on a 16byte boundary).

Ensure the stack is aligned to a 16byte boundary when transitioning from the minimal environment to the C environment.