MOVAPS fails, after upgrading to win10.

Programming, for all ages and all languages.
Post Reply
blackoil
Member
Member
Posts: 146
Joined: Mon Feb 12, 2007 4:45 am

MOVAPS fails, after upgrading to win10.

Post by blackoil »

My app works fine on win7, but not on win10.

movaps needs 16bytes alignment. Is it ntdll.dll bug?
untitled_.png
Gigasoft
Member
Member
Posts: 855
Joined: Sat Nov 21, 2009 5:11 pm

Re: MOVAPS fails, after upgrading to win10.

Post by Gigasoft »

Then it is time to upgrade your application as well. You can start by fixing your messed up stack alignment.
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: MOVAPS fails, after upgrading to win10.

Post by Kazinsal »

Yeah, this isn't Windows 10, this is your code being so against the ABI I'm surprised it didn't break earlier.
blackoil
Member
Member
Posts: 146
Joined: Mon Feb 12, 2007 4:45 am

Re: MOVAPS fails, after upgrading to win10.

Post by blackoil »

Bug fixed, many Thank!

The stack has to be aligned before calling any windows functions.
blackoil
Member
Member
Posts: 146
Joined: Mon Feb 12, 2007 4:45 am

Re: MOVAPS fails, after upgrading to win10.

Post by blackoil »

What's the best instruction sequence to make an offset aligned(16)?
Post Reply