Page 1 of 1
MOVAPS fails, after upgrading to win10.
Posted: Fri Sep 23, 2016 10:35 pm
by blackoil
My app works fine on win7, but not on win10.
movaps needs 16bytes alignment. Is it ntdll.dll bug?
Re: MOVAPS fails, after upgrading to win10.
Posted: Sat Sep 24, 2016 1:53 pm
by Gigasoft
Then it is time to upgrade your application as well. You can start by fixing your messed up stack alignment.
Re: MOVAPS fails, after upgrading to win10.
Posted: Sun Sep 25, 2016 12:42 am
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.
Re: MOVAPS fails, after upgrading to win10.
Posted: Sun Sep 25, 2016 9:18 pm
by blackoil
Bug fixed, many Thank!
The stack has to be aligned before calling any windows functions.
Re: MOVAPS fails, after upgrading to win10.
Posted: Tue Sep 27, 2016 1:08 am
by blackoil
What's the best instruction sequence to make an offset aligned(16)?