OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 2:01 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: MOVAPS fails, after upgrading to win10.
PostPosted: Fri Sep 23, 2016 10:35 pm 
Offline
Member
Member

Joined: Mon Feb 12, 2007 4:45 am
Posts: 146
My app works fine on win7, but not on win10.

movaps needs 16bytes alignment. Is it ntdll.dll bug?

Attachment:
untitled_.png
untitled_.png [ 17.08 KiB | Viewed 3083 times ]


Top
 Profile  
 
 Post subject: Re: MOVAPS fails, after upgrading to win10.
PostPosted: Sat Sep 24, 2016 1:53 pm 
Offline
Member
Member

Joined: Sat Nov 21, 2009 5:11 pm
Posts: 852
Then it is time to upgrade your application as well. You can start by fixing your messed up stack alignment.


Top
 Profile  
 
 Post subject: Re: MOVAPS fails, after upgrading to win10.
PostPosted: Sun Sep 25, 2016 12:42 am 
Offline
Member
Member
User avatar

Joined: Wed Jul 13, 2011 7:38 pm
Posts: 558
Yeah, this isn't Windows 10, this is your code being so against the ABI I'm surprised it didn't break earlier.


Top
 Profile  
 
 Post subject: Re: MOVAPS fails, after upgrading to win10.
PostPosted: Sun Sep 25, 2016 9:18 pm 
Offline
Member
Member

Joined: Mon Feb 12, 2007 4:45 am
Posts: 146
Bug fixed, many Thank!

The stack has to be aligned before calling any windows functions.


Top
 Profile  
 
 Post subject: Re: MOVAPS fails, after upgrading to win10.
PostPosted: Tue Sep 27, 2016 1:08 am 
Offline
Member
Member

Joined: Mon Feb 12, 2007 4:45 am
Posts: 146
What's the best instruction sequence to make an offset aligned(16)?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 24 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group