Page 2 of 2

Re: Full C++ Support

Posted: Wed Nov 14, 2018 3:03 pm
by midonator1305
I did enable SSE, SSE2 and MMX so I can build a faster memcpy

as many of you predicted the stack was infact misaligned #-o

Nasm does not seem to accept "equ" constants when aligning as when I replaced

Code: Select all

align STACK_ALIGN
with

Code: Select all

align 16
everything worked

I did try the "-mgeneral-regs-only" flag but my implementation of printf requires SSE registers.
I should defiantly change that.

someone should probably update the wiki (I don't know how)

But everything works now!
Thanks for the help everyone!