You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(5) |
2
(4) |
3
(8) |
4
(11) |
5
(23) |
|
6
(14) |
7
(17) |
8
(10) |
9
(8) |
10
(13) |
11
(10) |
12
(15) |
|
13
(12) |
14
(8) |
15
(15) |
16
(10) |
17
(19) |
18
(10) |
19
(5) |
|
20
(9) |
21
(8) |
22
(7) |
23
(4) |
24
(15) |
25
(6) |
26
(11) |
|
27
(5) |
28
(11) |
29
(9) |
30
(9) |
31
(4) |
|
|
|
From: Philippe W. <phi...@sk...> - 2011-03-06 23:50:26
|
> Are you sure your analysis is correct even in the case where the
> program is buggy and is doing stupid stuff like wr-unlock of a
> rd-lock, or vice versa? I think your analysis is correct in the
> case of a correct program.
Some lines above, there is a consistency check done between
the lock kind and the unlock operation:
if (isRDWR && lock->kind != LK_rdwr) {
HG_(record_error_Misc)( thr, "pthread_rwlock_unlock with a "
"pthread_mutex_t* argument " );
}
if ((!isRDWR) && lock->kind == LK_rdwr) {
HG_(record_error_Misc)( thr, "pthread_mutex_unlock with a "
"pthread_rwlock_t* argument " );
}
So, at least, I believe such buggy behaviour will be reported.
>
> Probably I was being conservative. AFAIK this piece of code is
> not performance critical, so I prefer to be conservative rather
> than prove that the improved version is correct even when the
> program being run is buggy.
Looks reasonable to me.
It would be worth adding a small comment to explain this in the
code so as to not surprise (future) readers.
Alternatively, an assert that the write lockset before and after
are the same in case of !isRDWR (this will just be a pointer comparison
if I have properly understood the laog data structures).
Another assert can be done just above : the lockset should not be
equal (again, it will be a pointer comparison I believe).
Philippe
|
|
From: <sv...@va...> - 2011-03-06 17:37:12
|
Author: bart
Date: 2011-03-06 17:37:04 +0000 (Sun, 06 Mar 2011)
New Revision: 11603
Log:
DRD/Darwin: Generalized a suppression pattern.
Modified:
trunk/darwin10-drd.supp
Modified: trunk/darwin10-drd.supp
===================================================================
--- trunk/darwin10-drd.supp 2011-03-06 17:28:16 UTC (rev 11602)
+++ trunk/darwin10-drd.supp 2011-03-06 17:37:04 UTC (rev 11603)
@@ -7,7 +7,7 @@
dyld_mutex_not_locked
drd:MutexErr
fun:pthread_mutex_unlock
- fun:_dyld_register_func_for_remove_image
+ fun:_dyld_register_func_for_*_image
}
{
dyld_mutex_reinitialization
|
|
From: <sv...@va...> - 2011-03-06 17:28:23
|
Author: bart
Date: 2011-03-06 17:28:16 +0000 (Sun, 06 Mar 2011)
New Revision: 11602
Log:
DRD/Darwin: Added more suppression patterns.
Modified:
trunk/darwin10-drd.supp
Modified: trunk/darwin10-drd.supp
===================================================================
--- trunk/darwin10-drd.supp 2011-03-06 17:27:42 UTC (rev 11601)
+++ trunk/darwin10-drd.supp 2011-03-06 17:28:16 UTC (rev 11602)
@@ -23,6 +23,23 @@
fun:_ZN4dyld18fastBindLazySymbolEPP11ImageLoaderm
fun:dyld_stub_binder
}
+{
+ dyld ImageLoaderMachOCompressed::findExportedSymbol(char const*, ImageLoader const**) const
+ drd:ConflictingAccess
+ fun:_ZNK26ImageLoaderMachOCompressed18findExportedSymbolEPKcPPK11ImageLoader
+}
+{
+ dyld dyld::fastBindLazySymbol(ImageLoader**, unsigned long)
+ drd:ConflictingAccess
+ ...
+ fun:_ZN4dyld18fastBindLazySymbolEPP11ImageLoaderm
+}
+{
+ dyld ImageLoaderMachOCompressed::doBindFastLazySymbol(unsigned int, ImageLoader::LinkContext const&)
+ drd:ConflictingAccess
+ ...
+ fun:_ZN26ImageLoaderMachOCompressed20doBindFastLazySymbolEjRKN11ImageLoader11LinkContextE
+}
#
# C library
@@ -45,16 +62,46 @@
fun:flockfile
}
{
+ funlockfile
+ drd:ConflictingAccess
+ fun:funlockfile
+}
+{
vfprintf_l
drd:ConflictingAccess
fun:vfprintf_l
}
{
+ localeconv_l
+ drd:ConflictingAccess
+ fun:localeconv_l
+}
+{
+ __vfprintf
+ drd:ConflictingAccess
+ fun:__vfprintf
+}
+{
+ fflush
+ drd:ConflictingAccess
+ fun:fflush
+}
+{
cerror
drd:ConflictingAccess
...
fun:cerror
}
+{
+ do_rand
+ drd:ConflictingAccess
+ fun:do_rand
+}
+{
+ mig_dealloc_reply_port
+ drd:ConflictingAccess
+ fun:mig_dealloc_reply_port
+}
#
# pthread library
@@ -87,11 +134,17 @@
{
pthread_detach()
drd:ConflictingAccess
- obj:*
+ ...
fun:pthread_detach
fun:pthread_detach
}
{
+ pthread_kill()
+ drd:ConflictingAccess
+ ...
+ fun:pthread_kill
+}
+{
spin_unlock()
drd:ConflictingAccess
fun:spin_unlock
|
|
From: <sv...@va...> - 2011-03-06 17:27:51
|
Author: bart
Date: 2011-03-06 17:27:42 +0000 (Sun, 06 Mar 2011)
New Revision: 11601
Log:
Memcheck/Darwin: Added a suppression pattern.
Modified:
trunk/darwin10.supp
Modified: trunk/darwin10.supp
===================================================================
--- trunk/darwin10.supp 2011-03-06 17:22:08 UTC (rev 11600)
+++ trunk/darwin10.supp 2011-03-06 17:27:42 UTC (rev 11601)
@@ -44,3 +44,13 @@
fun:malloc_zone_malloc
fun:__setenv
}
+
+{
+ libSystem-keymgr-leak-at-exit
+ Memcheck:Leak
+ fun:malloc
+ fun:get_or_create_key_element
+ fun:_keymgr_get_and_lock_processwide_ptr_2
+ fun:__keymgr_initializer
+ fun:libSystem_initializer
+}
|
|
From: <sv...@va...> - 2011-03-06 17:22:16
|
Author: bart Date: 2011-03-06 17:22:08 +0000 (Sun, 06 Mar 2011) New Revision: 11600 Log: DRD/Darwin: Suppress even more races triggered by the dynamic loader. Modified: trunk/drd/drd_darwin_intercepts.c Modified: trunk/drd/drd_darwin_intercepts.c =================================================================== --- trunk/drd/drd_darwin_intercepts.c 2011-03-06 17:21:21 UTC (rev 11599) +++ trunk/drd/drd_darwin_intercepts.c 2011-03-06 17:22:08 UTC (rev 11600) @@ -23,9 +23,9 @@ VALGRIND_GET_ORIG_FN(fn); - DRD_IGNORE_VAR(*imageLoaderCache); - + ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN(); CALL_FN_W_WW(res, fn, imageLoaderCache, lazyBindingInfoOffset); + ANNOTATE_IGNORE_READS_AND_WRITES_END(); return res; } |
|
From: <sv...@va...> - 2011-03-06 17:21:31
|
Author: bart Date: 2011-03-06 17:21:21 +0000 (Sun, 06 Mar 2011) New Revision: 11599 Log: DRD/Darwin: Added an expected output file. Added: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-x86 Removed: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin Deleted: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin 2011-03-06 16:33:46 UTC (rev 11598) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin 2011-03-06 17:21:21 UTC (rev 11599) @@ -1,63 +0,0 @@ - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:69) - -Mutex not locked: mutex 0x........, recursion count 0, owner 0. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:72) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:51) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:20) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:51) - -Thread 1: -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:75) -rwlock 0x........ was first observed at: - at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:57) - -Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:78) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:24) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - -The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! -Thread 2: -Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - - -ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0) Added: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 (rev 0) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 2011-03-06 17:21:21 UTC (rev 11599) @@ -0,0 +1,69 @@ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:72) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:51) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:20) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:51) + +Thread 1: +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:78) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:24) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! +Thread 2: +Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +Assertion failed: (!r), function main, file tc23_bogus_condwait.c, line 86. + +Process terminating with default action of signal 6 (SIGABRT) + at 0x........: __kill (in /...libc...) + by 0x........: __assert_rtn (in /...libc...) + by 0x........: main (tc23_bogus_condwait.c:86) + +ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0) Copied: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-x86 (from rev 11595, trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin) =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-x86 (rev 0) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-x86 2011-03-06 17:21:21 UTC (rev 11599) @@ -0,0 +1,63 @@ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:72) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:51) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:20) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:51) + +Thread 1: +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:78) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:24) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! +Thread 2: +Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + + +ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2011-03-06 16:33:55
|
Author: bart
Date: 2011-03-06 16:33:46 +0000 (Sun, 06 Mar 2011)
New Revision: 11598
Log:
DRD/Darwin: cleaned up dyld suppression pattern list.
Modified:
trunk/darwin10-drd.supp
Modified: trunk/darwin10-drd.supp
===================================================================
--- trunk/darwin10-drd.supp 2011-03-06 16:33:08 UTC (rev 11597)
+++ trunk/darwin10-drd.supp 2011-03-06 16:33:46 UTC (rev 11598)
@@ -4,39 +4,25 @@
# dyld
#
{
- <insert_a_suppression_name_here>
+ dyld_mutex_not_locked
drd:MutexErr
- fun:pthread_mutex_unlock_intercept
+ fun:pthread_mutex_unlock
fun:_dyld_register_func_for_remove_image
}
{
- <insert_a_suppression_name_here>
+ dyld_mutex_reinitialization
drd:MutexErr
- fun:pthread_mutex_init_intercept
+ fun:pthread_mutex_init
fun:_Z24dyldGlobalLockInitializev
fun:_dyld_initializer
}
{
- dyld_uninitialized_mutex
- drd:MutexErr
- fun:pthread_mutex_unlock
- fun:_dyld_register_func_for_remove_image
-}
-{
dyld_stub_binder
drd:ConflictingAccess
...
- fun:_ZN26ImageLoaderMachOCompressed20doBindFastLazySymbolEjRKN11ImageLoader11LinkContextE
fun:_ZN4dyld18fastBindLazySymbolEPP11ImageLoaderm
fun:dyld_stub_binder
}
-{
- dyld_mutex_reinitialization
- drd:MutexErr
- fun:pthread_mutex_init
- fun:_Z24dyldGlobalLockInitializev
- fun:_dyld_initializer
-}
#
# C library
|
|
From: <sv...@va...> - 2011-03-06 16:33:21
|
Author: bart Date: 2011-03-06 16:33:08 +0000 (Sun, 06 Mar 2011) New Revision: 11597 Log: DRD/Darwin: Ignore races triggered by the dynamic loader (dyld) lazy binding mechanism. Modified: trunk/drd/drd_darwin_intercepts.c Modified: trunk/drd/drd_darwin_intercepts.c =================================================================== --- trunk/drd/drd_darwin_intercepts.c 2011-03-06 12:39:12 UTC (rev 11596) +++ trunk/drd/drd_darwin_intercepts.c 2011-03-06 16:33:08 UTC (rev 11597) @@ -1,21 +1,21 @@ #include <stdint.h> #include <stdio.h> #include "valgrind.h" +#include "drd.h" #include "pub_tool_redir.h" -#if 0 - /* * On Mac OS X shared library functions are lazily bound. The binding mechanism - * uses self-modifying code. Intercept dyld_stub_binder() in order to suppress + * uses self-modifying code. Intercept fastBindLazySymbol() in order to suppress * the data accesses involved in this mechanism. * * See also the Mac OS X ABI Dynamic Loader Reference (http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/MachOReference/Reference/reference.html#//apple_ref/c/func/dyld_stub_binding_helper). * See also the dyld_stub_binder() source code (http://www.opensource.apple.com/source/dyld/dyld-132.13/src/dyld_stub_binder.s). + * See also the dyld::fastBindLazySymbol() source code (http://opensource.apple.com/source/dyld/dyld-132.13/src/dyld.cpp). */ -void* VG_WRAP_FUNCTION_ZZ(libSystemZdZaZddylib, dyldZustubZubinder) +void* VG_WRAP_FUNCTION_ZZ(dyld, ZuZZN4dyld18fastBindLazySymbolEPP11ImageLoaderm) (void** imageLoaderCache, uintptr_t lazyBindingInfoOffset); -void* VG_WRAP_FUNCTION_ZZ(libSystemZdZaZddylib, dyldZustubZubinder) +void* VG_WRAP_FUNCTION_ZZ(dyld, ZuZZN4dyld18fastBindLazySymbolEPP11ImageLoaderm) (void** imageLoaderCache, uintptr_t lazyBindingInfoOffset) { void* res; @@ -23,9 +23,9 @@ VALGRIND_GET_ORIG_FN(fn); + DRD_IGNORE_VAR(*imageLoaderCache); + CALL_FN_W_WW(res, fn, imageLoaderCache, lazyBindingInfoOffset); return res; } - -#endif |
|
From: <sv...@va...> - 2011-03-06 12:39:22
|
Author: bart Date: 2011-03-06 12:39:12 +0000 (Sun, 06 Mar 2011) New Revision: 11596 Log: DRD: Added a (non-functional so far) file drd_darwin_intercepts.c. Added: trunk/drd/drd_darwin_intercepts.c Modified: trunk/drd/Makefile.am Modified: trunk/drd/Makefile.am =================================================================== --- trunk/drd/Makefile.am 2011-03-05 16:00:53 UTC (rev 11595) +++ trunk/drd/Makefile.am 2011-03-06 12:39:12 UTC (rev 11596) @@ -127,6 +127,10 @@ drd_qtcore_intercepts.c \ drd_strmem_intercepts.c +if VGCONF_OS_IS_DARWIN +VGPRELOAD_DRD_SOURCES_COMMON += drd_darwin_intercepts.c +endif + vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES = \ $(VGPRELOAD_DRD_SOURCES_COMMON) vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \ Added: trunk/drd/drd_darwin_intercepts.c =================================================================== --- trunk/drd/drd_darwin_intercepts.c (rev 0) +++ trunk/drd/drd_darwin_intercepts.c 2011-03-06 12:39:12 UTC (rev 11596) @@ -0,0 +1,31 @@ +#include <stdint.h> +#include <stdio.h> +#include "valgrind.h" +#include "pub_tool_redir.h" + +#if 0 + +/* + * On Mac OS X shared library functions are lazily bound. The binding mechanism + * uses self-modifying code. Intercept dyld_stub_binder() in order to suppress + * the data accesses involved in this mechanism. + * + * See also the Mac OS X ABI Dynamic Loader Reference (http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/MachOReference/Reference/reference.html#//apple_ref/c/func/dyld_stub_binding_helper). + * See also the dyld_stub_binder() source code (http://www.opensource.apple.com/source/dyld/dyld-132.13/src/dyld_stub_binder.s). + */ +void* VG_WRAP_FUNCTION_ZZ(libSystemZdZaZddylib, dyldZustubZubinder) + (void** imageLoaderCache, uintptr_t lazyBindingInfoOffset); +void* VG_WRAP_FUNCTION_ZZ(libSystemZdZaZddylib, dyldZustubZubinder) + (void** imageLoaderCache, uintptr_t lazyBindingInfoOffset) +{ + void* res; + OrigFn fn; + + VALGRIND_GET_ORIG_FN(fn); + + CALL_FN_W_WW(res, fn, imageLoaderCache, lazyBindingInfoOffset); + + return res; +} + +#endif |
|
From: Bart V. A. <bva...@ac...> - 2011-03-06 08:45:00
|
Nightly build on cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) Started at 2011-03-06 02:00:06 EST Ended at 2011-03-06 03:44:47 EST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 450 tests, 12 stderr failures, 9 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) memcheck/tests/linux-syscalls-2007 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) callgrind/tests/simwork-both (stdout) callgrind/tests/simwork-both (stderr) callgrind/tests/simwork-branch (stdout) callgrind/tests/simwork-branch (stderr) none/tests/empty-exe (stderr) none/tests/linux/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/round (stdout) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) none/tests/shell_zerolength (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |
|
From: Rich C. <rc...@wi...> - 2011-03-06 06:49:04
|
Nightly build on ppc32 ( Linux 2.6.27.45-0.1-default ppc )
Started at 2011-03-05 23:26:01 CST
Ended at 2011-03-06 00:48:50 CST
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 440 tests, 17 stderr failures, 5 stdout failures, 2 post failures ==
memcheck/tests/badjump (stderr)
memcheck/tests/badjump2 (stderr)
memcheck/tests/linux/capget (stderr)
memcheck/tests/linux/stack_changes (stderr)
memcheck/tests/linux-syscalls-2007 (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo6 (stderr)
massif/tests/deep-D (post)
massif/tests/overloaded-new (post)
none/tests/linux/mremap (stderr)
none/tests/ppc32/jm-fp (stdout)
none/tests/ppc32/jm-fp (stderr)
none/tests/ppc32/power5+_round (stdout)
none/tests/ppc32/power5+_round (stderr)
none/tests/ppc32/round (stdout)
none/tests/ppc32/round (stderr)
none/tests/ppc32/test_fx (stdout)
none/tests/ppc32/test_fx (stderr)
none/tests/ppc32/test_gx (stdout)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
drd/tests/tc23_bogus_condwait (stderr)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin 2011-03-06 00:11:13.000000000 -0600
+++ tc23_bogus_condwait.stderr.out 2011-03-06 00:48:31.000000000 -0600
@@ -3,61 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-ppc 2011-03-06 00:11:13.000000000 -0600
+++ tc23_bogus_condwait.stderr.out 2011-03-06 00:48:31.000000000 -0600
@@ -6,8 +6,8 @@
Process terminating with default action of signal 7 (SIGBUS)
Invalid address alignment at address 0x........
- at 0x........: (within libpthread-?.?.so)
- by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-x86 2011-03-06 00:11:13.000000000 -0600
+++ tc23_bogus_condwait.stderr.out 2011-03-06 00:48:31.000000000 -0600
@@ -3,84 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-
-Thread 1:
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:28)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 1:
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:32)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2011-03-06 00:08:33.000000000 -0600
+++ hg05_race2.stderr.out 2011-03-06 00:39:31.000000000 -0600
@@ -17,8 +17,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
@@ -28,8 +26,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2011-03-06 00:08:33.000000000 -0600
+++ tc06_two_races_xml.stderr.out 2011-03-06 00:40:11.000000000 -0600
@@ -45,11 +45,17 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>do_clone</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create@@GLIBC_2.1</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -121,6 +127,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -175,6 +184,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -229,6 +241,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -283,6 +298,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-new/helgrind/tests/tc23_bogus_condwait.stderr.diff
=================================================
--- tc23_bogus_condwait.stderr.exp 2011-03-06 00:08:33.000000000 -0600
+++ tc23_bogus_condwait.stderr.out 2011-03-06 00:41:15.000000000 -0600
@@ -2,39 +2,24 @@
Thread #x is the program's root thread
Thread #x: pthread_cond_{timed}wait called with invalid mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread #x: pthread_cond_{timed}wait called with un-held mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:64)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:108)
by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+ by 0x........: main (tc23_bogus_condwait.c:69)
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:61)
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+Thread #x: Exiting thread still holds 1 lock
+ ...
+ ...
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/massif/tests/deep-D.post.diff
=================================================
--- deep-D.post.exp 2011-03-06 00:09:35.000000000 -0600
+++ deep-D.post.out 2011-03-06 00:36:01.000000000 -0600
@@ -46,8 +46,9 @@
8 3,264 3,264 3,200 64 0
9 3,672 3,672 3,600 72 0
98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->98.04% (3,600B) 0x........: (below main)
-
+->98.04% (3,600B) 0x........: ??? (in /...libc...)
+ ->98.04% (3,600B) 0x........: (below main)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff
=================================================
--- overloaded-new.post.exp 2011-03-06 00:09:35.000000000 -0600
+++ overloaded-new.post.out 2011-03-06 00:36:12.000000000 -0600
@@ -42,14 +42,18 @@
4 12,032 12,032 12,000 32 0
5 12,032 12,032 12,000 32 0
99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
-|
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
-
+->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
+|
+->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp:24)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
+| ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.cpp:34)
+ ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/badjump.stderr.diff
=================================================
--- badjump.stderr.exp 2011-03-06 00:09:21.000000000 -0600
+++ badjump.stderr.out 2011-03-06 00:29:04.000000000 -0600
@@ -1,6 +1,7 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
@@ -8,6 +9,7 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/badjump2.stderr.diff
=================================================
--- badjump2.stderr.exp 2011-03-06 00:09:21.000000000 -0600
+++ badjump2.stderr.out 2011-03-06 00:29:06.000000000 -0600
@@ -1,5 +1,6 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
=================================================
./valgrind-new/memcheck/tests/linux-syscalls-2007.stderr.diff
=================================================
--- linux-syscalls-2007.stderr.exp 2011-03-06 00:09:21.000000000 -0600
+++ linux-syscalls-2007.stderr.out 2011-03-06 00:30:45.000000000 -0600
@@ -1,4 +1,9 @@
+WARNING: unhandled syscall: 281
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
HEAP SUMMARY:
in use at exit: ... bytes in ... blocks
=================================================
./valgrind-new/memcheck/tests/linux/capget.stderr.diff
=================================================
--- capget.stderr.exp 2011-03-06 00:09:15.000000000 -0600
+++ capget.stderr.out 2011-03-06 00:30:09.000000000 -0600
@@ -1,7 +1,7 @@
capget result:
-effective 0
-permitted 0
+effective 0x........
+permitted 0x........
inheritable 0
HEAP SUMMARY:
=================================================
./valgrind-new/memcheck/tests/linux/stack_changes.stderr.diff
=================================================
--- stack_changes.stderr.exp 2011-03-06 00:09:15.000000000 -0600
+++ stack_changes.stderr.out 2011-03-06 00:30:31.000000000 -0600
@@ -0,0 +1,5 @@
+WARNING: unhandled syscall: 249
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-03-06 00:09:21.000000000 -0600
+++ origin5-bz2.stderr.out 2011-03-06 00:31:53.000000000 -0600
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2011-03-06 00:09:21.000000000 -0600
+++ origin5-bz2.stderr.out 2011-03-06 00:31:53.000000000 -0600
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2011-03-06 00:09:21.000000000 -0600
+++ origin5-bz2.stderr.out 2011-03-06 00:31:53.000000000 -0600
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,25 +9,25 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -36,9 +36,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -47,9 +47,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -58,9 +58,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -69,9 +69,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -80,9 +80,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff
=================================================
--- supp_unknown.stderr.exp 2011-03-06 00:09:21.000000000 -0600
+++ supp_unknown.stderr.out 2011-03-06 00:33:43.000000000 -0600
@@ -1,7 +1,14 @@
+Jump to the invalid address stated on the next line
+ at 0x........: ???
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2011-03-06 00:09:21.000000000 -0600
+++ varinfo6.stderr.out 2011-03-06 00:34:21.000000000 -0600
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2011-03-06 00:09:21.000000000 -0600
+++ varinfo6.stderr.out 2011-03-06 00:34:21.000000000 -0600
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff
=================================================
--- mremap.stderr.exp 2011-03-06 00:10:33.000000000 -0600
+++ mremap.stderr.out 2011-03-06 00:37:10.000000000 -0600
@@ -1,3 +1,12 @@
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
+grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
+grow, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff-glibc27
=================================================
--- mremap.stderr.exp-glibc27 2011-03-06 00:10:33.000000000 -0600
+++ mremap.stderr.out 2011-03-06 00:37:10.000000000 -0600
@@ -1,6 +1,12 @@
-mremap(grow, fixed): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
grow, maymove: p=0x........ np=0x........: shrink moved?!
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stderr.diff
=================================================
--- jm-fp.stderr.exp 2011-03-06 00:10:22.000000000 -0600
+++ jm-fp.stderr.out 2011-03-06 00:37:43.000000000 -0600
@@ -1,2 +1,27 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: test_fsqrt (jm-insns.c:1986)
+ by 0x........: test_float_one_arg (jm-insns.c:5738)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: test_fsqrt (jm-insns.c:1986)
+ by 0x........: test_float_one_arg (jm-insns.c:5738)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stdout.diff
=================================================
--- jm-fp.stdout.exp 2011-03-06 00:10:22.000000000 -0600
+++ jm-fp.stdout.out 2011-03-06 00:37:43.000000000 -0600
@@ -794,570 +794,4 @@
fnabs 0010000000000001 => 8010000000000001
fnabs 00100094e0000359 => 80100094e0000359
- fnabs 3fe0000000000001 => bfe0000000000001
- fnabs 3fe00094e0000359 => bfe00094e0000359
- fnabs 8010000000000001 => 8010000000000001
- fnabs 80100094e0000359 => 80100094e0000359
- fnabs bfe0000000000001 => bfe0000000000001
- fnabs bfe00094e0000359 => bfe00094e0000359
- fnabs 0000000000000000 => 8000000000000000
- fnabs 8000000000000000 => 8000000000000000
- fnabs 7ff0000000000000 => fff0000000000000
- fnabs fff0000000000000 => fff0000000000000
- fnabs 7ff7ffffffffffff => fff7ffffffffffff
- fnabs fff7ffffffffffff => fff7ffffffffffff
- fnabs 7ff8000000000000 => fff8000000000000
- fnabs fff8000000000000 => fff8000000000000
-
- fsqrt 0010000000000001 => 2000000000000000
- fsqrt 00100094e0000359 => 2000004a6f52dd4a
- fsqrt 3fe0000000000001 => 3fe6a09e667f3bcd
- fsqrt 3fe00094e0000359 => 3fe6a107aacb50df
- fsqrt 8010000000000001 => 7ff8000000000000
- fsqrt 80100094e0000359 => 7ff8000000000000
- fsqrt bfe0000000000001 => 7ff8000000000000
- fsqrt bfe00094e0000359 => 7ff8000000000000
- fsqrt 0000000000000000 => 0000000000000000
- fsqrt 8000000000000000 => 8000000000000000
- fsqrt 7ff0000000000000 => 7ff0000000000000
- fsqrt fff0000000000000 => 7ff8000000000000
- fsqrt 7ff7ffffffffffff => 7fffffffffffffff
- fsqrt fff7ffffffffffff => ffffffffffffffff
- fsqrt 7ff8000000000000 => 7ff8000000000000
- fsqrt fff8000000000000 => fff8000000000000
-
-PPC floating point arith insns
- with one arg with flags update:
- frsp. 0010000000000001 => 0000000000000000
- frsp. 00100094e0000359 => 0000000000000000
- frsp. 3fe0000000000001 => 3fe0000000000000
- frsp. 3fe00094e0000359 => 3fe00094e0000000
- frsp. 8010000000000001 => 8000000000000000
- frsp. 80100094e0000359 => 8000000000000000
- frsp. bfe0000000000001 => bfe0000000000000
- frsp. bfe00094e0000359 => bfe00094e0000000
- frsp. 0000000000000000 => 0000000000000000
- frsp. 8000000000000000 => 8000000000000000
- frsp. 7ff0000000000000 => 7ff0000000000000
- frsp. fff0000000000000 => fff0000000000000
- frsp. 7ff7ffffffffffff => 7fffffffe0000000
- frsp. fff7ffffffffffff => ffffffffe0000000
- frsp. 7ff8000000000000 => 7ff8000000000000
- frsp. fff8000000000000 => fff8000000000000
-
- fctiw. 0010000000000001 => 0000000000000000
- fctiw. 00100094e0000359 => 0000000000000000
- fctiw. 3fe0000000000001 => 0000000000000001
- fctiw. 3fe00094e0000359 => 0000000000000001
- fctiw. 8010000000000001 => 0000000000000000
- fctiw. 80100094e0000359 => 0000000000000000
- fctiw. bfe0000000000001 => 00000000ffffffff
- fctiw. bfe00094e0000359 => 00000000ffffffff
- fctiw. 0000000000000000 => 0000000000000000
- fctiw. 8000000000000000 => 0000000000000000
- fctiw. 7ff0000000000000 => 000000007fffffff
- fctiw. fff0000000000000 => 0000000080000000
- fctiw. 7ff7ffffffffffff => 0000000080000000
- fctiw. fff7ffffffffffff => 0000000080000000
- fctiw. 7ff8000000000000 => 0000000080000000
- fctiw. fff8000000000000 => 0000000080000000
-
- fctiwz. 0010000000000001 => 0000000000000000
- fctiwz. 00100094e0000359 => 0000000000000000
- fctiwz. 3fe0000000000001 => 0000000000000000
- fctiwz. 3fe00094e0000359 => 0000000000000000
- fctiwz. 8010000000000001 => 0000000000000000
- fctiwz. 80100094e0000359 => 0000000000000000
- fctiwz. bfe0000000000001 => 0000000000000000
- fctiwz. bfe00094e0000359 => 0000000000000000
- fctiwz. 0000000000000000 => 0000000000000000
- fctiwz. 8000000000000000 => 0000000000000000
- fctiwz. 7ff0000000000000 => 000000007fffffff
- fctiwz. fff0000000000000 => 0000000080000000
- fctiwz. 7ff7ffffffffffff => 0000000080000000
- fctiwz. fff7ffffffffffff => 0000000080000000
- fctiwz. 7ff8000000000000 => 0000000080000000
- fctiwz. fff8000000000000 => 0000000080000000
-
- fmr. 0010000000000001 => 0010000000000001
- fmr. 00100094e0000359 => 00100094e0000359
- fmr. 3fe0000000000001 => 3fe0000000000001
- fmr. 3fe00094e0000359 => 3fe00094e0000359
- fmr. 8010000000000001 => 8010000000000001
- fmr. 80100094e0000359 => 80100094e0000359
- fmr. bfe0000000000001 => bfe0000000000001
- fmr. bfe00094e0000359 => bfe00094e0000359
- fmr. 0000000000000000 => 0000000000000000
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stderr.diff
=================================================
--- power5+_round.stderr.exp 2011-03-06 00:10:22.000000000 -0600
+++ power5+_round.stderr.out 2011-03-06 00:37:50.000000000 -0600
@@ -1,2 +1,20 @@
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 784(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: main (power5+_round.c:124)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: main (power5+_round.c:124)
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stdout.diff
=================================================
--- power5+_round.stdout.exp 2011-03-06 00:10:22.000000000 -0600
+++ power5+_round.stdout.out 2011-03-06 00:37:49.000000000 -0600
@@ -1,60 +0,0 @@
-frin inf inf 0 PASS
-frin 1.9 2 0 PASS
-frin 1.1 1 0 PASS
-frin 0 0 0 PASS
-frin -0 -0 0 PASS
-frin -1.1 -1 0 PASS
-frin -1.9 -2 0 PASS
-frin -inf -inf 0 PASS
-frin nan nan 0 PASS
-frin 0.9 1 0 PASS
-frin 0.1 0 0 PASS
-frin -0.1 -0 0 PASS
-frin -0.9 -1 0 PASS
-frin 1e-40 0 0 PASS
-frin -1e-40 -0 0 PASS
-friz inf inf 0 PASS
-friz 1.9 1 0 PASS
-friz 1.1 1 0 PASS
-friz 0 0 0 PASS
-friz -0 -0 0 PASS
-friz -1.1 -1 0 PASS
-friz -1.9 -1 0 PASS
-friz -inf -inf 0 PASS
-friz nan nan 0 PASS
-friz 0.9 0 0 PASS
-friz 0.1 0 0 PASS
-friz -0.1 -0 0 PASS
-friz -0.9 -0 0 PASS
-friz 1e-40 0 0 PASS
-friz -1e-40 -0 0 PASS
-frip inf inf 0 PASS
-frip 1.9 2 0 PASS
-frip 1.1 2 0 PASS
-frip 0 0 0 PASS
-frip -0 -0 0 PASS
-frip -1.1 -1 0 PASS
-frip -1.9 -1 0 PASS
-frip -inf -inf 0 PASS
-frip nan nan 0 PASS
-frip 0.9 1 0 PASS
-frip 0.1 1 0 PASS
-frip -0.1 -0 0 PASS
-frip -0.9 -0 0 PASS
-frip 1e-40 1 0 PASS
-frip -1e-40 -0 0 PASS
-frim inf inf 0 PASS
-frim 1.9 1 0 PASS
-frim 1.1 1 0 PASS
-frim 0 0 0 PASS
-frim -0 -0 0 PASS
-frim -1.1 -2 0 PASS
-frim -1.9 -2 0 PASS
-frim -inf -inf 0 PASS
-frim nan nan 0 PASS
-frim 0.9 0 0 PASS
-frim 0.1 0 0 PASS
-frim -0.1 -1 0 PASS
-frim -0.9 -1 0 PASS
-frim 1e-40 0 0 PASS
-frim -1e-40 -1 0 PASS
=================================================
./valgrind-new/none/tests/ppc32/round.stderr.diff
=================================================
--- round.stderr.exp 2011-03-06 00:10:22.000000000 -0600
+++ round.stderr.out 2011-03-06 00:37:52.000000000 -0600
@@ -1,2 +1,25 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: check_double_guarded_arithmetic_op (round.c:1116)
+ by 0x........: test_float_arithmetic_ops (round.c:1185)
+ by 0x........: main (round.c:1206)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: check_double_guarded_arithmetic_op (round.c:1116)
+ by 0x........: test_float_arithmetic_ops (round.c:1185)
+ by 0x........: main (round.c:1206)
=================================================
./valgrind-new/none/tests/ppc32/round.stdout.diff
=================================================
--- round.stdout.exp 2011-03-06 00:10:22.000000000 -0600
+++ round.stdout.out 2011-03-06 00:37:52.000000000 -0600
@@ -2259,77 +2259,4 @@
-inf:PASSED:fnmsub(-0x1.000000000000bp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000000dp+0
-inf:PASSED:fnmsub(-0x1.000000000000cp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000000ep+0
-inf:PASSED:fnmsub(-0x1.000000000000dp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000001p+0
--inf:PASSED:fnmsub(-0x1.000000000000ep+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000011p+0
--inf:PASSED:fnmsub(-0x1.000000000000fp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000012p+0
--inf:PASSED:fnmsub(0x1p+0 , 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.ap+0
--inf:PASSED:fnmsub(0x1.0000000000001p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000001p+0
--inf:PASSED:fnmsub(0x1.0000000000002p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000002p+0
--inf:PASSED:fnmsub(0x1.0000000000003p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000003p+0
--inf:PASSED:fnmsub(0x1.0000000000004p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000005p+0
--inf:PASSED:fnmsub(0x1.0000000000005p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000006p+0
--inf:PASSED:fnmsub(0x1.0000000000006p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000007p+0
--inf:PASSED:fnmsub(0x1.0000000000007p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000008p+0
--inf:PASSED:fnmsub(0x1.0000000000008p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000009p+0
--inf:PASSED:fnmsub(0x1.0000000000009p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000ap+0
--inf:PASSED:fnmsub(0x1.000000000000ap+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000bp+0
--inf:PASSED:fnmsub(0x1.000000000000bp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000cp+0
--inf:PASSED:fnmsub(0x1.000000000000cp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000ep+0
--inf:PASSED:fnmsub(0x1.000000000000dp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000fp+0
--inf:PASSED:fnmsub(0x1.000000000000ep+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000001p+0
--inf:PASSED:fnmsub(0x1.000000000000fp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000011p+0
-near:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
-near:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
-near:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
-near:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
-near:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
-near:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
-near:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
-near:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9ep+0
-near:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6cp-1
-near:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0acp-1
-near:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e3p+0
-near:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0b1p-1
-near:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907afp-1
-near:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed828p+0
-zero:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
-zero:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
-zero:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
-zero:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
-zero:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
-zero:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
-zero:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
-zero:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9dp+0
-zero:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6bp-1
-zero:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0abfp-1
-zero:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e2p+0
-zero:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0bp-1
-zero:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907aep-1
-zero:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed827p+0
-+inf:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049fp-1
-+inf:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6ep+0
-+inf:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3cp+0
-+inf:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0938p-1
-+inf:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b3p+0
-+inf:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7484p+0
-+inf:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7dp-1
-+inf:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9ep+0
-+inf:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6cp-1
-+inf:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0acp-1
-+inf:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e3p+0
-+inf:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0b1p-1
-+inf:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907afp-1
-+inf:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed828p+0
--inf:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
--inf:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
--inf:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
--inf:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
--inf:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
--inf:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
--inf:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
--inf:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9dp+0
--inf:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6bp-1
--inf:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0abfp-1
--inf:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e2p+0
--inf:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0bp-1
--inf:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907aep-1
--inf:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed827p+0
+-inf:PASSED:fnmsub(-0x1.000000000000ep+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000
\ No newline at end of file
=================================================
./valgrind-new/none/tests/ppc32/test_fx.stderr.diff
=================================================
--- test_fx.stderr.exp 2011-03-06 00:10:22.000000000 -0600
+++ test_fx.stderr.out 2011-03-06 00:37:53.000000000 -0600
@@ -1,2 +1,25 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: do_fsqrt (test_fx.c:9)
+ by 0x........: do_one (test_fx.c:48)
+ by 0x........: main (test_fx.c:81)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: do_fsqrt (test_fx.c:9)
+ by 0x........: do_one (test_fx.c:48)
+ by 0x........: main (test_fx.c:81)
=================================================
./valgrind-new/none/tests/ppc32/test_fx.stdout.diff
=================================================
--- test_fx.stdout.exp 2011-03-06 00:10:22.000000000 -0600
+++ test_fx.stdout.out 2011-03-06 00:37:52.000000000 -0600
@@ -1,40 +0,0 @@
-
-fsqrt 0.000000e+00 -> 0.00000000000000e+00
-fsqrt inf -> inf
-fsqrt -inf -> nan
-fsqrt nan -> nan
-fsqrt nan -> nan
-fsqrt -5.000000e+100 -> nan
-fsqrt -5.000000e+20 -> nan
-fsqrt -5.010000e+02 -> nan
-fsqrt -6.000000e+00 -> nan
-fsqrt -1.000000e+00 -> nan
-fsqrt -2.000000e-20 -> nan
-fsqrt -2.000000e-200 -> nan
-fsqrt 2.000000e-200 -> 1.41421356237310e-100
-fsqrt 2.000000e-20 -> 1.41421356237310e-10
-fsqrt 1.000000e+00 -> 1.00000000000000e+00
-fsqrt 6.000000e+00 -> 2.44948974278318e+00
-fsqrt 5.010000e+02 -> 2.23830292855994e+01
-fsqrt 5.000000e+20 -> 2.23606797749979e+10
-fsqrt 5.000000e+100 -> 2.23606797749979e+50
-
-fsqrts 0.000000e+00 -> 0.000000e+00
-fsqrts inf -> inf
-fsqrts -inf -> nan
-fsqrts nan -> nan
-fsqrts nan -> nan
-fsqrts -5.000000e+100 -> nan
-fsqrts -5.000000e+20 -> nan
-fsqrts -5.010000e+02 -> nan
-fsqrts -6.000000e+00 -> nan
-fsqrts -1.000000e+00 -> nan
-fsqrts -2.000000e-20 -> nan
-fsqrts -2.000000e-200 -> nan
-fsqrts 2.000000e-200 -> 1.414214e-100
-fsqrts 2.000000e-20 -> 1.414214e-10
-fsqrts 1.000000e+00 -> 1.000000e+00
-fsqrts 6.000000e+00 -> 2.449490e+00
-fsqrts 5.010000e+02 -> 2.238303e+01
-fsqrts 5.000000e+20 -> 2.236068e+10
-fsqrts 5.000000e+100 -> 2.236068e+50
=================================================
./valgrind-new/none/tests/ppc32/test_gx.stdout.diff
=================================================
--- test_gx.stdout.exp 2011-03-06 00:10:22.000000000 -0600
+++ test_gx.stdout.out 2011-03-06 00:37:54.000000000 -0600
@@ -51,13 +51,13 @@
frsqrte -1.010000e+00 -> nan
frsqrte -2.000000e-20 -> nan
frsqrte -2.000000e-200 -> nan
-frsqrte 2.000000e-200 -> 7.0e+99
+frsqrte 2.000000e-200 -> 7.1e+99
frsqrte 2.000000e-20 -> 7.1e+09
-frsqrte 1.010000e+00 -> 9.7e-01
+frsqrte 1.010000e+00 -> 9.8e-01
frsqrte 6.000000e+00 -> 4.0e-01
-frsqrte 5.010000e+02 -> 4.5e-02
-frsqrte 5.000000e+20 -> 4.5e-11
-frsqrte 5.000000e+100 -> 4.4e-51
+frsqrte 5.010000e+02 -> 4.4e-02
+frsqrte 5.000000e+20 -> 4.4e-11
+frsqrte 5.000000e+100 -> 4.5e-51
frsqrtes 0.000000e+00 -> inf
frsqrtes inf -> 0.0e+00
@@ -71,10 +71,10 @@
frsqrtes -1.010000e+00 -> nan
frsqrtes -2.000000e-20 -> nan
frsqrtes -2.000000e-200 -> nan
-frsqrtes 2.000000e-200 -> 7.0e+99
+frsqrtes 2.000000e-200 -> 7.1e+99
frsqrtes 2.000000e-20 -> 7.1e+09
-frsqrtes 1.010000e+00 -> 9.7e-01
+frsqrtes 1.010000e+00 -> 9.8e-01
frsqrtes 6.000000e+00 -> 4.0e-01
-frsqrtes 5.010000e+02 -> 4.5e-02
-frsqrtes 5.000000e+20 -> 4.5e-11
-frsqrtes 5.000000e+100 -> 4.4e-51
+frsqrtes 5.010000e+02 -> 4.4e-02
+frsqrtes 5.000000e+20 -> 4.4e-11
+frsqrtes 5.000000e+100 -> 4.5e-51
=================================================
./valgrind-old/drd/tests/tc23_bogus_condwait.stderr.diff-darwin
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin 2011-03-05 23:29:59.000000000 -0600
+++ tc23_bogus_condwait.stderr.out 2011-03-06 00:07:55.000000000 -0600
@@ -3,61 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercept...
[truncated message content] |
|
From: Rich C. <rc...@wi...> - 2011-03-06 04:12:16
|
Nightly build on ultra ( Linux 2.6.34.7-0.4-desktop x86_64 )
Started at 2011-03-05 21:30:01 CST
Ended at 2011-03-05 22:12:04 CST
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 561 tests, 75 stderr failures, 55 stdout failures, 3 post failures ==
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/x86/bug152022 (stderr)
memcheck/tests/x86/espindola2 (stderr)
memcheck/tests/x86/fpeflags (stderr)
memcheck/tests/x86/fprem (stdout)
memcheck/tests/x86/fprem (stderr)
memcheck/tests/x86/fxsave (stdout)
memcheck/tests/x86/fxsave (stderr)
memcheck/tests/x86/insn_basic (stdout)
memcheck/tests/x86/insn_basic (stderr)
memcheck/tests/x86/insn_cmov (stdout)
memcheck/tests/x86/insn_cmov (stderr)
memcheck/tests/x86/insn_fpu (stdout)
memcheck/tests/x86/insn_fpu (stderr)
memcheck/tests/x86/insn_mmx (stdout)
memcheck/tests/x86/insn_mmx (stderr)
memcheck/tests/x86/insn_sse (stdout)
memcheck/tests/x86/insn_sse (stderr)
memcheck/tests/x86/insn_sse2 (stdout)
memcheck/tests/x86/insn_sse2 (stderr)
memcheck/tests/x86/more_x86_fp (stdout)
memcheck/tests/x86/more_x86_fp (stderr)
memcheck/tests/x86/pushfpopf (stdout)
memcheck/tests/x86/pushfpopf (stderr)
memcheck/tests/x86/pushfw_x86 (stdout)
memcheck/tests/x86/pushfw_x86 (stderr)
memcheck/tests/x86/pushpopmem (stdout)
memcheck/tests/x86/pushpopmem (stderr)
memcheck/tests/x86/sse1_memory (stdout)
memcheck/tests/x86/sse1_memory (stderr)
memcheck/tests/x86/sse2_memory (stdout)
memcheck/tests/x86/sse2_memory (stderr)
memcheck/tests/x86/tronical (stderr)
memcheck/tests/x86/xor-undef-x86 (stdout)
memcheck/tests/x86/xor-undef-x86 (stderr)
memcheck/tests/x86-linux/bug133694 (stdout)
memcheck/tests/x86-linux/bug133694 (stderr)
memcheck/tests/x86-linux/int3-x86 (stdout)
memcheck/tests/x86-linux/int3-x86 (stderr)
memcheck/tests/x86-linux/scalar (stderr)
memcheck/tests/x86-linux/scalar_exit_group (stderr)
memcheck/tests/x86-linux/scalar_fork (stderr)
memcheck/tests/x86-linux/scalar_supp (stderr)
memcheck/tests/x86-linux/scalar_vfork (stderr)
cachegrind/tests/x86/fpu-28-108 (stderr)
none/tests/x86/aad_aam (stdout)
none/tests/x86/aad_aam (stderr)
none/tests/x86/badseg (stdout)
none/tests/x86/badseg (stderr)
none/tests/x86/bt_everything (stdout)
none/tests/x86/bt_everything (stderr)
none/tests/x86/bt_literal (stdout)
none/tests/x86/bt_literal (stderr)
none/tests/x86/bug125959-x86 (stdout)
none/tests/x86/bug125959-x86 (stderr)
none/tests/x86/bug126147-x86 (stdout)
none/tests/x86/bug126147-x86 (stderr)
none/tests/x86/bug132813-x86 (stdout)
none/tests/x86/bug132813-x86 (stderr)
none/tests/x86/bug135421-x86 (stdout)
none/tests/x86/bug135421-x86 (stderr)
none/tests/x86/bug137714-x86 (stdout)
none/tests/x86/bug137714-x86 (stderr)
none/tests/x86/bug152818-x86 (stdout)
none/tests/x86/bug152818-x86 (stderr)
none/tests/x86/cmpxchg8b (stdout)
none/tests/x86/cmpxchg8b (stderr)
none/tests/x86/cpuid (stdout)
none/tests/x86/cpuid (stderr)
none/tests/x86/cse_fail (stdout)
none/tests/x86/cse_fail (stderr)
none/tests/x86/fcmovnu (stdout)
none/tests/x86/fcmovnu (stderr)
none/tests/x86/fpu_lazy_eflags (stdout)
none/tests/x86/fpu_lazy_eflags (stderr)
none/tests/x86/fxtract (stdout)
none/tests/x86/fxtract (stderr)
none/tests/x86/getseg (stdout)
none/tests/x86/getseg (stderr)
none/tests/x86/incdec_alt (stdout)
none/tests/x86/incdec_alt (stderr)
none/tests/x86/insn_basic (stdout)
none/tests/x86/insn_basic (stderr)
none/tests/x86/insn_cmov (stdout)
none/tests/x86/insn_cmov (stderr)
none/tests/x86/insn_fpu (stdout)
none/tests/x86/insn_fpu (stderr)
none/tests/x86/insn_mmx (stdout)
none/tests/x86/insn_mmx (stderr)
none/tests/x86/insn_sse (stdout)
none/tests/x86/insn_sse (stderr)
none/tests/x86/insn_sse2 (stdout)
none/tests/x86/insn_sse2 (stderr)
none/tests/x86/insn_sse3 (stdout)
none/tests/x86/insn_sse3 (stderr)
none/tests/x86/insn_ssse3 (stdout)
none/tests/x86/insn_ssse3 (stderr)
none/tests/x86/jcxz (stdout)
none/tests/x86/jcxz (stderr)
none/tests/x86/lahf (stdout)
none/tests/x86/lahf (stderr)
none/tests/x86/looper (stdout)
none/tests/x86/looper (stderr)
none/tests/x86/movx (stdout)
none/tests/x86/movx (stderr)
none/tests/x86/pushpopseg (stdout)
none/tests/x86/pushpopseg (stderr)
none/tests/x86/sbbmisc (stdout)
none/tests/x86/sbbmisc (stderr)
none/tests/x86/smc1 (stdout)
none/tests/x86/smc1 (stderr)
none/tests/x86/ssse3_misaligned (stderr)
none/tests/x86/x86locked (stdout)
none/tests/x86/x86locked (stderr)
none/tests/x86/xadd (stdout)
none/tests/x86/xadd (stderr)
none/tests/x86-linux/seg_override (stdout)
none/tests/x86-linux/seg_override (stderr)
none/tests/x86-linux/sigcontext (stdout)
none/tests/x86-linux/sigcontext (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
exp-ptrcheck/tests/bad_percentify (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
exp-bbv/tests/x86/fldcw_check (stderr)
exp-bbv/tests/x86/million (stderr)
exp-bbv/tests/x86/rep_prefix (stderr)
exp-bbv/tests/x86-linux/clone_test (stderr)
exp-bbv/tests/x86-linux/clone_test (post)
exp-bbv/tests/x86-linux/ll (stdout)
exp-bbv/tests/x86-linux/ll (stderr)
=================================================
./valgrind-new/cachegrind/tests/x86/fpu-28-108.stderr.diff
=================================================
--- fpu-28-108.stderr.exp 2011-03-05 21:53:34.902714716 -0600
+++ fpu-28-108.stderr.out 2011-03-05 22:07:37.965839922 -0600
@@ -1,17 +1 @@
-
-
-I refs:
-I1 misses:
-LLi misses:
-I1 miss rate:
-LLi miss rate:
-
-D refs:
-D1 misses:
-LLd misses:
-D1 miss rate:
-LLd miss rate:
-
-LL refs:
-LL misses:
-LL miss rate:
+valgrind: ./fpu-28-108: No such file or directory
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/clone_test.post.diff
=================================================
--- clone_test.post.exp 2011-03-05 21:50:21.017714817 -0600
+++ clone_test.post.out 2011-03-05 22:12:04.484839944 -0600
@@ -1,58 +0,0 @@
-T 4 996 5 2 3 98991
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 1001 2 3 98994
-T 100000
-T 100000
-T 100000
-T 100000
-
-
-# Thread 1
-# Total intervals: 15 (Interval Size 100000)
-# Total instructions: 1501007
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-
-T 2 3 99996
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 99996 4
-T 100000
-T 100000
-T 100000
-T 100000
-T 99998 2
-
-
-# Thread 2
-# Total intervals: 25 (Interval Size 100000)
-# Total instructions: 2500001
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/clone_test.stderr.diff
=================================================
--- clone_test.stderr.exp 2011-03-05 21:50:21.017714817 -0600
+++ clone_test.stderr.out 2011-03-05 22:12:04.466839945 -0600
@@ -1,12 +0,0 @@
-# Thread 1
-# Total intervals: 15 (Interval Size 100000)
-# Total instructions: 1501007
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-# Thread 2
-# Total intervals: 25 (Interval Size 100000)
-# Total instructions: 2500001
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/ll.stderr.diff
=================================================
--- ll.stderr.exp 2011-03-05 21:50:21.015579499 -0600
+++ ll.stderr.out 2011-03-05 22:12:04.509839976 -0600
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 39 (Interval Size 1000)
-# Total instructions: 39439
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/ll.stdout.diff
=================================================
--- ll.stdout.exp 2011-03-05 21:50:21.015579499 -0600
+++ ll.stdout.out 2011-03-05 22:12:04.503839769 -0600
@@ -1,17 +0,0 @@
-[0;1;37;47m#################################################################[0;30;47m#####[1;37m#########[1;37;40m
-[0;1;37;47m################################################################[0;30;47m#######[1;37m########[1;37;40m
-[0;1;37;47m###################[31m#[37m############################################[0;30;47m##[1;37mO[0;30;47m#[1;37mO[0;30;47m##[1;37m########[1;37;40m
-[0;1;37;47m##[0;30;47m######[1;37m##########[31m##[0;30;47m#[1;37m###########################################[0;30;47m#[1;33m#####[0;30;47m#[1;37m########[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#############[0;30;47m#[1;37m##########################################[0;30;47m##[1;37m##[33m###[37m##[0;30;47m##[1;37m######[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#########[31m###[37m###[0;30;47m###[1;37m#[0;30;47m####[1;37m###[0;30;47m###[1;37m####[0;30;47m###[1;37m##[0;30;47m#####[1;37m#[0;30;47m######[1;37m#####[0;30;47m#[1;37m##########[0;30;47m##[1;37m#####[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m########[31m#[37m##[31m#[0;30;47m#[1;37m###[0;30;47m###[1;37m####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m####[0;30;47m##[1;37m###[0;30;47m##[1;37m#######[0;30;47m#[1;37m############[0;30;47m##[1;37m####[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#######[31m#[37m###[31m#[0;30;47m#[1;37m###[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m######[0;30;47m###[1;37m#########[0;30;47m#[1;37m############[0;30;47m###[1;37m###[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m##########[31m##[0;30;47m#[1;37m###[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m######[0;30;47m###[1;37m########[33m##[0;30;47m#[1;37m###########[0;30;47m##[1;33m#[37m###[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#######[0;30;47m#[1;37m#[31m##[0;30;47m#[1;37m####[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m#####[0;30;47m##[1;37m#[0;30;47m##[1;37m#####[33m######[0;30;47m#[1;37m#######[30m#[33m######[37m#[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m######[0;30;47m##[1;37m#[31m##[0;30;47m#[1;37m#[0;30;47m#[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m###[1;37m###[0;30;47m###[1;37m####[0;30;47m##[1;37m###[0;30;47m##[1;37m####[33m#######[0;30;47m#[1;37m#####[0;30;47m#[1;33m#######[37m#[1;37;40m
-[0;1;37;47m##[0;30;47m############[1;37m##[0;30;47m###[1;37m##[0;30;47m####[1;37m###[0;30;47m####[1;37m###[0;30;47m####[1;37m#[0;30;47m###[1;37m#[0;30;47m#####[1;37m#[0;30;47m######[1;37m###[33m#####[30m#[0;30;47m#####[1m#[33m#####[37m###[1;37;40m
-
-[7CLinux Version 2.6.29, Compiled #1 SMP Mon May 4 09:51:54 EDT 2009
-[5COne 1665MHz AMD Athlon(tm) Processor, 512M RAM, 3330.53 Bogomips Total
-[37Ctobler[0m
-
=================================================
./valgrind-new/exp-bbv/tests/x86/complex_rep.stderr.diff
=================================================
--- complex_rep.stderr.exp 2011-03-05 21:50:22.872464615 -0600
+++ complex_rep.stderr.out 2011-03-05 22:12:04.353839734 -0600
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 100000)
-# Total instructions: 8206
-# Total reps: 2100228
-# Unique reps: 2052
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86/fldcw_check.stderr.diff
=================================================
--- fldcw_check.stderr.exp 2011-03-05 21:50:22.872464615 -0600
+++ fldcw_check.stderr.out 2011-03-05 22:12:04.379839799 -0600
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 10000)
-# Total instructions: 9261
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 2061
=================================================
./valgrind-new/exp-bbv/tests/x86/million.stderr.diff
=================================================
--- million.stderr.exp 2011-03-05 21:50:22.871464842 -0600
+++ million.stderr.out 2011-03-05 22:12:04.405839707 -0600
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 10 (Interval Size 100000)
-# Total instructions: 1000000
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86/rep_prefix.stderr.diff
=================================================
--- rep_prefix.stderr.exp 2011-03-05 21:50:22.870465273 -0600
+++ rep_prefix.stderr.out 2011-03-05 22:12:04.434840012 -0600
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 100000)
-# Total instructions: 124
-# Total reps: 229402
-# Unique reps: 26
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-ptrcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2011-03-05 21:49:46.266464725 -0600
+++ bad_percentify.stderr.out 2011-03-05 22:11:39.151600070 -0600
@@ -1,32 +1,29 @@
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:88)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" in frame 2 back from here
Actual: unknown
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:93)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" in frame 2 back from here
Actual: unknown
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:98)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" in frame 2 back from here
Actual: unknown
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2011-03-05 21:49:23.698714439 -0600
+++ tc06_two_races_xml.stderr.out 2011-03-05 22:09:25.025860528 -0600
@@ -44,7 +44,7 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>do_clone</fn>
+ <fn>do_clone.clone.0</fn>
</frame>
<frame>
<ip>0x........</ip>
@@ -122,11 +122,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
@@ -176,11 +171,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
@@ -230,11 +220,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
@@ -284,11 +269,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
=================================================
./valgrind-new/memcheck/tests/linux/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2011-03-05 21:52:12.274553996 -0600
+++ stack_switch.stderr.out 2011-03-05 22:06:38.511621220 -0600
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-03-05 21:52:26.137714465 -0600
+++ origin5-bz2.stderr.out 2011-03-05 22:06:58.507839901 -0600
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2011-03-05 21:52:26.196714482 -0600
+++ origin5-bz2.stderr.out 2011-03-05 22:06:58.507839901 -0600
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,8 +27,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -37,8 +38,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -47,8 +49,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -57,8 +60,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -67,8 +71,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -77,8 +82,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -87,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2011-03-05 21:52:26.135473118 -0600
+++ origin5-bz2.stderr.out 2011-03-05 22:06:58.507839901 -0600
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,7 +9,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -17,7 +17,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -25,7 +25,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -36,7 +36,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -47,7 +47,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -58,7 +58,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -69,7 +69,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -80,7 +80,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -91,7 +91,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -102,7 +102,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86-linux/bug133694.stderr.diff
=================================================
--- bug133694.stderr.exp 2011-03-05 21:51:03.670714326 -0600
+++ bug133694.stderr.out 2011-03-05 22:07:36.346485686 -0600
@@ -0,0 +1 @@
+valgrind: ./bug133694: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/bug133694.stdout.diff
=================================================
--- bug133694.stdout.exp 2011-03-05 21:51:03.664714956 -0600
+++ bug133694.stdout.out 2011-03-05 22:07:36.325475197 -0600
@@ -1 +0,0 @@
-success
=================================================
./valgrind-new/memcheck/tests/x86-linux/int3-x86.stderr.diff
=================================================
--- int3-x86.stderr.exp 2011-03-05 21:51:03.667714778 -0600
+++ int3-x86.stderr.out 2011-03-05 22:07:36.372485480 -0600
@@ -0,0 +1 @@
+valgrind: ./int3-x86: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/int3-x86.stdout.diff
=================================================
--- int3-x86.stdout.exp 2011-03-05 21:51:03.672714490 -0600
+++ int3-x86.stdout.out 2011-03-05 22:07:36.352475417 -0600
@@ -1,3 +0,0 @@
-main
-in int_handler, EIP is ...
-PASS
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar.stderr.diff
=================================================
--- scalar.stderr.exp 2011-03-05 21:51:03.670714326 -0600
+++ scalar.stderr.out 2011-03-05 22:07:36.399470227 -0600
@@ -1,3275 +1 @@
------------------------------------------------------
- 0:__NR_restart_syscall n/a
------------------------------------------------------
------------------------------------------------------
- 1: __NR_exit below
------------------------------------------------------
------------------------------------------------------
- 2: __NR_fork other
------------------------------------------------------
------------------------------------------------------
- 3: __NR_read 1+3s 1m
------------------------------------------------------
-Syscall param (syscallno) contains uninitialised byte(s)
- ...
-
-Syscall param read(fd) contains uninitialised byte(s)
- ...
-
-Syscall param read(buf) contains uninitialised byte(s)
- ...
-
-Syscall param read(count) contains uninitialised byte(s)
- ...
-
-Syscall param read(buf) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 4: __NR_write 3s 1m
------------------------------------------------------
-Syscall param write(fd) contains uninitialised byte(s)
- ...
-
-Syscall param write(buf) contains uninitialised byte(s)
- ...
-
-Syscall param write(count) contains uninitialised byte(s)
- ...
-
-Syscall param write(buf) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 5: __NR_open (2-args) 2s 1m
------------------------------------------------------
-Syscall param open(filename) contains uninitialised byte(s)
- ...
-
-Syscall param open(flags) contains uninitialised byte(s)
- ...
-
-Syscall param open(filename) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 5: __NR_open (3-args) 1s 0m
------------------------------------------------------
-Syscall param open(mode) contains uninitialised byte(s)
- ...
-
------------------------------------------------------
- 6: __NR_close 1s 0m
------------------------------------------------------
-Syscall param close(fd) contains uninitialised byte(s)
- ...
-
------------------------------------------------------
- 7: __NR_waitpid 3s 1m
------------------------------------------------------
-Syscall param waitpid(pid) contains uninitialised byte(s)
- ...
-
-Syscall param waitpid(status) contains uninitialised byte(s)
- ...
-
-Syscall param waitpid(options) contains uninitialised byte(s)
- ...
-
-Syscall param waitpid(status) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 8: __NR_creat 2s 1m
------------------------------------------------------
-Syscall param creat(pathname) contains uninitialised byte(s)
- ...
-
-Syscall param creat(mode) contains uninitialised byte(s)
- ...
-
-Syscall param creat(pathname) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar_exit_group.stderr.diff
=================================================
--- scalar_exit_group.stderr.exp 2011-03-05 21:51:03.671714530 -0600
+++ scalar_exit_group.stderr.out 2011-03-05 22:07:36.425475331 -0600
@@ -1,6 +1 @@
------------------------------------------------------
-252: __NR_exit_group 1s 0m
------------------------------------------------------
-Syscall param exit_group(status) contains uninitialised byte(s)
- ...
-
+valgrind: ./scalar_exit_group: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar_fork.stderr.diff
=================================================
--- scalar_fork.stderr.exp 2011-03-05 21:51:03.664714956 -0600
+++ scalar_fork.stderr.out 2011-03-05 22:07:36.453475231 -0600
@@ -1,3 +1 @@
------------------------------------------------------
- 2: __NR_fork 0e
------------------------------------------------------
+valgrind: ./scalar_fork: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar_supp.stderr.diff
=================================================
--- scalar_supp.stderr.exp 2011-03-05 21:51:03.671714530 -0600
+++ scalar_supp.stderr.out 2011-03-05 22:07:36.480465283 -0600
@@ -1,9 +1 @@
-Syscall param (syscallno) contains uninitialised byte(s)
- ...
-
-Syscall param write(fd) contains uninitialised byte(s)
- ...
-
-Syscall param write(count) contains uninitialised byte(s)
- ...
-
+valgrind: ./scalar_supp: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar_vfork.stderr.diff
=================================================
--- scalar_vfork.stderr.exp 2011-03-05 21:51:03.672714490 -0600
+++ scalar_vfork.stderr.out 2011-03-05 22:07:36.505485660 -0600
@@ -1,3 +1 @@
------------------------------------------------------
-190: __NR_vfork 0e
------------------------------------------------------
+valgrind: ./scalar_vfork: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/bug152022.stderr.diff
=================================================
--- bug152022.stderr.exp 2011-03-05 21:52:25.859714988 -0600
+++ bug152022.stderr.out 2011-03-05 22:07:35.828840011 -0600
@@ -0,0 +1 @@
+valgrind: ./bug152022: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/espindola2.stderr.diff
=================================================
--- espindola2.stderr.exp 2011-03-05 21:52:25.867714854 -0600
+++ espindola2.stderr.out 2011-03-05 22:07:35.854840394 -0600
@@ -0,0 +1 @@
+valgrind: ./espindola2: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/fpeflags.stderr.diff
=================================================
--- fpeflags.stderr.exp 2011-03-05 21:52:25.869719590 -0600
+++ fpeflags.stderr.out 2011-03-05 22:07:35.881870623 -0600
@@ -0,0 +1 @@
+valgrind: ./fpeflags: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/fprem.stderr.diff
=================================================
--- fprem.stderr.exp 2011-03-05 21:52:25.860714981 -0600
+++ fprem.stderr.out 2011-03-05 22:07:35.906841141 -0600
@@ -0,0 +1 @@
+valgrind: ./fprem: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/fprem.stdout.diff
=================================================
--- fprem.stdout.exp 2011-03-05 21:52:25.858715162 -0600
+++ fprem.stdout.out 2011-03-05 22:07:35.886881088 -0600
@@ -1,3 +0,0 @@
-fprem 0.693147
-fprem1 0.693147
-fsincos 0.130278
=================================================
./valgrind-new/memcheck/tests/x86/fxsave.stderr.diff
=================================================
--- fxsave.stderr.exp 2011-03-05 21:52:25.870714493 -0600
+++ fxsave.stderr.out 2011-03-05 22:07:35.934839879 -0600
@@ -0,0 +1 @@
+valgrind: ./fxsave: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/fxsave.stdout.diff
=================================================
--- fxsave.stdout.exp 2011-03-05 21:52:25.868714812 -0600
+++ fxsave.stdout.out 2011-03-05 22:07:35.914839678 -0600
@@ -1,104 +0,0 @@
-Re-run with any arg to suppress least-significant
- 16 bits of FP numbers
-
-BEFORE
- 0 7f 03 00 10 fc 00 00 00 00 00 00 00 00 00 00 00
- 16 00 00 00 00 00 00 00 00 80 1f 00 00 ff ff ff ff
- 32 xx xx 00 00 00 00 00 80 ff 3f 00 00 00 00 00 00
- 48 xx xx 68 21 a2 da 0f c9 00 40 00 00 00 00 00 00
- 64 xx xx cf fb 84 9a 20 9a fd 3f 00 00 00 00 00 00
- 80 xx xx cf d1 f7 17 72 b1 fe 3f 00 00 00 00 00 00
- 96 xx xx 00 00 00 00 00 80 ff 3f 00 00 00 00 00 00
-112 xx xx 68 21 a2 da 0f c9 00 40 00 00 00 00 00 00
-128 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-144 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-160 78 56 34 12 44 33 22 11 88 77 66 55 21 43 65 87
-176 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
-192 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-208 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-224 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-256 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-272 79 b9 f9 b9 99 ff 99 bb 99 77 99 bb 9b 9f 9b 97
-288 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-304 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-320 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-336 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-352 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-368 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-384 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-400 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-416 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-432 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-448 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-464 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-480 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-496 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-
-ZEROED
- 0 7f 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 16 00 00 00 00 00 00 00 00 80 1f 00 00 ff ff ff ff
- 32 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 48 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 64 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 80 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 96 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-112 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-128 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-144 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-176 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-192 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-208 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-224 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-256 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-272 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-288 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-304 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-320 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-336 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-352 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-368 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-384 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-400 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-416 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-432 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-448 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-464 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-480 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-496 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-
-RESTORED
- 0 7f 03 00 10 fc 00 00 00 00 00 00 00 00 00 00 00
- 16 00 00 00 00 00 00 00 00 80 1f 00 00 ff ff ff ff
- 32 xx xx 00 00 00 00 00 80 ff 3f 00 00 00 00 00 00
- 48 xx xx 68 21 a2 da 0f c9 00 40 00 00 00 00 00 00
- 64 xx xx cf fb 84 9a 20 9a fd 3f 00 00 00 00 00 00
- 80 xx xx cf d1 f7 17 72 b1 fe 3f 00 00 00 00 00 00
- 96 xx xx 00 00 00 00 00 80 ff 3f 00 00 00 00 00 00
-112 xx xx 68 21 a2 da 0f c9 00 40 00 00 00 00 00 00
-128 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-144 xx xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-160 78 56 34 12 44 33 22 11 88 77 66 55 21 43 65 87
-176 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
-192 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-208 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-224 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-256 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-272 79 b9 f9 b9 99 ff 99 bb 99 77 99 bb 9b 9f 9b 97
-288 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-304 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-320 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-336 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-352 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-368 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-384 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/insn_basic.stderr.diff
=================================================
--- insn_basic.stderr.exp 2011-03-05 21:56:44.768714509 -0600
+++ insn_basic.stderr.out 2011-03-05 22:07:35.960881313 -0600
@@ -0,0 +1 @@
+valgrind: ./../../../none/tests/x86/insn_basic: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/insn_basic.stdout.diff
=================================================
--- insn_basic.stdout.exp 2011-03-05 21:56:44.782714487 -0600
+++ insn_basic.stdout.out 2011-03-05 22:07:35.940839930 -0600
@@ -1,1056 +0,0 @@
-adcb_1 ... ok
-adcb_2 ... ok
-adcb_3 ... ok
-adcb_4 ... ok
-adcb_5 ... ok
-adcb_6 ... ok
-adcb_7 ... ok
-adcb_8 ... ok
-adcb_9 ... ok
-adcb_10 ... ok
-adcb_11 ... ok
-adcb_12 ... ok
-adcw_1 ... ok
-adcw_2 ... ok
-adcw_3 ... ok
-adcw_4 ... ok
-adcw_5 ... ok
-adcw_6 ... ok
-adcw_7 ... ok
-adcw_8 ... ok
-adcw_9 ... ok
-adcw_10 ... ok
-adcw_11 ... ok
-adcw_12 ... ok
-adcw_13 ... ok
-adcw_14 ... ok
-adcl_1 ... ok
-adcl_2 ... ok
-adcl_3 ... ok
-adcl_4 ... ok
-adcl_5 ... ok
-adcl_6 ... ok
-adcl_7 ... ok
-adcl_8 ... ok
-adcl_9 ... ok
-adcl_10 ... ok
-adcl_11 ... ok
-adcl_12 ... ok
-adcl_13 ... ok
-adcl_14 ... ok
-addb_1 ... ok
-addb_2 ... ok
-addb_3 ... ok
-addb_4 ... ok
-addb_5 ... ok
-addb_6 ... ok
-addw_1 ... ok
-addw_2 ... ok
-addw_3 ... ok
-addw_4 ... ok
-addw_5 ... ok
-addw_6 ... ok
-addw_7 ... ok
-addl_1 ... ok
-addl_2 ... ok
-addl_3 ... ok
-addl_4 ... ok
-addl_5 ... ok
-addl_6 ... ok
-addl_7 ... ok
-andb_1 ... ok
-andb_2 ... ok
-andb_3 ... ok
-andb_4 ... ok
-andb_5 ... ok
-andb_6 ... ok
-andw_1 ... ok
-andw_2 ... ok
-andw_3 ... ok
-andw_4 ... ok
-andw_5 ... ok
-andw_6 ... ok
-andw_7 ... ok
-andl_1 ... ok
-andl_2 ... ok
-andl_3 ... ok
-andl_4 ... ok
-andl_5 ... ok
-andl_6 ... ok
-andl_7 ... ok
-bsfw_1 ... ok
-bsfw_2 ... ok
-bsfl_1 ... ok
-bsfl_2 ... ok
-bsrw_1 ... ok
-bsrw_2 ... ok
-bsrl_1 ... ok
-bsrl_2 ... ok
-bswapl_1 ... ok
-btw_1 ... ok
-btw_2 ... ok
-btw_3 ... ok
-btw_4 ... ok
-btw_5 ... ok
-btw_6 ... ok
-btw_7 ... ok
-btw_8 ... ok
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/insn_cmov.stderr.diff
=================================================
--- insn_cmov.stderr.exp 2011-03-05 21:56:44.767714501 -0600
+++ insn_cmov.stderr.out 2011-03-05 22:07:35.985839908 -0600
@@ -0,0 +1 @@
+valgrind: ./../../../none/tests/x86/insn_cmov: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/insn_cmov.stdout.diff
=================================================
--- insn_cmov.stdout.exp 2011-03-05 21:56:44.780714480 -0600
+++ insn_cmov.stdout.out 2011-03-05 22:07:35.966870672 -0600
@@ -1,384 +0,0 @@
-cmova_1 ... ok
-cmova_2 ... ok
-cmova_3 ... ok
-cmova_4 ... ok
-cmova_5 ... ok
-cmova_6 ... ok
-cmova_7 ... ok
-cmova_8 ... ok
-cmovae_1 ... ok
-cmovae_2 ... ok
-cmovae_3 ... ok
-cmovae_4 ... ok
-cmovb_1 ... ok
-cmovb_2 ... ok
-cmovb_3 ... ok
-cmovb_4 ... ok
-cmovbe_1 ... ok
-cmovbe_2 ... ok
-cmovbe_3 ... ok
-cmovbe_4 ... ok
-cmovbe_5 ... ok
-cmovbe_6 ... ok
-cmovbe_7 ... ok
-cmovbe_8 ... ok
-cmovc_1 ... ok
-cmovc_2 ... ok
-cmovc_3 ... ok
-cmovc_4 ... ok
-cmove_1 ... ok
-cmove_2 ... ok
-cmove_3 ... ok
-cmove_4 ... ok
-cmovg_1 ... ok
-cmovg_2 ... ok
-cmovg_3 ... ok
-cmovg_4 ... ok
-cmovg_5 ... ok
-cmovg_6 ... ok
-cmovg_7 ... ok
-cmovg_8 ... ok
-cmovg_9 ... ok
-cmovg_10 ... ok
-cmovg_11 ... ok
-cmovg_12 ... ok
-cmovg_13 ... ok
-cmovg_14 ... ok
-cmovg_15 ... ok
-cmovg_16 ... ok
-cmovge_1 ... ok
-cmovge_2 ... ok
-cmovge_3 ... ok
-cmovge_4 ... ok
-cmovge_5 ... ok
-cmovge_6 ... ok
-cmovge_7 ... ok
-cmovge_8 ... ok
-cmovl_1 ... ok
-cmovl_2 ... ok
-cmovl_3 ... ok
-cmovl_4 ... ok
-cmovl_5 ... ok
-cmovl_6 ... ok
-cmovl_7 ... ok
-cmovl_8 ... ok
-cmovle_1 ... ok
-cmovle_2 ... ok
-cmovle_3 ... ok
-cmovle_4 ... ok
-cmovle_5 ... ok
-cmovle_6 ... ok
-cmovle_7 ... ok
-cmovle_8 ... ok
-cmovle_9 ... ok
-cmovle_10 ... ok
-cmovle_11 ... ok
-cmovle_12 ... ok
-cmovle_13 ... ok
-cmovle_14 ... ok
-cmovle_15 ... ok
-cmovle_16 ... ok
-cmovna_1 ... ok
-cmovna_2 ... ok
-cmovna_3 ... ok
-cmovna_4 ... ok
-cmovna_5 ... ok
-cmovna_6 ... ok
-cmovna_7 ... ok
-cmovna_8 ... ok
-cmovnae_1 ... ok
-cmovnae_2 ... ok
-cmovnae_3 ... ok
-cmovnae_4 ... ok
-cmovnb_1 ... ok
-cmovnb_2 ... ok
-cmovnb_3 ... ok
-cmovnb_4 ... ok
-cmovnbe_1 ... ok
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/insn_fpu.stderr.diff
=================================================
--- insn_fpu.stderr.exp 2011-03-05 21:56:44.773714606 -0600
+++ insn_fpu.stderr.out 2011-03-05 22:07:36.014839959 -0600
@@ -0,0 +1 @@
+valgrind: ./../../../none/tests/x86/insn_fpu: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/insn_fpu.stdout.diff
=================================================
--- insn_fpu.stdout.exp 2011-03-05 21:56:44.757714956 -0600
+++ insn_fpu.stdout.out 2011-03-05 22:07:35.993839641 -0600
@@ -1,452 +0,0 @@
-fabs_1 ... ok
-fabs_2 ... ok
-fabs_3 ... ok
-fabs_4 ... ok
-fadds_1 ... ok
-fadds_2 ... ok
-fadds_3 ... ok
-fadds_4 ... ok
-faddl_1 ... ok
-faddl_2 ... ok
-faddl_3 ... ok
-faddl_4 ... ok
-fadd_1 ... ok
-fadd_2 ... ok
-fadd_3 ... ok
-fadd_4 ... ok
-fadd_5 ... ok
-fadd_6 ... ok
-fadd_7 ... ok
-fadd_8 ... ok
-fadd_9 ... ok
-fadd_10 ... ok
-fadd_11 ... ok
-fadd_12 ... ok
-fadd_13 ... ok
-fadd_14 ... ok
-fadd_15 ... ok
-fadd_16 ... ok
-faddp_1 ... ok
-faddp_2 ... ok
-faddp_3 ... ok
-faddp_4 ... ok
-faddp_5 ... ok
-faddp_6 ... ok
-faddp_7 ... ok
-faddp_8 ... ok
-faddp_9 ... ok
-faddp_10 ... ok
-faddp_11 ... ok
-faddp_12 ... ok
-faddp_13 ... ok
-faddp_14 ... ok
-faddp_15 ... ok
-faddp_16 ... ok
-fiadds_1 ... ok
-fiadds_2 ... ok
-fiadds_3 ... ok
-fiadds_4 ... ok
-fiadds_5 ... ok
-fiadds_6 ... ok
-fiadds_7 ... ok
-fiadds_8 ... ok
-fiaddl_1 ... ok
-fiaddl_2 ... ok
-fiaddl_3 ... ok
-fiaddl_4 ... ok
-fiaddl_5 ... ok
-fiaddl_6 ... ok
-fiaddl_7 ... ok
-fiaddl_8 ... ok
-fcomi_1 ... ok
-fcomi_2 ... ok
-fcomi_3 ... ok
-fcomi_4 ... ok
-fcomi_5 ... ok
-fcomi_6 ... ok
-fcomip_1 ... ok
-fcomip_2 ... ok
-fcomip_3 ... ok
-fcomip_4 ... ok
-fcomip_5 ... ok
-fcomip_6 ... ok
-fucomi_1 ... ok
-fucomi_2 ... ok
-fucomi_3 ... ok
-fucomi_4 ... ok
-fucomi_5 ... ok
-fucomi_6 ... ok
-fucomip_1 ... ok
-fucomip_2 ... ok
-fucomip_3 ... ok
-fucomip_4 ... ok
-fucomip_5 ... ok
-fucomip_6 ... ok
-fchs_1 ... ok
-fchs_2 ... ok
-fchs_3 ... ok
-fchs_4 ... ok
-fdivs_1 ... ok
-fdivs_2 ... ok
-fdivs_3 ... ok
-fdivs_4 ... ok
-fdivl_1 ... ok
-fdivl_2 ... ok
-fdivl_3 ... ok
-fdivl_4 ... ok
-fdiv_1 ... ok
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/insn_mmx.stderr.diff
=================================================
--- insn_mmx.stderr.exp 2011-03-05 21:56:44.774714487 -0600
+++ insn_mmx.stderr.out 2011-03-05 22:07:36.042839963 -0600
@@ -0,0 +1 @@
+valgrind: ./../../../none/tests/x86/insn_mmx: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/insn_mmx.stdout.diff
=================================================
--- insn_mmx.stdout.exp 2011-03-05 21:56:44.759719648 -0600
+++ insn_mmx.stdout.out 2011-03-05 22:07:36.021839720 -0600
@@ -1,103 +0,0 @@
-movd_1 ... ok
-movd_2 ... ok
-movd_3 ... ok
-movd_4 ... ok
-movq_1 ... ok
-movq_2 ... ok
-movq_3 ... ok
-packssdw_1 ... ok
-packssdw_2 ... ok
-packsswb_1 ... ok
-packsswb_2 ... ok
-packuswb_1 ... ok
-packuswb_2 ... ok
-paddb_1 ... ok
-paddb_2 ... ok
-paddd_1 ... ok
-paddd_2 ... ok
-paddsb_1 ... ok
-paddsb_2 ... ok
-paddsw_1 ... ok
-paddsw_2 ... ok
-paddusb_1 ... ok
-paddusb_2 ... ok
-paddusw_1 ... ok
-paddusw_2 ... ok
-paddw_1 ... ok
-paddw_2 ... ok
-pand_1 ... ok
-pand_2 ... ok
-pandn_1 ... ok
-pandn_2 ... ok
-pcmpeqb_1 ... ok
-pcmpeqb_2 ... ok
-pcmpeqd_1 ... ok
-pcmpeqd_2 ... ok
-pcmpeqw_1 ... ok
-pcmpeqw_2 ... ok
-pcmpgtb_1 ... ok
-pcmpgtb_2 ... ok
-pcmpgtd_1 ... ok
-pcmpgtd_2 ... ok
-pcmpgtw_1 ... ok
-pcmpgtw_2 ... ok
-pmaddwd_1 ... ok
-pmaddwd_2 ... ok
-pmulhw_1 ... ok
-pmulhw_2 ... ok
-pmullw_1 ... ok
-pmullw_2 ... ok
-por_1 ... ok
-por_2 ... ok
-pslld_1 ... ok
-pslld_2 ... ok
-pslld_3 ... ok
-psllq_1 ... ok
-psllq_2 ... ok
-psllq_3 ... ok
-psllw_1 ... ok
-psllw_2 ... ok
-psllw_3 ... ok
-psrad_1 ... ok
-psrad_2 ... ok
-psrad_3 ... ok
-psraw_1 ... ok
-psraw_2 ... ok
-psraw_3 ... ok
-psrld_1 ... ok
-psrld_2 ... ok
-psrld_3 ... ok
-psrlq_1 ... ok
-psrlq_2 ... ok
-psrlq_3 ... ok
-psrlw_1 ... ok
-psrlw_2 ... ok
-psrlw_3 ... ok
-psubb_1 ... ok
-psubb_2 ... ok
-psubd_1 ... ok
-psubd_2 ... ok
-psubsb_1 ... ok
-psubsb_2 ... ok
-psubsw_1 ... ok
-psubsw_2 ... ok
-psubusb_1 ... ok
-psubusb_2 ... ok
-psubusw_1 ... ok
-psubusw_2 ... ok
-psubw_1 ... ok
-psubw_2 ... ok
-punpckhbw_1 ... ok
-punpckhbw_2 ... ok
-punpckhdq_1 ... ok
-punpckhdq_2 ... ok
-punpckhwd_1 ... ok
-punpckhwd_2 ... ok
-punpcklbw_1 ... ok
-punpcklbw_2 ... ok
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/insn_sse.stderr.diff
=================================================
--- insn_sse.stderr.exp 2011-03-05 21:56:44.762714554 -0600
+++ insn_sse.stderr.out 2011-03-05 22:07:36.069501065 -0600
@@ -0,0 +1 @@
+valgrind: ./../../../none/tests/x86/insn_sse: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/insn_sse.stdout.diff
=================================================
--- insn_sse.stdout.exp 2011-03-05 21:56:44.775714613 -0600
+++ insn_sse.stdout.out 2011-03-05 22:07:36.049464882 -0600
@@ -1,154 +0,0 @@
-addps_1 ... ok
-addps_2 ... ok
-addss_1 ... ok
-addss_2 ... ok
-andnps_1 ... ok
-andnps_2 ... ok
-andps_1 ... ok
-andps_2 ... ok
-cmpeqps_1 ... ok
-cmpeqps_2 ... ok
-cmpeqss_1 ... ok
-cmpeqss_2 ... ok
-cmpleps_1 ... ok
-cmpleps_2 ... ok
-cmpless_1 ... ok
-cmpless_2 ... ok
-cmpltps_1 ... ok
-cmpltps_2 ... ok
-cmpltss_1 ... ok
-cmpltss_2 ... ok
-cmpunordps_1 ... ok
-cmpunordps_2 ... ok
-cmpunordss_1 ... ok
-cmpunordss_2 ... ok
-cmpneqps_1 ... ok
-cmpneqps_2 ... ok
-cmpneqss_1 ... ok
-cmpneqss_2 ... ok
-cmpnleps_1 ... ok
-cmpnleps_2 ... ok
-cmpnless_1 ... ok
-cmpnless_2 ... ok
-cmpnltps_1 ... ok
-cmpnltps_2 ... ok
-cmpnltss_1 ... ok
-cmpnltss_2 ... ok
-cmpordps_1 ... ok
-cmpordps_2 ... ok
-cmpordss_1 ... ok
-cmpordss_2 ... ok
-comiss_1 ... ok
-comiss_2 ... ok
-comiss_3 ... ok
-comiss_4 ... ok
-comiss_5 ... ok
-comiss_6 ... ok
-cvtpi2ps_1 ... ok
-cvtpi2ps_2 ... ok
-cvtps2pi_1 ... ok
-cvtps2pi_2 ... ok
-cvtsi2ss_1 ... ok
-cvtsi2ss_2 ... ok
-cvtss2si_1 ... ok
-cvtss2si_2 ... ok
-cvttps2pi_1 ... ok
-cvttps2pi_2 ... ok
-cvttss2si_1 ... ok
-cvttss2si_2 ... ok
-divps_1 ... ok
-divps_2 ... ok
-divss_1 ... ok
-divss_2 ... ok
-maxps_1 ... ok
-maxps_2 ... ok
-maxss_1 ... ok
-maxss_2 ... ok
-minps_1 ... ok
-minps_2 ... ok
-minss_1 ... ok
-minss_2 ... ok
-movaps_1 ... ok
-movaps_2 ... ok
-movhlps_1 ... ok
-movhps_1 ... ok
-movhps_2 ... ok
-movlhps_1 ... ok
-movlps_1 ... ok
-movlps_2 ... ok
-movmskps_1 ... ok
-movntps_1 ... ok
-movntq_1 ... ok
-movss_1 ... ok
-movss_2 ... ok
-movss_3 ... ok
-movups_1 ... ok
-movups_2 ... ok
-mulps_1 ... ok
-mulps_2 ... ok
-mulss_1 ... ok
-mulss_2 ... ok
-orps_1 ... ok
-orps_2 ... ok
-pavgb_1 ... ok
-pavgb_2 ... ok
-pavgw_1 ... ok
-pavgw_2 ... ok
-pextrw_1 ... ok
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/insn_sse2.stderr.diff
=================================================
--- insn_sse2.stderr.exp 2011-03-05 21:56:44.767714501 -0600
+++ insn_sse2.stderr.out 2011-03-05 22:07:36.096485451 -0600
@@ -0,0 +1 @@
+valgrind: ./../../../none/tests/x86/insn_sse2: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/insn_sse2.stdout.diff
=================================================
--- insn_sse2.stdout.exp 2011-03-05 21:56:44.781714451 -0600
+++ insn_sse2.stdout.out 2011-03-05 22:07:36.075475227 -0600
@@ -1,343 +0,0 @@
-addpd_1 ... ok
-addpd_2 ... ok
-addsd_1 ... ok
-addsd_2 ... ok
-andpd_1 ... ok
-andpd_2 ... ok
-andnpd_1 ... ok
-andnpd_2 ... ok
-cmpeqpd_1 ... ok
-cmpeqpd_2 ... ok
-cmpltpd_1 ... ok
-cmpltpd_2 ... ok
-cmplepd_1 ... ok
-cmplepd_2 ... ok
-cmpunordpd_1 ... ok
-cmpunordpd_2 ... ok
-cmpneqpd_1 ... ok
-cmpneqpd_2 ... ok
-cmpnltpd_1 ... ok
-cmpnltpd_2 ... ok
-cmpnlepd_1 ... ok
-cmpnlepd_2 ... ok
-cmpordpd_1 ... ok
-cmpordpd_2 ... ok
-cmpeqsd_1 ... ok
-cmpeqsd_2 ... ok
-cmpltsd_1 ... ok
-cmpltsd_2 ... ok
-cmplesd_1 ... ok
-cmplesd_2 ... ok
-cmpunordsd_1 ... ok
-cmpunordsd_2 ... ok
-cmpneqsd_1 ... ok
-cmpneqsd_2 ... ok
-cmpnltsd_1 ... ok
-cmpnltsd_2 ... ok
-cmpnlesd_1 ... ok
-cmpnlesd_2 ... ok
-cmpordsd_1 ... ok
-cmpordsd_2 ... ok
-comisd_1 ... ok
-comisd_2 ... ok
-comisd_3 ... ok
-comisd_4 ... ok
-comisd_5 ... ok
-comisd_6 ... ok
-cvtdq2pd_1 ... ok
-cvtdq2pd_2 ... ok
-cvtdq2ps_1 ... ok
-cvtdq2ps_2 ... ok
-cvtpd2dq_1 ... ok
-cvtpd2dq_2 ... ok
-cvtpd2pi_1 ... ok
-cvtpd2pi_2 ... ok
-cvtpd2ps_1 ... ok
-cvtpd2ps_2 ... ok
-cvtpi2pd_1 ... ok
-cvtpi2pd_2 ... ok
-cvtps2dq_1 ... ok
-cvtps2dq_2 ... ok
-cvtps2pd_1 ... ok
-cvtps2pd_2 ... ok
-cvtsd2si_1 ... ok
-cvtsd2si_2 ... ok
-cvtsd2ss_1 ... ok
-cvtsd2ss_2 ... ok
-cvtsi2sd_1 ... ok
-cvtsi2sd_2 ... ok
-cvtss2sd_1 ... ok
-cvtss2sd_2 ... ok
-cvttpd2pi_1 ... ok
-cvttpd2pi_2 ... ok
-cvttpd2dq_1 ... ok
-cvttpd2dq_2 ... ok
-cvttps2dq_1 ... ok
-cvttps2dq_2 ... ok
-cvttsd2si_1 ... ok
-cvttsd2si_2 ... ok
-divpd_1 ... ok
-divpd_2 ... ok
-divsd_1 ... ok
-divsd_2 ... ok
-lfence_1 ... ok
-maxpd_1 ... ok
-maxpd_2 ... ok
-maxsd_1 ... ok
-maxsd_2 ... ok
-mfence_1 ... ok
-minpd_1 ... ok
-minpd_2 ... ok
-minsd_1 ... ok
-minsd_2 ... ok
-movapd_1 ... ok
-movapd_2 ... ok
-movd_1 ... ok
-movd_2 ... ok
-movd_3 ... ok
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/more_x86_fp.stderr.diff
=================================================
--- more_x86_fp.stderr.exp 2011-03-05 21:52:25.863714800 -0600
+++ more_x86_fp.stderr.out 2011-03-05 22:07:36.124485673 -0600
@@ -0,0 +1 @@
+valgrind: ./more_x86_fp: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86/more_x86_fp.stdout.diff
=================================================
--- more_x86_fp.stdout.exp 2011-03-05 21:52:25.861714850 -0600
+++ more_x86_fp.stdout.out 2011-03-05 22:07:36.103465107 -0600
@@ -1,175 +0,0 @@
-a=2.000000 b=3.000000 a+b=5.000000
-a=2.000000 b=3.000000 a-b=-1.000000
-a=2.000000 b=3.000000 a*b=6.000000
-a=2.000000 b=3.000000 a/b=0.666667
-a=2.000000 b=3.000000 fmod(a, b)=2.000000
-a=2.000000 sqrt(a)=1.414214
-a=2.000000 sin(a)=0.909297
-a=2.000000 cos(a)=-0.416147
-a=2.000000 tan(a)=-2.185040
-a=2.000000 log(a)=0.693147
-a=2.000000 exp(a)=7.389056
-a=2.000000 b=3.000000 atan2(a, b)=0.588003
-a=2.000000 asin(sin(a))=1.141593
-a=2.000000 acos(cos(a))=2.000000
-a=2.000000 atan(tan(a))=-1.141593
-a=1.400000 b=-5.000000 a+b=-3.600000
-a=1.400000 b=-5.000000 a-b=6.400000
-a=1.400000 b=-5.000000 a*b=-7.000000
-a=1.400000 b=-5.000000 a/b=-0.280000
-a=1.400000 b=-5.000000 fmod(a, b)=1.400000
-a=1.400000 sqrt(a)=1.183216
-a=1.400000 sin(a)=0.985450
-a=1.400000 cos(a)=0.169967
-a=1.400000 tan(a)=5.797884
-a=1.400000 log(a)=0.336472
-a=1.400000 exp(a)=4.055200
-a=1.400000 b=-5.000000 atan2(a, b)=2.868584
-a=1.400000 asin(sin(a))=1.400000
-a=1.400000 acos(cos(a))=1.400000
-a=1.400000 atan(tan(a))=1.400000
-(2.000000<-1.000000)=0
-(2.000000<=-1.000000)=0
-(2.000000==-1.000000)=0
-(2.000000>-1.000000)=1
-(2.000000<=-1.000000)=1
-fcomi(2.000000 -1.000000)=00000000
-(2.000000<2.000000)=0
-(2.000000<=2.000000)=1
-(2.000000==2.000000)=1
-(2.000000>2.000000)=0
-(2.000000<=2.000000)=1
-fcomi(2.000000 2.000000)=00000040
-(2.000000<3.000000)=1
-(2.000000<=3.000000)=1
-(2.000000==3.000000)=0
-(2.000000>3.000000)=0
-(2.000000<=3.000000)=0
-fcomi(2.000000 3.000000)=00000001
-(float)0.500000 = 0.500000
-(long double)0.500000 = 0.500000
-a=3fe0000000000000
-la=8000000000000000 3ffe
-(short)a = 0
-(int)a = 0
-(int64_t)a = 0
-rint(a) = 0.000000
-(short)a = 0
-(int)a = 0
-(int64_t)a = 0
-rint(a) = 0.000000
-(short)a = 1
-(int)a = 1
-(int64_t)a = 1
-rint(a) = 1.000000
-(short)a = 0
-(int)a = 0
-(int64_t)a = 0
-rint(a) = 0.000000
-(float)-0.500000 = -0.500000
-(long double)-0.500000 = -0.500000
-a=bfe0000000000000
-la=8000000000000000 bffe
-(short)a = 0
-(int)a = 0
-(int64_t)a = 0
-rint(a) = -0.000000
-(short)a = -1
-(int)a = -1
-(int64_t)a = -1
-rint(a) = -1.000000
-(short)a = 0
-(int)a = 0
-(int64_t)a = 0
-rint(a) = -0.000000
-(short)a = 0
-(int)a = 0
-(int64_t)a = 0
-rint(a) = -0.000000
-(float)0.142857 = 0.142857
-(long double)0.142857 = 0.142857
-a=3fc2492492492492
-la=9249249249249000 3ffc
-(short)a = 0
-(int)a = 0
-(int64_t)a = 0
-rint(a) = 0.000000
-(short)a = 0
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86/pushfpopf.stderr.diff
=================================================
--- pushfpopf.stderr.exp 2011-03-05 21:52:25.872714483 -0600
+++ pushfpopf.stderr.out 2011-03-05 22:07:36.153464887 -0600
@@ -1,8 +1 @@
-Conditional jump or move depends on uninitialised value(s)
- at 0x........: fooble (...)
- by 0x........: main (pushfpopf_c.c:12)
-
-Conditional jump or move depends on uninitialised value(s)
- at 0x........: fooble (...)
- by 0x........: main (p...
[truncated message content] |
|
From: Tom H. <th...@cy...> - 2011-03-06 03:52:30
|
Nightly build on vauxhall ( x86_64, Fedora 14 ) Started at 2011-03-06 03:20:07 GMT Ended at 2011-03-06 03:52:10 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 546 tests, 4 stderr failures, 0 stdout failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) exp-ptrcheck/tests/bad_percentify (stderr) |
|
From: Tom H. <th...@cy...> - 2011-03-06 03:39:51
|
Nightly build on mg ( x86_64, Fedora 9 ) Started at 2011-03-06 03:10:03 GMT Ended at 2011-03-06 03:39:29 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 565 tests, 3 stderr failures, 4 stdout failures, 0 post failures == none/tests/amd64/bug132918 (stdout) none/tests/amd64/fxtract (stdout) none/tests/amd64/sse4-64 (stdout) none/tests/x86/fxtract (stdout) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |
|
From: <sv...@va...> - 2011-03-05 16:01:02
|
Author: bart
Date: 2011-03-05 16:00:53 +0000 (Sat, 05 Mar 2011)
New Revision: 11595
Log:
DRD: added initial suppression list for Darwin 10.
Modified:
trunk/darwin10-drd.supp
Modified: trunk/darwin10-drd.supp
===================================================================
--- trunk/darwin10-drd.supp 2011-03-05 15:43:39 UTC (rev 11594)
+++ trunk/darwin10-drd.supp 2011-03-05 16:00:53 UTC (rev 11595)
@@ -1,2 +1,117 @@
+# DRD suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard
-# DRD suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard
+#
+# dyld
+#
+{
+ <insert_a_suppression_name_here>
+ drd:MutexErr
+ fun:pthread_mutex_unlock_intercept
+ fun:_dyld_register_func_for_remove_image
+}
+{
+ <insert_a_suppression_name_here>
+ drd:MutexErr
+ fun:pthread_mutex_init_intercept
+ fun:_Z24dyldGlobalLockInitializev
+ fun:_dyld_initializer
+}
+{
+ dyld_uninitialized_mutex
+ drd:MutexErr
+ fun:pthread_mutex_unlock
+ fun:_dyld_register_func_for_remove_image
+}
+{
+ dyld_stub_binder
+ drd:ConflictingAccess
+ ...
+ fun:_ZN26ImageLoaderMachOCompressed20doBindFastLazySymbolEjRKN11ImageLoader11LinkContextE
+ fun:_ZN4dyld18fastBindLazySymbolEPP11ImageLoaderm
+ fun:dyld_stub_binder
+}
+{
+ dyld_mutex_reinitialization
+ drd:MutexErr
+ fun:pthread_mutex_init
+ fun:_Z24dyldGlobalLockInitializev
+ fun:_dyld_initializer
+}
+
+#
+# C library
+#
+{
+ __umodti3
+ drd:ConflictingAccess
+ fun:__umodti3
+}
+{
+ fork()
+ drd:ConflictingAccess
+ ...
+ fun:_cthread_fork_child
+ fun:fork
+}
+{
+ flockfile
+ drd:ConflictingAccess
+ fun:flockfile
+}
+{
+ vfprintf_l
+ drd:ConflictingAccess
+ fun:vfprintf_l
+}
+{
+ cerror
+ drd:ConflictingAccess
+ ...
+ fun:cerror
+}
+
+#
+# pthread library
+#
+{
+ thread_start
+ drd:ConflictingAccess
+ obj:*
+ fun:thread_start
+}
+{
+ pthread_create()
+ drd:ConflictingAccess
+ ...
+ fun:pthread_create
+}
+{
+ pthread_join()
+ drd:ConflictingAccess
+ ...
+ fun:pthread_join
+ fun:pthread_join
+}
+{
+ _pthread_exit()
+ drd:ConflictingAccess
+ ...
+ fun:_pthread_exit
+}
+{
+ pthread_detach()
+ drd:ConflictingAccess
+ obj:*
+ fun:pthread_detach
+ fun:pthread_detach
+}
+{
+ spin_unlock()
+ drd:ConflictingAccess
+ fun:spin_unlock
+}
+{
+ _pthread_testcancel()
+ drd:ConflictingAccess
+ fun:_pthread_testcancel
+}
|
|
From: <sv...@va...> - 2011-03-05 15:43:50
|
Author: bart
Date: 2011-03-05 15:43:39 +0000 (Sat, 05 Mar 2011)
New Revision: 11594
Log:
Helgrind tests: ported tests tc23 and tc24 to Darwin/amd64 too.
Modified:
trunk/helgrind/tests/tc23_bogus_condwait.c
trunk/helgrind/tests/tc24_nonzero_sem.c
Modified: trunk/helgrind/tests/tc23_bogus_condwait.c
===================================================================
--- trunk/helgrind/tests/tc23_bogus_condwait.c 2011-03-05 15:42:44 UTC (rev 11593)
+++ trunk/helgrind/tests/tc23_bogus_condwait.c 2011-03-05 15:43:39 UTC (rev 11594)
@@ -9,8 +9,8 @@
pthread_mutex_t mx[4];
pthread_cond_t cv;
pthread_rwlock_t rwl;
-sem_t quit_now;
-static int my_sem_init(sem_t*, char*, int, unsigned);
+sem_t* quit_now;
+static sem_t* my_sem_init(char*, int, unsigned);
static int my_sem_destroy(sem_t*);
static int my_sem_wait(sem_t*); static int my_sem_post(sem_t*);
void* rescue_me ( void* uu )
@@ -31,14 +31,14 @@
sleep(1);
pthread_cond_signal( &cv );
- my_sem_wait( &quit_now );
+ my_sem_wait( quit_now );
return NULL;
}
void* grab_the_lock ( void* uu )
{
int r= pthread_mutex_lock( &mx[2] ); assert(!r);
- my_sem_wait( &quit_now );
+ my_sem_wait( quit_now );
r= pthread_mutex_unlock( &mx[2] ); assert(!r);
return NULL;
}
@@ -56,7 +56,7 @@
r= pthread_cond_init(&cv, NULL); assert(!r);
r= pthread_rwlock_init(&rwl, NULL); assert(!r);
- r= my_sem_init( &quit_now, "quit_now", 0,0 ); assert(!r);
+ quit_now = my_sem_init( "quit_now", 0,0 ); assert(quit_now);
r= pthread_create( &grabber, NULL, grab_the_lock, NULL ); assert(!r);
sleep(1); /* let the grabber get there first */
@@ -77,13 +77,13 @@
/* mx is held by someone else. */
r= pthread_cond_wait(&cv, &mx[2] );
- r= my_sem_post( &quit_now ); assert(!r);
- r= my_sem_post( &quit_now ); assert(!r);
+ r= my_sem_post( quit_now ); assert(!r);
+ r= my_sem_post( quit_now ); assert(!r);
r= pthread_join( my_rescuer, NULL ); assert(!r);
r= pthread_join( grabber, NULL ); assert(!r);
- r= my_sem_destroy( &quit_now ); assert(!r);
+ r= my_sem_destroy( quit_now ); assert(!r);
return 0;
}
@@ -94,58 +94,47 @@
-static int my_sem_init (sem_t* s, char* identity, int pshared, unsigned count)
+static sem_t* my_sem_init (char* identity, int pshared, unsigned count)
{
+ sem_t* s;
+
#if defined(VGO_linux)
- return sem_init(s, pshared, count);
+ s = malloc(sizeof(*s));
+ if (s) {
+ if (sem_init(s, pshared, count) < 0) {
+ perror("sem_init");
+ free(s);
+ s = NULL;
+ }
+ }
#elif defined(VGO_darwin)
char name[100];
- sem_t** fakeptr = (sem_t**)s;
- assert(sizeof(sem_t) >= sizeof(sem_t*));
- { int i; for (i = 0; i < sizeof(name); i++) name[i] = 0; }
sprintf(name, "anonsem_%s_pid%d", identity, (int)getpid());
name[ sizeof(name)-1 ] = 0;
if (0) printf("name = %s\n", name);
- *fakeptr = sem_open(name, O_CREAT, 0600, count);
- if (*fakeptr == (sem_t*)SEM_FAILED)
- return -1;
- else
- return 0;
+ s = sem_open(name, O_CREAT | O_EXCL, 0600, count);
+ if (s == SEM_FAILED) {
+ perror("sem_open");
+ s = NULL;
+ }
#else
# error "Unsupported OS"
#endif
+
+ return s;
}
static int my_sem_destroy ( sem_t* s )
{
-#if defined(VGO_linux)
return sem_destroy(s);
-#elif defined(VGO_darwin)
- sem_t** fakeptr = (sem_t**)s;
- return sem_close(*fakeptr);
-#else
-# error "Unsupported OS"
-#endif
}
static int my_sem_wait(sem_t* s)
{
-#if defined(VGO_linux)
return sem_wait(s);
-#elif defined(VGO_darwin)
- return sem_wait( *(sem_t**)s );
-#else
-# error "Unsupported OS"
-#endif
}
static int my_sem_post(sem_t* s)
{
-#if defined(VGO_linux)
return sem_post(s);
-#elif defined(VGO_darwin)
- return sem_post( *(sem_t**)s );
-#else
-# error "Unsupported OS"
-#endif
}
Modified: trunk/helgrind/tests/tc24_nonzero_sem.c
===================================================================
--- trunk/helgrind/tests/tc24_nonzero_sem.c 2011-03-05 15:42:44 UTC (rev 11593)
+++ trunk/helgrind/tests/tc24_nonzero_sem.c 2011-03-05 15:43:39 UTC (rev 11594)
@@ -2,15 +2,20 @@
nonzero initial value, when said semaphores are correctly used.
Also useful for generating VCG of simple semaphore activity, for
inspection. */
+
#include <stdio.h>
#include <pthread.h>
#include <semaphore.h>
#include <assert.h>
+#include <stdlib.h>
#include <unistd.h>
+
#define N_THREADS 3
-static int my_sem_init(sem_t*, char*, int, unsigned);
+
+static sem_t* my_sem_init(char*, int, unsigned);
static int my_sem_destroy(sem_t*);
static int my_sem_wait(sem_t*); //static int my_sem_post(sem_t*);
+
void* child_fn ( void* semV ) {
int r;
sem_t* sem = (sem_t*)semV;
@@ -21,13 +26,13 @@
int main ( void )
{
int r, i;
- sem_t sem;
+ sem_t* sem;
pthread_t child[N_THREADS];
- r= my_sem_init(&sem, "sem1", 0, N_THREADS); assert(!r);
+ sem= my_sem_init("sem1", 0, N_THREADS); assert(sem);
for (i = 0; i < N_THREADS; i++) {
- r= pthread_create( &child[i], NULL, child_fn, (void*)&sem );
+ r= pthread_create( &child[i], NULL, child_fn, sem );
assert(!r);
}
@@ -36,63 +41,54 @@
assert(!r);
}
- r= my_sem_destroy(&sem); assert(!r);
+ r= my_sem_destroy(sem); assert(!r);
return 0;
}
-static int my_sem_init (sem_t* s, char* identity, int pshared, unsigned count)
+static sem_t* my_sem_init (char* identity, int pshared, unsigned count)
{
+ sem_t* s;
+
#if defined(VGO_linux)
- return sem_init(s, pshared, count);
+ s = malloc(sizeof(*s));
+ if (s) {
+ if (sem_init(s, pshared, count) < 0) {
+ perror("sem_init");
+ free(s);
+ s = NULL;
+ }
+ }
#elif defined(VGO_darwin)
char name[100];
- sem_t** fakeptr = (sem_t**)s;
- assert(sizeof(sem_t) >= sizeof(sem_t*));
- { int i; for (i = 0; i < sizeof(name); i++) name[i] = 0; }
sprintf(name, "anonsem_%s_pid%d", identity, (int)getpid());
name[ sizeof(name)-1 ] = 0;
if (0) printf("name = %s\n", name);
- *fakeptr = sem_open(name, O_CREAT, 0600, count);
- if (*fakeptr == (sem_t*)SEM_FAILED)
- return -1;
- else
- return 0;
+ s = sem_open(name, O_CREAT | O_EXCL, 0600, count);
+ if (s == SEM_FAILED) {
+ perror("sem_open");
+ s = NULL;
+ }
#else
# error "Unsupported OS"
#endif
+
+ return s;
}
static int my_sem_destroy ( sem_t* s )
{
-#if defined(VGO_linux)
return sem_destroy(s);
-#elif defined(VGO_darwin)
- sem_t** fakeptr = (sem_t**)s;
- return sem_close(*fakeptr);
-#else
-# error "Unsupported OS"
-#endif
}
static int my_sem_wait(sem_t* s)
{
-#if defined(VGO_linux)
return sem_wait(s);
-#elif defined(VGO_darwin)
- return sem_wait( *(sem_t**)s );
-#else
-# error "Unsupported OS"
-#endif
}
-//static int my_sem_post(sem_t* s)
-//{
-//#if defined(VGO_linux)
-// return sem_post(s);
-//#elif defined(VGO_darwin)
-// return sem_post( *(sem_t**)s );
-//#else
-//# error "Unsupported OS"
-//#endif
-//}
+#if 0
+static int my_sem_post(sem_t* s)
+{
+ return sem_post(s);
+}
+#endif
|
|
From: <sv...@va...> - 2011-03-05 15:43:01
|
Author: bart Date: 2011-03-05 15:42:44 +0000 (Sat, 05 Mar 2011) New Revision: 11593 Log: DRD: Filter out PID from the semaphore name in the regression test output. Modified: trunk/drd/tests/filter_stderr Modified: trunk/drd/tests/filter_stderr =================================================================== --- trunk/drd/tests/filter_stderr 2011-03-05 15:14:50 UTC (rev 11592) +++ trunk/drd/tests/filter_stderr 2011-03-05 15:42:44 UTC (rev 11593) @@ -31,6 +31,7 @@ -e "s/ (\([a-zA-Z_]*\.c\):[0-9]*)/ (\1:?)/" \ -e "s/ (\([a-zA-Z_]*\.h\):[0-9]*)/ (\1:?)/" \ -e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" \ +-e "s/\( name [^ ]*\)-[0-9]*\( oflag \)/\1\2/" \ -e "/^For counts of detected and suppressed errors, rerun with: -v$/d" | # Remove the message that more than hundred errors have been detected |
|
From: <sv...@va...> - 2011-03-05 15:14:58
|
Author: bart
Date: 2011-03-05 15:14:50 +0000 (Sat, 05 Mar 2011)
New Revision: 11592
Log:
helgrind/tests/tc17_sembar: Works now on Darwin/amd64 too.
Modified:
trunk/helgrind/tests/tc17_sembar.c
Modified: trunk/helgrind/tests/tc17_sembar.c
===================================================================
--- trunk/helgrind/tests/tc17_sembar.c 2011-03-05 14:51:24 UTC (rev 11591)
+++ trunk/helgrind/tests/tc17_sembar.c 2011-03-05 15:14:50 UTC (rev 11592)
@@ -25,18 +25,18 @@
but it is used to create enough extra inter-thread dependencies
that the barrier-like behaviour of gomp_barrier_t is evident to
Thrcheck. There is no other purpose for the .xxx field. */
-static int my_sem_init(sem_t*, char*, int, unsigned);
+static sem_t* my_sem_init(char*, int, unsigned);
static int my_sem_destroy(sem_t*);
static int my_sem_wait(sem_t*); static int my_sem_post(sem_t*);
typedef struct
{
pthread_mutex_t mutex1;
pthread_mutex_t mutex2;
- sem_t sem1;
- sem_t sem2;
+ sem_t* sem1;
+ sem_t* sem2;
unsigned total;
unsigned arrived;
- sem_t xxx;
+ sem_t* xxx;
} gomp_barrier_t;
typedef long bool;
@@ -46,9 +46,9 @@
{
pthread_mutex_init (&bar->mutex1, NULL);
pthread_mutex_init (&bar->mutex2, NULL);
- my_sem_init (&bar->sem1, "sem1", 0, 0);
- my_sem_init (&bar->sem2, "sem2", 0, 0);
- my_sem_init (&bar->xxx, "xxx", 0, 0);
+ bar->sem1 = my_sem_init ("sem1", 0, 0);
+ bar->sem2 = my_sem_init ("sem2", 0, 0);
+ bar->xxx = my_sem_init ("xxx", 0, 0);
bar->total = count;
bar->arrived = 0;
}
@@ -62,9 +62,9 @@
pthread_mutex_destroy (&bar->mutex1);
pthread_mutex_destroy (&bar->mutex2);
- my_sem_destroy (&bar->sem1);
- my_sem_destroy (&bar->sem2);
- my_sem_destroy(&bar->xxx);
+ my_sem_destroy(bar->sem1);
+ my_sem_destroy(bar->sem2);
+ my_sem_destroy(bar->xxx);
}
void
@@ -91,17 +91,17 @@
{
{ unsigned int i;
for (i = 0; i < n; i++)
- my_sem_wait(&bar->xxx); // acquire an obvious dependency from
+ my_sem_wait(bar->xxx); // acquire an obvious dependency from
// all other threads arriving at the barrier
}
// 1 up n times, 2 down once
// now let all the other threads past the barrier, giving them
// an obvious dependency with this thread.
do
- my_sem_post (&bar->sem1); // 1 up
+ my_sem_post (bar->sem1); // 1 up
while (--n != 0);
// and wait till the last thread has left
- my_sem_wait (&bar->sem2); // 2 down
+ my_sem_wait (bar->sem2); // 2 down
}
pthread_mutex_unlock (&bar->mutex1);
/* Resultats professionnels! First we made this thread have an
@@ -115,16 +115,16 @@
else
{
pthread_mutex_unlock (&bar->mutex1);
- my_sem_post(&bar->xxx);
+ my_sem_post(bar->xxx);
// first N-1 threads wind up waiting here
- my_sem_wait (&bar->sem1); // 1 down
+ my_sem_wait (bar->sem1); // 1 down
pthread_mutex_lock (&bar->mutex2);
n = --bar->arrived; /* XXX see below */
pthread_mutex_unlock (&bar->mutex2);
if (n == 0)
- my_sem_post (&bar->sem2); // 2 up
+ my_sem_post (bar->sem2); // 2 up
}
}
@@ -218,58 +218,47 @@
-static int my_sem_init (sem_t* s, char* identity, int pshared, unsigned count)
+static sem_t* my_sem_init (char* identity, int pshared, unsigned count)
{
+ sem_t* s;
+
#if defined(VGO_linux)
- return sem_init(s, pshared, count);
+ s = malloc(sizeof(*s));
+ if (s) {
+ if (sem_init(s, pshared, count) < 0) {
+ perror("sem_init");
+ free(s);
+ s = NULL;
+ }
+ }
#elif defined(VGO_darwin)
char name[100];
- sem_t** fakeptr = (sem_t**)s;
- assert(sizeof(sem_t) >= sizeof(sem_t*));
- { int i; for (i = 0; i < sizeof(name); i++) name[i] = 0; }
sprintf(name, "anonsem_%s_pid%d", identity, (int)getpid());
name[ sizeof(name)-1 ] = 0;
if (0) printf("name = %s\n", name);
- *fakeptr = sem_open(name, O_CREAT, 0600, count);
- if (*fakeptr == (sem_t*)SEM_FAILED)
- return -1;
- else
- return 0;
+ s = sem_open(name, O_CREAT | O_EXCL, 0600, count);
+ if (s == SEM_FAILED) {
+ perror("sem_open");
+ s = NULL;
+ }
#else
# error "Unsupported OS"
#endif
+
+ return s;
}
static int my_sem_destroy ( sem_t* s )
{
-#if defined(VGO_linux)
return sem_destroy(s);
-#elif defined(VGO_darwin)
- sem_t** fakeptr = (sem_t**)s;
- return sem_close(*fakeptr);
-#else
-# error "Unsupported OS"
-#endif
}
static int my_sem_wait(sem_t* s)
{
-#if defined(VGO_linux)
return sem_wait(s);
-#elif defined(VGO_darwin)
- return sem_wait( *(sem_t**)s );
-#else
-# error "Unsupported OS"
-#endif
}
static int my_sem_post(sem_t* s)
{
-#if defined(VGO_linux)
return sem_post(s);
-#elif defined(VGO_darwin)
- return sem_post( *(sem_t**)s );
-#else
-# error "Unsupported OS"
-#endif
}
|
|
From: <sv...@va...> - 2011-03-05 14:51:35
|
Author: bart
Date: 2011-03-05 14:51:24 +0000 (Sat, 05 Mar 2011)
New Revision: 11591
Log:
DRD, Darwin: avoid triggering misaligned stack errors. Fixes #267552.
Modified:
trunk/drd/drd_pthread_intercepts.c
Modified: trunk/drd/drd_pthread_intercepts.c
===================================================================
--- trunk/drd/drd_pthread_intercepts.c 2011-03-05 14:49:12 UTC (rev 11590)
+++ trunk/drd/drd_pthread_intercepts.c 2011-03-05 14:51:24 UTC (rev 11591)
@@ -87,10 +87,25 @@
* @param[in] arg_decl Argument declaration list enclosed in parentheses.
* @param[in] argl Argument list enclosed in parentheses.
*/
+#ifdef VGO_darwin
+static int never_true;
#define PTH_FUNC(ret_ty, zf, implf, argl_decl, argl) \
ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl; \
ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl \
+ { \
+ ret_ty pth_func_result = implf argl; \
+ /* Apparently inserting a function call in wrapper functions */ \
+ /* is sufficient to avoid misaligned stack errors. */ \
+ if (never_true) \
+ fflush(stdout); \
+ return pth_func_result; \
+ }
+#else
+#define PTH_FUNC(ret_ty, zf, implf, argl_decl, argl) \
+ ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl; \
+ ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl \
{ return implf argl; }
+#endif
/**
* Macro for generating three Valgrind interception functions: one with the
|
|
From: <sv...@va...> - 2011-03-05 14:49:29
|
Author: bart
Date: 2011-03-05 14:49:12 +0000 (Sat, 05 Mar 2011)
New Revision: 11590
Log:
DRD tests, Darwin: check return value of sem_open().
Modified:
trunk/drd/tests/circular_buffer.c
trunk/drd/tests/pth_inconsistent_cond_wait.c
trunk/drd/tests/sem_open.c
Modified: trunk/drd/tests/circular_buffer.c
===================================================================
--- trunk/drd/tests/circular_buffer.c 2011-03-05 14:11:40 UTC (rev 11589)
+++ trunk/drd/tests/circular_buffer.c 2011-03-05 14:49:12 UTC (rev 11590)
@@ -60,7 +60,13 @@
static sem_t* create_semaphore(const char* const name, const int value)
{
#ifdef VGO_darwin
- sem_t* p = sem_open(name, O_CREAT, 0600, value);
+ char name_and_pid[32];
+ snprintf(name_and_pid, sizeof(name_and_pid), "%s-%d", name, getpid());
+ sem_t* p = sem_open(name_and_pid, O_CREAT | O_EXCL, 0600, value);
+ if (p == SEM_FAILED) {
+ perror("sem_open");
+ return NULL;
+ }
return p;
#else
sem_t* p = malloc(sizeof(*p));
Modified: trunk/drd/tests/pth_inconsistent_cond_wait.c
===================================================================
--- trunk/drd/tests/pth_inconsistent_cond_wait.c 2011-03-05 14:11:40 UTC (rev 11589)
+++ trunk/drd/tests/pth_inconsistent_cond_wait.c 2011-03-05 14:49:12 UTC (rev 11590)
@@ -45,7 +45,13 @@
static sem_t* create_semaphore(const char* const name)
{
#ifdef VGO_darwin
- sem_t* p = sem_open(name, O_CREAT, 0600, 0);
+ char name_and_pid[32];
+ snprintf(name_and_pid, sizeof(name_and_pid), "%s-%d", name, getpid());
+ sem_t* p = sem_open(name_and_pid, O_CREAT | O_EXCL, 0600, 0);
+ if (p == SEM_FAILED) {
+ perror("sem_open");
+ return NULL;
+ }
return p;
#else
sem_t* p = malloc(sizeof(*p));
Modified: trunk/drd/tests/sem_open.c
===================================================================
--- trunk/drd/tests/sem_open.c 2011-03-05 14:11:40 UTC (rev 11589)
+++ trunk/drd/tests/sem_open.c 2011-03-05 14:49:12 UTC (rev 11590)
@@ -58,8 +58,9 @@
* Use the ipcs and ipcrm commands to clean up named semaphores left by
* aborted instances of this process.
*/
- snprintf(semaphore_name, sizeof(semaphore_name), "drd-sem-open-test");
- s_sem = sem_open(semaphore_name, O_CREAT, 0600, 1);
+ snprintf(semaphore_name, sizeof(semaphore_name), "drd-sem-open-test-%d",
+ getpid());
+ s_sem = sem_open(semaphore_name, O_CREAT | O_EXCL, 0600, 1);
if (s_sem == SEM_FAILED)
{
fprintf(stderr, "Failed to create a semaphore with name %s\n",
|
|
From: <sv...@va...> - 2011-03-05 14:11:49
|
Author: bart
Date: 2011-03-05 14:11:40 +0000 (Sat, 05 Mar 2011)
New Revision: 11589
Log:
DRD tests: replaced __APPLE__ by VGO_darwin.
Modified:
trunk/drd/tests/circular_buffer.c
trunk/drd/tests/memory_allocation.c
trunk/drd/tests/pth_inconsistent_cond_wait.c
trunk/drd/tests/tsan_thread_wrappers_pthread.h
trunk/drd/tests/tsan_unittest.cpp
Modified: trunk/drd/tests/circular_buffer.c
===================================================================
--- trunk/drd/tests/circular_buffer.c 2011-03-05 12:12:04 UTC (rev 11588)
+++ trunk/drd/tests/circular_buffer.c 2011-03-05 14:11:40 UTC (rev 11589)
@@ -59,7 +59,7 @@
static sem_t* create_semaphore(const char* const name, const int value)
{
-#ifdef __APPLE__
+#ifdef VGO_darwin
sem_t* p = sem_open(name, O_CREAT, 0600, value);
return p;
#else
@@ -72,7 +72,7 @@
static void destroy_semaphore(const char* const name, sem_t* p)
{
-#ifdef __APPLE__
+#ifdef VGO_darwin
sem_close(p);
sem_unlink(name);
#else
Modified: trunk/drd/tests/memory_allocation.c
===================================================================
--- trunk/drd/tests/memory_allocation.c 2011-03-05 12:12:04 UTC (rev 11588)
+++ trunk/drd/tests/memory_allocation.c 2011-03-05 14:11:40 UTC (rev 11589)
@@ -26,7 +26,7 @@
* is zero, while Darwin's C library returns a non-NULL pointer. Both are
* allowed by POSIX.
*/
-#if defined(__APPLE__)
+#if defined(VGO_darwin)
if (p)
free(p);
#else
Modified: trunk/drd/tests/pth_inconsistent_cond_wait.c
===================================================================
--- trunk/drd/tests/pth_inconsistent_cond_wait.c 2011-03-05 12:12:04 UTC (rev 11588)
+++ trunk/drd/tests/pth_inconsistent_cond_wait.c 2011-03-05 14:11:40 UTC (rev 11589)
@@ -44,7 +44,7 @@
static sem_t* create_semaphore(const char* const name)
{
-#ifdef __APPLE__
+#ifdef VGO_darwin
sem_t* p = sem_open(name, O_CREAT, 0600, 0);
return p;
#else
@@ -57,7 +57,7 @@
static void destroy_semaphore(const char* const name, sem_t* p)
{
-#ifdef __APPLE__
+#ifdef VGO_darwin
sem_close(p);
sem_unlink(name);
#else
Modified: trunk/drd/tests/tsan_thread_wrappers_pthread.h
===================================================================
--- trunk/drd/tests/tsan_thread_wrappers_pthread.h 2011-03-05 12:12:04 UTC (rev 11588)
+++ trunk/drd/tests/tsan_thread_wrappers_pthread.h 2011-03-05 14:11:40 UTC (rev 11589)
@@ -51,7 +51,7 @@
#include <stdio.h>
#include <limits.h> // INT_MAX
-#ifdef __APPLE__
+#ifdef VGO_darwin
#include <libkern/OSAtomic.h>
#define NO_BARRIER
#define NO_TLS
@@ -106,7 +106,7 @@
#ifndef NO_SPINLOCK
/// helgrind does not (yet) support spin locks, so we annotate them.
-#ifndef __APPLE__
+#ifndef VGO_darwin
class SpinLock {
public:
SpinLock() {
@@ -151,7 +151,7 @@
private:
OSSpinLock mu_;
};
-#endif // __APPLE__
+#endif // VGO_darwin
#endif // NO_SPINLOCK
@@ -589,7 +589,7 @@
int AtomicIncrement(volatile int *value, int increment);
-#ifndef __APPLE__
+#ifndef VGO_darwin
inline int AtomicIncrement(volatile int *value, int increment) {
return __sync_add_and_fetch(value, increment);
}
@@ -608,7 +608,7 @@
*out = memalign(al, size);
return (*out == 0);
}
-#endif // __APPLE__
+#endif // VGO_darwin
#endif // THREAD_WRAPPERS_PTHREAD_H
// vim:shiftwidth=2:softtabstop=2:expandtab:foldmethod=marker
Modified: trunk/drd/tests/tsan_unittest.cpp
===================================================================
--- trunk/drd/tests/tsan_unittest.cpp 2011-03-05 12:12:04 UTC (rev 11588)
+++ trunk/drd/tests/tsan_unittest.cpp 2011-03-05 14:11:40 UTC (rev 11589)
@@ -93,7 +93,7 @@
#include <stdlib.h>
#include <dirent.h>
-#ifndef __APPLE__
+#ifndef VGO_darwin
#include <malloc.h>
#endif
@@ -4786,7 +4786,7 @@
// but the files are actually the same (symlinked).
sprintf(out_name, "/tmp/racecheck_unittest_out.%d", getpid());
fd_out = creat(out_name, O_WRONLY | S_IRWXU);
-#ifdef __APPLE__
+#ifdef VGO_darwin
// symlink() is not supported on Darwin. Copy the output file name.
strcpy(in_name, out_name);
#else
|
|
From: <sv...@va...> - 2011-03-05 12:12:14
|
Author: bart
Date: 2011-03-05 12:12:04 +0000 (Sat, 05 Mar 2011)
New Revision: 11588
Log:
Darwin: Re-enabled four regression tests.
Modified:
trunk/memcheck/tests/amd64/Makefile.am
trunk/none/tests/amd64/Makefile.am
Modified: trunk/memcheck/tests/amd64/Makefile.am
===================================================================
--- trunk/memcheck/tests/amd64/Makefile.am 2011-03-05 12:11:28 UTC (rev 11587)
+++ trunk/memcheck/tests/amd64/Makefile.am 2011-03-05 12:12:04 UTC (rev 11588)
@@ -21,14 +21,11 @@
check_PROGRAMS = \
bt_everything \
bug132146 \
+ fxsave-amd64 \
more_x87_fp \
sse_memory \
xor-undef-amd64
-if !VGCONF_OS_IS_DARWIN
-check_PROGRAMS += fxsave-amd64
-endif
-
AM_CFLAGS += @FLAG_M64@
AM_CXXFLAGS += @FLAG_M64@
AM_CCASFLAGS += @FLAG_M64@
Modified: trunk/none/tests/amd64/Makefile.am
===================================================================
--- trunk/none/tests/amd64/Makefile.am 2011-03-05 12:11:28 UTC (rev 11587)
+++ trunk/none/tests/amd64/Makefile.am 2011-03-05 12:12:04 UTC (rev 11588)
@@ -68,10 +68,12 @@
amd64locked \
bug127521-64 bug132813-amd64 bug132918 \
clc \
+ cmpxchg \
$(INSN_TESTS) \
rcl-amd64 \
redundantRexW \
smc1 \
+ sbbmisc \
nibz_bennee_mmap \
xadd
if BUILD_SSSE3_TESTS
@@ -80,11 +82,8 @@
if BUILD_LZCNT_TESTS
check_PROGRAMS += lzcnt64
endif
-if ! VGCONF_OS_IS_DARWIN
- check_sse42_extra = sse4-64
-endif
if BUILD_SSE42_TESTS
- check_PROGRAMS += pcmpstr64 pcmpxstrx64 crc32 $(check_sse42_extra)
+ check_PROGRAMS += pcmpstr64 pcmpxstrx64 sse4-64 crc32
endif
# DDD: these need to be made to work on Darwin like the x86/ ones were.
@@ -92,14 +91,12 @@
check_PROGRAMS += \
bug137714-amd64 \
bug156404-amd64 \
- cmpxchg \
faultstatus \
fcmovnu \
fxtract \
looper \
loopnel \
jrcxz \
- sbbmisc \
shrld \
slahf-amd64
endif
|
|
From: <sv...@va...> - 2011-03-05 12:11:42
|
Author: bart
Date: 2011-03-05 12:11:28 +0000 (Sat, 05 Mar 2011)
New Revision: 11587
Log:
Darwin: Build fixes for four regression tests by Rich Coe (see also #267488).
Modified:
trunk/memcheck/tests/amd64/fxsave-amd64.c
trunk/none/tests/amd64/cmpxchg.c
trunk/none/tests/amd64/sbbmisc.c
trunk/none/tests/amd64/sse4-64.c
Modified: trunk/memcheck/tests/amd64/fxsave-amd64.c
===================================================================
--- trunk/memcheck/tests/amd64/fxsave-amd64.c 2011-03-05 10:11:35 UTC (rev 11586)
+++ trunk/memcheck/tests/amd64/fxsave-amd64.c 2011-03-05 12:11:28 UTC (rev 11587)
@@ -45,6 +45,7 @@
"fldz\n\t"
"fldz\n\t"
"finit\n");
+#ifndef VGP_amd64_darwin
asm __volatile__("movups " VG_SYM(vecZ) ", %xmm0");
asm __volatile__("movups " VG_SYM(vecZ) ", %xmm1");
asm __volatile__("movups " VG_SYM(vecZ) ", %xmm2");
@@ -61,6 +62,24 @@
asm __volatile__("movups " VG_SYM(vecZ) ", %xmm13");
asm __volatile__("movups " VG_SYM(vecZ) ", %xmm14");
asm __volatile__("movups " VG_SYM(vecZ) ", %xmm15");
+#else
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm0");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm1");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm2");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm3");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm4");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm5");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm6");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm7");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm8");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm9");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm10");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm11");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm12");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm13");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm14");
+ asm __volatile__("movups " VG_SYM(vecZ) "(%rip), %xmm15");
+#endif
asm __volatile__(
"pushq $0\n\t"
"ldmxcsr 0(%rsp)\n\t"
Modified: trunk/none/tests/amd64/cmpxchg.c
===================================================================
--- trunk/none/tests/amd64/cmpxchg.c 2011-03-05 10:11:35 UTC (rev 11586)
+++ trunk/none/tests/amd64/cmpxchg.c 2011-03-05 12:11:28 UTC (rev 11587)
@@ -33,14 +33,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %bl,%cl \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
@@ -64,14 +77,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %bl,%cl \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
@@ -95,14 +121,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %bx,%cx \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
@@ -126,14 +165,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %bx,%cx \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
@@ -158,14 +210,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %ebx,%ecx \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
@@ -189,14 +254,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %ebx,%ecx \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
@@ -221,14 +299,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %rbx,%rcx \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
@@ -252,14 +343,27 @@
"\tpush %rcx\n"
"\tpush %rdx\n"
"\txor %rax, %rax\n" // get eflags in a known state
+#ifndef VGP_amd64_darwin
"\tmov " VG_SYM(rax) ",%rax\n"
"\tmov " VG_SYM(rbx) ",%rbx\n"
"\tmov " VG_SYM(rcx) ",%rcx\n"
"\tmov " VG_SYM(rdx) ",%rdx\n"
+#else
+ "\tmov " VG_SYM(rax) "(%rip),%rax\n"
+ "\tmov " VG_SYM(rbx) "(%rip),%rbx\n"
+ "\tmov " VG_SYM(rcx) "(%rip),%rcx\n"
+ "\tmov " VG_SYM(rdx) "(%rip),%rdx\n"
+#endif
"\tcmpxchg %rbx,%rcx \n"
+#ifndef VGP_amd64_darwin
"\tmov %rax," VG_SYM(rax_out) "\n"
"\tmov %rbx," VG_SYM(rbx_out) "\n"
"\tmov %rcx," VG_SYM(rcx_out) "\n"
+#else
+ "\tmov %rax," VG_SYM(rax_out) "(%rip)\n"
+ "\tmov %rbx," VG_SYM(rbx_out) "(%rip)\n"
+ "\tmov %rcx," VG_SYM(rcx_out) "(%rip)\n"
+#endif
"\tpop %rdx\n"
"\tpop %rcx\n"
"\tpop %rbx\n"
Modified: trunk/none/tests/amd64/sbbmisc.c
===================================================================
--- trunk/none/tests/amd64/sbbmisc.c 2011-03-05 10:11:35 UTC (rev 11586)
+++ trunk/none/tests/amd64/sbbmisc.c 2011-03-05 12:11:28 UTC (rev 11587)
@@ -11,15 +11,30 @@
asm("\n"
VG_SYM(sbb_ib_al) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
+
"\tclc\n"
"\tsbbb $5, %al\n"
+#ifndef VGP_amd64_darwin
"\tmovb %al, " VG_SYM(out_b1) "\n"
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tmovb %al, " VG_SYM(out_b1) "(%rip)\n"
+
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
"\tstc\n"
"\tsbbb $5, %al\n"
+#ifndef VGP_amd64_darwin
"\tmovb %al, " VG_SYM(out_b2) "\n"
+#else
+"\tmovb %al," VG_SYM(out_b2) "(%rip) \n"
+#endif
"\tretq\n"
);
@@ -29,15 +44,29 @@
asm("\n"
VG_SYM(sbb_iw_ax) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovw " VG_SYM(in_w) ", %ax\n"
+#else
+"\tmovw " VG_SYM(in_w) "(%rip), %ax\n"
+#endif
"\tclc\n"
"\tsbbw $555, %ax\n"
+#ifndef VGP_amd64_darwin
"\tmovw %ax, " VG_SYM(out_w1) "\n"
"\tmovw " VG_SYM(in_w) ", %ax\n"
+#else
+"\tmovw %ax, " VG_SYM(out_w1) "(%rip)\n"
+
+"\tmovw " VG_SYM(in_w) "(%rip), %ax\n"
+#endif
"\tstc\n"
"\tsbbw $555, %ax\n"
+#ifndef VGP_amd64_darwin
"\tmovw %ax, " VG_SYM(out_w2) "\n"
+#else
+"\tmovw %ax, " VG_SYM(out_w2) "(%rip)\n"
+#endif
"\tretq\n"
);
@@ -47,15 +76,29 @@
asm("\n"
VG_SYM(sbb_il_eax) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovl " VG_SYM(in_l) ", %eax\n"
+#else
+"\tmovl " VG_SYM(in_l) "(%rip), %eax\n"
+#endif
"\tclc\n"
"\tsbbl $555666, %eax\n"
+#ifndef VGP_amd64_darwin
"\tmovl %eax, " VG_SYM(out_l1) "\n"
"\tmovl " VG_SYM(in_l) ", %eax\n"
+#else
+"\tmovl %eax, " VG_SYM(out_l1) "(%rip)\n"
+
+"\tmovl " VG_SYM(in_l) "(%rip), %eax\n"
+#endif
"\tstc\n"
"\tsbbl $555666, %eax\n"
+#ifndef VGP_amd64_darwin
"\tmovl %eax, " VG_SYM(out_l2) "\n"
+#else
+"\tmovl %eax, " VG_SYM(out_l2) "(%rip)\n"
+#endif
"\tretq\n"
);
@@ -65,15 +108,31 @@
asm("\n"
VG_SYM(sbb_eb_gb) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
"\tclc\n"
+#ifndef VGP_amd64_darwin
"\tsbbb " VG_SYM(in_b2) ", %al\n"
"\tmovb %al, " VG_SYM(out_b1) "\n"
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tsbbb " VG_SYM(in_b2) "(%rip), %al\n"
+"\tmovb %al, " VG_SYM(out_b1) "(%rip)\n"
+
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
"\tstc\n"
+#ifndef VGP_amd64_darwin
"\tsbbb " VG_SYM(in_b2) ", %al\n"
"\tmovb %al, " VG_SYM(out_b2) "\n"
+#else
+"\tsbbb " VG_SYM(in_b2) "(%rip), %al\n"
+"\tmovb %al, " VG_SYM(out_b2) "(%rip)\n"
+#endif
"\tretq\n"
);
@@ -84,17 +143,33 @@
VG_SYM(sbb_eb_gb_2) ":\n"
"\tpushq %rcx\n"
+#ifndef VGP_amd64_darwin
"\tmovb " VG_SYM(in_b) ", %cl\n"
"\tmovb " VG_SYM(in_b2) ", %dh\n"
+#else
+"\tmovb " VG_SYM(in_b) "(%rip), %cl\n"
+"\tmovb " VG_SYM(in_b2) "(%rip), %dh\n"
+#endif
"\tclc\n"
"\tsbbb %dh,%cl\n"
+#ifndef VGP_amd64_darwin
"\tmovb %cl, " VG_SYM(out_b1) "\n"
"\tmovb " VG_SYM(in_b) ", %cl\n"
"\tmovb " VG_SYM(in_b2) ", %dh\n"
+#else
+"\tmovb %cl, " VG_SYM(out_b1) "(%rip)\n"
+
+"\tmovb " VG_SYM(in_b) "(%rip), %cl\n"
+"\tmovb " VG_SYM(in_b2) "(%rip), %dh\n"
+#endif
"\tstc\n"
"\tsbbb %dh,%cl\n"
+#ifndef VGP_amd64_darwin
"\tmovb %cl, " VG_SYM(out_b2) "\n"
+#else
+"\tmovb %cl, " VG_SYM(out_b2) "(%rip)\n"
+#endif
"\tpopq %rcx\n"
"\tretq\n"
@@ -105,15 +180,31 @@
asm("\n"
VG_SYM(adc_eb_gb) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
"\tclc\n"
+#ifndef VGP_amd64_darwin
"\tadcb " VG_SYM(in_b2) ", %al\n"
"\tmovb %al, " VG_SYM(out_b1) "\n"
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tadcb " VG_SYM(in_b2) "(%rip), %al\n"
+"\tmovb %al, " VG_SYM(out_b1) "(%rip)\n"
+
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
"\tstc\n"
+#ifndef VGP_amd64_darwin
"\tadcb " VG_SYM(in_b2) ", %al\n"
"\tmovb %al, " VG_SYM(out_b2) "\n"
+#else
+"\tadcb " VG_SYM(in_b2) "(%rip), %al\n"
+"\tmovb %al, " VG_SYM(out_b2) "(%rip)\n"
+#endif
"\tretq\n"
);
@@ -124,17 +215,33 @@
VG_SYM(adc_eb_gb_2) ":\n"
"\tpushq %rcx\n"
+#ifndef VGP_amd64_darwin
"\tmovb " VG_SYM(in_b) ", %cl\n"
"\tmovb " VG_SYM(in_b2) ", %dh\n"
+#else
+"\tmovb " VG_SYM(in_b) "(%rip), %cl\n"
+"\tmovb " VG_SYM(in_b2) "(%rip), %dh\n"
+#endif
"\tclc\n"
"\tadcb %dh,%cl\n"
+#ifndef VGP_amd64_darwin
"\tmovb %cl, " VG_SYM(out_b1) "\n"
"\tmovb " VG_SYM(in_b) ", %cl\n"
"\tmovb " VG_SYM(in_b2) ", %dh\n"
+#else
+"\tmovb %cl, " VG_SYM(out_b1) "(%rip)\n"
+
+"\tmovb " VG_SYM(in_b) "(%rip), %cl\n"
+"\tmovb " VG_SYM(in_b2) "(%rip), %dh\n"
+#endif
"\tstc\n"
"\tadcb %dh,%cl\n"
+#ifndef VGP_amd64_darwin
"\tmovb %cl, " VG_SYM(out_b2) "\n"
+#else
+"\tmovb %cl, " VG_SYM(out_b2) "(%rip)\n"
+#endif
"\tpopq %rcx\n"
"\tretq\n"
@@ -144,15 +251,29 @@
asm("\n"
VG_SYM(adc_ib_al) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
"\tclc\n"
"\tadcb $5, %al\n"
+#ifndef VGP_amd64_darwin
"\tmovb %al, " VG_SYM(out_b1) "\n"
"\tmovb " VG_SYM(in_b) ", %al\n"
+#else
+"\tmovb %al, " VG_SYM(out_b1) "(%rip)\n"
+
+"\tmovb " VG_SYM(in_b) "(%rip), %al\n"
+#endif
"\tstc\n"
"\tadcb $5, %al\n"
+#ifndef VGP_amd64_darwin
"\tmovb %al, " VG_SYM(out_b2) "\n"
+#else
+"\tmovb %al, " VG_SYM(out_b2) "(%rip)\n"
+#endif
"\tretq\n"
);
@@ -162,15 +283,29 @@
asm("\n"
VG_SYM(adc_iw_ax) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovw " VG_SYM(in_w) ", %ax\n"
+#else
+"\tmovw " VG_SYM(in_w) "(%rip), %ax\n"
+#endif
"\tclc\n"
"\tadcw $555, %ax\n"
+#ifndef VGP_amd64_darwin
"\tmovw %ax, " VG_SYM(out_w1) "\n"
"\tmovw " VG_SYM(in_w) ", %ax\n"
+#else
+"\tmovw %ax, " VG_SYM(out_w1) "(%rip)\n"
+
+"\tmovw " VG_SYM(in_w) "(%rip), %ax\n"
+#endif
"\tstc\n"
"\tadcw $555, %ax\n"
+#ifndef VGP_amd64_darwin
"\tmovw %ax, " VG_SYM(out_w2) "\n"
+#else
+"\tmovw %ax, " VG_SYM(out_w2) "(%rip)\n"
+#endif
"\tretq\n"
);
@@ -180,15 +315,29 @@
asm("\n"
VG_SYM(adc_il_eax) ":\n"
+#ifndef VGP_amd64_darwin
"\tmovl " VG_SYM(in_l) ", %eax\n"
+#else
+"\tmovl " VG_SYM(in_l) "(%rip), %eax\n"
+#endif
"\tclc\n"
"\tadcl $555666, %eax\n"
+#ifndef VGP_amd64_darwin
"\tmovl %eax, " VG_SYM(out_l1) "\n"
"\tmovl " VG_SYM(in_l) ", %eax\n"
+#else
+"\tmovl %eax, " VG_SYM(out_l1) "(%rip)\n"
+
+"\tmovl " VG_SYM(in_l) "(%rip), %eax\n"
+#endif
"\tstc\n"
"\tadcl $555666, %eax\n"
+#ifndef VGP_amd64_darwin
"\tmovl %eax, " VG_SYM(out_l2) "\n"
+#else
+"\tmovl %eax, " VG_SYM(out_l2) "(%rip)\n"
+#endif
"\tretq\n"
);
Modified: trunk/none/tests/amd64/sse4-64.c
===================================================================
--- trunk/none/tests/amd64/sse4-64.c 2011-03-05 10:11:35 UTC (rev 11586)
+++ trunk/none/tests/amd64/sse4-64.c 2011-03-05 12:11:28 UTC (rev 11587)
@@ -19,7 +19,11 @@
// rmme when reintegrated
// Allocates a 16-aligned block. Asserts if the allocation fails.
+#ifdef VGO_darwin
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
__attribute__((unused))
static void* memalign16(size_t szB)
{
@@ -2006,7 +2010,11 @@
"movq %0, %%rax" "\n\t"
"movq 0(%%rax), %%rdi" "\n\t"
"movq 8(%%rax), %%r11" "\n\t"
+#ifndef VGP_amd64_darwin
"popcntq %%rdi, %%r11" "\n\t"
+#else
+ "popcnt %%rdi, %%r11" "\n\t"
+#endif
"movq %%r11, 16(%%rax)" "\n\t"
"pushfq" "\n\t"
"popq %%r12" "\n\t"
@@ -2025,7 +2033,11 @@
__asm__ __volatile__(
"movq %0, %%rax" "\n\t"
"movq 8(%%rax), %%r11" "\n\t"
+#ifndef VGP_amd64_darwin
"popcntq 0(%%rax), %%r11" "\n\t"
+#else
+ "popcnt 0(%%rax), %%r11" "\n\t"
+#endif
"movq %%r11, 16(%%rax)" "\n\t"
"pushfq" "\n\t"
"popq %%r12" "\n\t"
@@ -2054,7 +2066,11 @@
"movq %0, %%rax" "\n\t"
"movq 0(%%rax), %%rdi" "\n\t"
"movq 8(%%rax), %%r11" "\n\t"
+#ifndef VGP_amd64_darwin
"popcntl %%edi, %%r11d" "\n\t"
+#else
+ "popcnt %%edi, %%r11d" "\n\t"
+#endif
"movq %%r11, 16(%%rax)" "\n\t"
"pushfq" "\n\t"
"popq %%r12" "\n\t"
@@ -2073,7 +2089,11 @@
__asm__ __volatile__(
"movq %0, %%rax" "\n\t"
"movq 8(%%rax), %%r11" "\n\t"
+#ifndef VGP_amd64_darwin
"popcntl 0(%%rax), %%r11d" "\n\t"
+#else
+ "popcnt 0(%%rax), %%r11d" "\n\t"
+#endif
"movq %%r11, 16(%%rax)" "\n\t"
"pushfq" "\n\t"
"popq %%r12" "\n\t"
@@ -2102,7 +2122,11 @@
"movq %0, %%rax" "\n\t"
"movq 0(%%rax), %%rdi" "\n\t"
"movq 8(%%rax), %%r11" "\n\t"
+#ifndef VGP_amd64_darwin
"popcntw %%di, %%r11w" "\n\t"
+#else
+ "popcnt %%di, %%r11w" "\n\t"
+#endif
"movq %%r11, 16(%%rax)" "\n\t"
"pushfq" "\n\t"
"popq %%r12" "\n\t"
@@ -2121,7 +2145,11 @@
__asm__ __volatile__(
"movq %0, %%rax" "\n\t"
"movq 8(%%rax), %%r11" "\n\t"
+#ifndef VGP_amd64_darwin
"popcntw 0(%%rax), %%r11w" "\n\t"
+#else
+ "popcnt 0(%%rax), %%r11w" "\n\t"
+#endif
"movq %%r11, 16(%%rax)" "\n\t"
"pushfq" "\n\t"
"popq %%r12" "\n\t"
|
|
From: <sv...@va...> - 2011-03-05 10:11:45
|
Author: bart Date: 2011-03-05 10:11:35 +0000 (Sat, 05 Mar 2011) New Revision: 11586 Log: Skip test programs that do not build on Darwin. Modified: trunk/memcheck/tests/amd64/Makefile.am trunk/none/tests/x86/Makefile.am Modified: trunk/memcheck/tests/amd64/Makefile.am =================================================================== --- trunk/memcheck/tests/amd64/Makefile.am 2011-03-05 10:10:24 UTC (rev 11585) +++ trunk/memcheck/tests/amd64/Makefile.am 2011-03-05 10:11:35 UTC (rev 11586) @@ -21,11 +21,14 @@ check_PROGRAMS = \ bt_everything \ bug132146 \ - fxsave-amd64 \ more_x87_fp \ sse_memory \ xor-undef-amd64 +if !VGCONF_OS_IS_DARWIN +check_PROGRAMS += fxsave-amd64 +endif + AM_CFLAGS += @FLAG_M64@ AM_CXXFLAGS += @FLAG_M64@ AM_CCASFLAGS += @FLAG_M64@ Modified: trunk/none/tests/x86/Makefile.am =================================================================== --- trunk/none/tests/x86/Makefile.am 2011-03-05 10:10:24 UTC (rev 11585) +++ trunk/none/tests/x86/Makefile.am 2011-03-05 10:11:35 UTC (rev 11586) @@ -74,8 +74,6 @@ bug152818-x86 \ cmpxchg8b \ cpuid \ - cse_fail \ - faultstatus \ fcmovnu \ fpu_lazy_eflags \ fxtract \ @@ -99,6 +97,9 @@ if BUILD_LZCNT_TESTS check_PROGRAMS += lzcnt32 endif +if !VGCONF_OS_IS_DARWIN + check_PROGRAMS += cse_fail faultstatus +endif AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE) |
|
From: <sv...@va...> - 2011-03-05 10:10:33
|
Author: bart Date: 2011-03-05 10:10:24 +0000 (Sat, 05 Mar 2011) New Revision: 11585 Log: Updated Subversion ignore lists. Modified: trunk/cachegrind/ trunk/coregrind/ trunk/drd/ trunk/lackey/ trunk/massif/ trunk/memcheck/tests/amd64/ trunk/none/ Property changes on: trunk/cachegrind ___________________________________________________________________ Name: svn:ignore - *.so .deps Makefile Makefile.in cachegrind-amd64-linux cachegrind-ppc32-linux cachegrind-ppc64-linux cachegrind-x86-darwin cachegrind-x86-linux cg_annotate cg_diff cg_merge + *.so .deps cachegrind-amd64-darwin cachegrind-amd64-linux cachegrind-ppc32-linux cachegrind-ppc64-linux cachegrind-x86-darwin cachegrind-x86-linux cg_annotate cg_diff cg_merge Makefile Makefile.in Property changes on: trunk/coregrind ___________________________________________________________________ Name: svn:ignore - *.a *.so .deps link_tool_exe_aix5 link_tool_exe_darwin link_tool_exe_linux Makefile Makefile.in no_op_client_for_valgrind stage2 stage2.lds valgrind vgpreload_core-x86-darwin.so.dSYM vg_intercept.c vg_replace_malloc.c vg_toolint.c vg_toolint.h + *.a *.dSYM *.so .deps link_tool_exe_aix5 link_tool_exe_darwin link_tool_exe_linux Makefile Makefile.in no_op_client_for_valgrind stage2 stage2.lds valgrind vgpreload_core-x86-darwin.so.dSYM vg_intercept.c vg_replace_malloc.c vg_toolint.c vg_toolint.h Property changes on: trunk/drd ___________________________________________________________________ Name: svn:ignore - *.dSYM .deps Makefile Makefile.in drd-amd64-linux drd-ppc32-linux drd-ppc64-linux drd-x86-darwin drd-x86-linux splash2 vgpreload_drd-amd64-linux.so vgpreload_drd-ppc32-linux.so vgpreload_drd-ppc64-linux.so vgpreload_drd-x86-darwin.so vgpreload_drd-x86-darwin.so.dSYM vgpreload_drd-x86-linux.so + *.dSYM .deps drd-amd64-darwin drd-amd64-linux drd-ppc32-linux drd-ppc64-linux drd-x86-darwin drd-x86-linux Makefile Makefile.in splash2 vgpreload_drd-amd64-linux.so vgpreload_drd-ppc32-linux.so vgpreload_drd-ppc64-linux.so vgpreload_drd-x86-darwin.so vgpreload_drd-x86-darwin.so.dSYM vgpreload_drd-x86-linux.so Property changes on: trunk/lackey ___________________________________________________________________ Name: svn:ignore - *.so .deps Makefile Makefile.in lackey-amd64-linux lackey-ppc32-linux lackey-ppc64-linux lackey-x86-darwin lackey-x86-linux + *.so .deps lackey-amd64-darwin lackey-amd64-linux lackey-ppc32-linux lackey-ppc64-linux lackey-x86-darwin lackey-x86-linux Makefile Makefile.in Property changes on: trunk/massif ___________________________________________________________________ Name: svn:ignore - *.dSYM *.so .deps Makefile Makefile.in massif-amd64-linux massif-ppc32-linux massif-ppc64-linux massif-x86-darwin massif-x86-linux ms_print vgpreload_massif-x86-darwin.so.dSYM + *.dSYM *.so .deps Makefile Makefile.in massif-amd64-darwin massif-amd64-linux massif-ppc32-linux massif-ppc64-linux massif-x86-darwin massif-x86-linux ms_print vgpreload_massif-x86-darwin.so.dSYM Property changes on: trunk/memcheck/tests/amd64 ___________________________________________________________________ Name: svn:ignore - bt_everything bug132146 defcfaexpr .deps fxsave-amd64 int3-amd64 Makefile Makefile.in more_x87_fp sse_memory xor-undef-amd64 + *.diff *.dSYM *.out .deps bt_everything bug132146 defcfaexpr fxsave-amd64 int3-amd64 Makefile Makefile.in more_x87_fp sse_memory xor-undef-amd64 Property changes on: trunk/none ___________________________________________________________________ Name: svn:ignore - *.so .deps Makefile Makefile.in none-amd64-linux none-ppc32-linux none-ppc64-linux none-x86-darwin none-x86-linux + *.so .deps Makefile Makefile.in none-amd64-darwin none-amd64-linux none-ppc32-linux none-ppc64-linux none-x86-darwin none-x86-linux |