|
From: <sv...@va...> - 2010-09-05 12:10:41
|
Author: bart
Date: 2010-09-05 13:10:25 +0100 (Sun, 05 Sep 2010)
New Revision: 11340
Log:
Fixed an AMD64 bug reported by Evgeniy Stepanov: the order of
VALGRIND_CALL_NOREDIR_RAX and addq $128,%%rsp was wrong in CALL_FN_W_6W().
See also #243270.
Modified:
trunk/include/valgrind.h
Modified: trunk/include/valgrind.h
===================================================================
--- trunk/include/valgrind.h 2010-09-04 00:43:14 UTC (rev 11339)
+++ trunk/include/valgrind.h 2010-09-05 12:10:25 UTC (rev 11340)
@@ -1366,8 +1366,8 @@
"movq 16(%%rax), %%rsi\n\t" \
"movq 8(%%rax), %%rdi\n\t" \
"movq (%%rax), %%rax\n\t" /* target->%rax */ \
+ VALGRIND_CALL_NOREDIR_RAX \
"addq $128,%%rsp\n\t" \
- VALGRIND_CALL_NOREDIR_RAX \
: /*out*/ "=a" (_res) \
: /*in*/ "a" (&_argvec[0]) \
: /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \
|