OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Nov 22, 2017 1:56 pm

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: 142
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 1228 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: 649
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: 526
Location: Victoria, Canada
Yeah, this isn't Windows 10, this is your code being so against the ABI I'm surprised it didn't break earlier.

_________________
The good thing about Unix is when it screws up, it does so very quickly.


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: 142
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: 142
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 7 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