OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 7:32 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Full C++ Support
PostPosted: Wed Nov 14, 2018 3:03 pm 
Offline

Joined: Mon Oct 08, 2018 11:47 am
Posts: 7
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:
align STACK_ALIGN
with
Code:
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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 145 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group