Commit 7ca68a86 authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

winedump: Fix the dumping of arm64 packed float restoration.

This previously dumped one register pair too few. Signed-off-by: 's avatarMartin Storsjo <martin@martin.st> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 84f89605
......@@ -1412,7 +1412,7 @@ static void dump_arm64_packed_info( const struct runtime_function_arm64 *func )
{
if (func->u.s.RegF % 2 == 0)
printf( " %04x: str d%u,[sp,#%#x]\n", pos++, 8 + func->u.s.RegF, intsz + fpsz - 8 );
for (i = func->u.s.RegF / 2 - 1; i >= 0; i--)
for (i = (func->u.s.RegF - 1)/ 2; i >= 0; i--)
{
if (!i && !intsz)
printf( " %04x: stp d8,d9,[sp,-#%#x]!\n", pos++, savesz );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment