|
From: <sv...@va...> - 2013-07-17 08:52:07
|
dejanj 2013-07-17 09:51:53 +0100 (Wed, 17 Jul 2013)
New Revision: 13455
Log:
mips64: Correct the value for the VG_MIN_MALLOC_SZB
The VG_MIN_MALLOC_SZB was incorrectly defined for MIPS64.
The incorrect value was 8 and the correct value is 16.
Fixes massif/tests/big-alloc for MIPS64.
Modified files:
trunk/coregrind/pub_core_mallocfree.h
Modified: trunk/coregrind/pub_core_mallocfree.h (+7 -7)
===================================================================
--- trunk/coregrind/pub_core_mallocfree.h 2013-07-16 16:25:46 +01:00 (rev 13454)
+++ trunk/coregrind/pub_core_mallocfree.h 2013-07-17 09:51:53 +01:00 (rev 13455)
@@ -71,18 +71,18 @@
// greater than 8.
#if defined(VGP_x86_linux) || \
defined(VGP_arm_linux) || \
- defined(VGP_mips32_linux) || \
- defined(VGP_mips64_linux)
+ defined(VGP_mips32_linux)
# define VG_MIN_MALLOC_SZB 8
// Nb: We always use 16 bytes for Darwin, even on 32-bits, so it can be used
// for any AltiVec- or SSE-related type. This matches the Darwin libc.
// Also, use 16 bytes for any PPC variant, since 16 is required to make
// Altiveccery work right.
-#elif defined(VGP_amd64_linux) || \
- defined(VGP_ppc32_linux) || \
- defined(VGP_ppc64_linux) || \
- defined(VGP_s390x_linux) || \
- defined(VGP_x86_darwin) || \
+#elif defined(VGP_amd64_linux) || \
+ defined(VGP_ppc32_linux) || \
+ defined(VGP_ppc64_linux) || \
+ defined(VGP_s390x_linux) || \
+ defined(VGP_mips64_linux) || \
+ defined(VGP_x86_darwin) || \
defined(VGP_amd64_darwin)
# define VG_MIN_MALLOC_SZB 16
#else
|