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
(15) |
2
(15) |
3
(16) |
4
(16) |
5
(19) |
6
(15) |
|
7
(1) |
8
(4) |
9
|
10
(4) |
11
(14) |
12
(5) |
13
|
|
14
(1) |
15
|
16
|
17
(12) |
18
(25) |
19
(18) |
20
(18) |
|
21
(16) |
22
(1) |
23
(18) |
24
(15) |
25
|
26
(3) |
27
(18) |
|
28
(8) |
29
|
30
(4) |
|
|
|
|
|
From: Rich C. <rc...@wi...> - 2013-04-27 05:59:34
|
valgrind revision: 13380
VEX revision: 2716
C compiler: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
GDB: GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:30:16 UTC 2011)
Assembler:
C library: unknown
uname -mrs: Darwin 10.8.0 i386
Vendor version: unknown
Nightly build on macx86 ( Darwin 10.8.0 i386 )
Started at 2013-04-26 23:35:00 CDT
Ended at 2013-04-27 00:59:12 CDT
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
== 512 tests, 82 stderr failures, 4 stdout failures, 3 stderrB failures, 3 stdoutB failures, 1 post failure ==
gdbserver_tests/mchelp (stdoutB)
gdbserver_tests/mchelp (stderrB)
gdbserver_tests/mcinvokeRU (stdoutB)
gdbserver_tests/mcinvokeRU (stderrB)
gdbserver_tests/mcinvokeWS (stdoutB)
gdbserver_tests/mcinvokeWS (stderrB)
memcheck/tests/accounting (stderr)
memcheck/tests/badpoll (stderr)
memcheck/tests/big_blocks_freed_list (stderr)
memcheck/tests/bug287260 (stderr)
memcheck/tests/darwin/aio (stderr)
memcheck/tests/darwin/pth-supp (stderr)
memcheck/tests/darwin/scalar (stderr)
memcheck/tests/deep-backtrace (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/lks (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/mismatches (stderr)
memcheck/tests/null_socket (stdout)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/overlap (stdout)
memcheck/tests/overlap (stderr)
memcheck/tests/sem (stderr)
memcheck/tests/sendmsg (stderr)
memcheck/tests/test-plo-no (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/vbit-test/vbit-test (stderr)
memcheck/tests/vcpu_fnfns (stdout)
memcheck/tests/writev1 (stderr)
massif/tests/big-alloc (post)
massif/tests/pages_as_heap (stderr)
none/tests/allexec32 (stderr)
none/tests/allexec64 (stderr)
none/tests/async-sigs (stderr)
none/tests/cmdline5 (stderr)
none/tests/execve (stderr)
none/tests/faultstatus (stderr)
none/tests/mmap_fcntl_bug (stderr)
none/tests/nodir (stderr)
none/tests/pth_blockedsig (stderr)
none/tests/require-text-symbol-2 (stderr)
none/tests/rlimit64_nofile (stderr)
none/tests/shell_nosuchfile (stderr)
none/tests/x86/cse_fail (stdout)
helgrind/tests/annotate_hbefore (stderr)
helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/annotate_smart_pointer (stderr)
helgrind/tests/cond_init_destroy (stderr)
helgrind/tests/cond_timedwait_invalid (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/hg01_all_ok (stderr)
helgrind/tests/hg02_deadlock (stderr)
helgrind/tests/hg03_inherit (stderr)
helgrind/tests/hg04_race (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/hg06_readshared (stderr)
helgrind/tests/locked_vs_unlocked1_fwd (stderr)
helgrind/tests/locked_vs_unlocked1_rev (stderr)
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/locked_vs_unlocked3 (stderr)
helgrind/tests/pth_cond_destroy_busy (stderr)
helgrind/tests/pth_destroy_cond (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/t2t_laog (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc02_simple_tls (stderr)
helgrind/tests/tc03_re_excl (stderr)
helgrind/tests/tc04_free_lock (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc07_hbl1 (stderr)
helgrind/tests/tc08_hbl2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc10_rec_lock (stderr)
helgrind/tests/tc11_XCHG (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc13_laog1 (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc15_laog_lockdel (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc17_sembar (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
helgrind/tests/tc24_nonzero_sem (stderr)
drd/tests/annotate_barrier_xml (stderr)
drd/tests/hg03_inherit (stderr)
drd/tests/tc23_bogus_condwait (stderr)
=================================================
./valgrind-new/drd/tests/annotate_barrier_xml.stderr.diff
=================================================
--- annotate_barrier_xml.stderr.exp 2013-04-27 00:37:08.000000000 -0500
+++ annotate_barrier_xml.stderr.out 2013-04-27 00:56:16.000000000 -0500
@@ -188,7 +188,7 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
</stack>
<auxwhat>Address 0x........ is at offset 0 from 0x.........</auxwhat>
=================================================
./valgrind-new/drd/tests/hg03_inherit.stderr.diff
=================================================
--- hg03_inherit.stderr.exp 2013-04-27 00:37:08.000000000 -0500
+++ hg03_inherit.stderr.out 2013-04-27 00:57:17.000000000 -0500
@@ -12,5 +12,10 @@
Location 0x........ is 0 bytes inside shared[1],
a global variable declared at hg03_inherit.c:11
+Conflicting load by thread 3 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: _pthread_free_pthread_onstack (in /...libc...)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-amd64
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-amd64 2013-04-27 00:37:08.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2013-04-27 00:58:44.000000000 -0500
@@ -70,7 +70,7 @@
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)
+ by 0x........: raise (in /...libc...)
+ by 0x........: abort (in /...libc...)
ERROR SUMMARY: 10 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-x86 2013-04-27 00:37:08.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2013-04-27 00:58:44.000000000 -0500
@@ -66,5 +66,11 @@
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........: raise (in /...libc...)
+ by 0x........: abort (in /...libc...)
ERROR SUMMARY: 10 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-ppc 2013-04-27 00:37:08.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2013-04-27 00:58:44.000000000 -0500
@@ -3,6 +3,13 @@
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:?)
@@ -11,15 +18,11 @@
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 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)
@@ -27,19 +30,6 @@
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: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)
-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)
@@ -50,7 +40,7 @@
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........: 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:?)
@@ -76,5 +66,11 @@
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........: raise (in /...libc...)
+ by 0x........: abort (in /...libc...)
-ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 10 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-x86 2013-04-27 00:37:08.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2013-04-27 00:58:44.000000000 -0500
@@ -3,16 +3,6 @@
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)
@@ -23,7 +13,7 @@
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........: 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:?)
@@ -40,19 +30,6 @@
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)
@@ -63,7 +40,7 @@
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........: 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:?)
@@ -89,5 +66,11 @@
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........: raise (in /...libc...)
+ by 0x........: abort (in /...libc...)
-ERROR SUMMARY: 12 errors from 10 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 10 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mchelp.stderrB.diff
=================================================
--- mchelp.stderrB.exp 2013-04-27 00:24:30.000000000 -0500
+++ mchelp.stderrB.out 2013-04-27 00:45:08.000000000 -0500
@@ -1,5 +0,0 @@
-sending command help to pid ....
-sending command help debug to pid ....
-sending command v.kill to pid ....
-readchar: Got EOF
-error reading packet
=================================================
./valgrind-new/gdbserver_tests/mchelp.stdoutB.diff
=================================================
--- mchelp.stdoutB.exp 2013-04-27 00:24:30.000000000 -0500
+++ mchelp.stdoutB.out 2013-04-27 00:45:08.000000000 -0500
@@ -1,96 +0,0 @@
-general valgrind monitor commands:
- help [debug] : monitor command help. With debug: + debugging commands
- v.wait [<ms>] : sleep <ms> (default 0) then continue
- v.info all_errors : show all errors found so far
- v.info last_error : show last error found
- v.info n_errs_found : show the nr of errors found so far
- v.info open_fds : show open file descriptors (only if --track-fds=yes)
- v.kill : kill the Valgrind process
- v.set gdb_output : set valgrind output to gdb
- v.set log_output : set valgrind output to log
- v.set mixed_output : set valgrind output to log, interactive output to gdb
- v.set merge-recursive-frames <num> : merge recursive calls in max <num> frames
- v.set vgdb-error <errornr> : debug me at error >= <errornr>
-
-memcheck monitor commands:
- get_vbits <addr> [<len>]
- returns validity bits for <len> (or 1) bytes at <addr>
- bit values 0 = valid, 1 = invalid, __ = unaddressable byte
- Example: get_vbits 0x........ 10
- make_memory [noaccess|undefined
- |defined|Definedifaddressable] <addr> [<len>]
- mark <len> (or 1) bytes at <addr> with the given accessibility
- check_memory [addressable|defined] <addr> [<len>]
- check that <len> (or 1) bytes at <addr> have the given accessibility
- and outputs a description of <addr>
- leak_check [full*|summary]
- [kinds kind1,kind2,...|reachable|possibleleak*|definiteleak]
- [increased*|changed|any]
- [unlimited*|limited <max_loss_records_output>]
- * = defaults
- where kind is one of definite indirect possible reachable all none
- Examples: leak_check
- leak_check summary any
- leak_check full kinds indirect,possible
- leak_check full reachable any limited 100
- block_list <loss_record_nr>
- after a leak search, shows the list of blocks of <loss_record_nr>
- who_points_at <addr> [<len>]
- shows places pointing inside <len> (default 1) bytes at <addr>
- (with len 1, only shows "start pointers" pointing exactly to <addr>,
- with len > 1, will also show "interior pointers")
-
-general valgrind monitor commands:
- help [debug] : monitor command help. With debug: + debugging commands
- v.wait [<ms>] : sleep <ms> (default 0) then continue
- v.info all_errors : show all errors found so far
- v.info last_error : show last error found
- v.info n_errs_found : show the nr of errors found so far
- v.info open_fds : show open file descriptors (only if --track-fds=yes)
- v.kill : kill the Valgrind process
- v.set gdb_output : set valgrind output to gdb
- v.set log_output : set valgrind output to log
- v.set mixed_output : set valgrind output to log, interactive output to gdb
- v.set merge-recursive-frames <num> : merge recursive calls in max <num> frames
- v.set vgdb-error <errornr> : debug me at error >= <errornr>
-debugging valgrind internals monitor commands:
- v.do expensive_sanity_check_general : do an expensive sanity check now
- v.info gdbserver_status : show gdbserver status
- v.info memory [aspacemgr] : show valgrind heap memory stats
- (with aspacemgr arg, also shows valgrind segments on log ouput)
- v.info exectxt : show stacktraces and stats of all execontexts
- v.info scheduler : show valgrind thread state and stacktrace
- v.set debuglog <level> : set valgrind debug log level to <level>
- v.translate <addr> [<traceflags>] : debug translation of <addr> with <traceflags>
- (default traceflags 0b00100000 : show after instrumentation)
- An additional flag 0b100000000 allows to show gdbserver instrumentation
-
-memcheck monitor commands:
- get_vbits <addr> [<len>]
- returns validity bits for <len> (or 1) bytes at <addr>
- bit values 0 = valid, 1 = invalid, __ = unaddressable byte
- Example: get_vbits 0x........ 10
- make_memory [noaccess|undefined
- |defined|Definedifaddressable] <addr> [<len>]
- mark <len> (or 1) bytes at <addr> with the given accessibility
- check_memory [addressable|defined] <addr> [<len>]
- check that <len> (or 1) bytes at <addr> have the given accessibility
- and outputs a description of <addr>
- leak_check [full*|summary]
- [kinds kind1,kind2,...|reachable|possibleleak*|definiteleak]
- [increased*|changed|any]
- [unlimited*|limited <max_loss_records_output>]
- * = defaults
- where kind is one of definite indirect possible reachable all none
- Examples: leak_check
- leak_check summary any
- leak_check full kinds indirect,possible
- leak_check full reachable any limited 100
- block_list <loss_record_nr>
- after a leak search, shows the list of blocks of <loss_record_nr>
- who_points_at <addr> [<len>]
- shows places pointing inside <len> (default 1) bytes at <addr>
- (with len 1, only shows "start pointers" pointing exactly to <addr>,
- with len > 1, will also show "interior pointers")
-
-monitor command request to kill this process
=================================================
./valgrind-new/gdbserver_tests/mcinvokeRU.stderrB.diff
=================================================
--- mcinvokeRU.stderrB.exp 2013-04-27 00:24:30.000000000 -0500
+++ mcinvokeRU.stderrB.out 2013-04-27 00:45:39.000000000 -0500
@@ -1,14 +1,11 @@
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.kill to pid ....
-readchar: Got EOF
-error reading packet
+./invoker: line 17: 96935 Bus error ./vgdb "$@"
+./invoker: line 17: 96937 Bus error ./vgdb "$@"
+./invoker: line 17: 96939 Bus error ./vgdb "$@"
+./invoker: line 17: 96941 Bus error ./vgdb "$@"
+./invoker: line 17: 96943 Bus error ./vgdb "$@"
+./invoker: line 17: 96945 Bus error ./vgdb "$@"
+./invoker: line 17: 96947 Bus error ./vgdb "$@"
+./invoker: line 17: 96949 Bus error ./vgdb "$@"
+./invoker: line 17: 96951 Bus error ./vgdb "$@"
+./invoker: line 17: 96953 Bus error ./vgdb "$@"
+./invoker: line 19: 96955 Bus error ./vgdb "$@" -c v.kill
=================================================
./valgrind-new/gdbserver_tests/mcinvokeRU.stdoutB.diff
=================================================
--- mcinvokeRU.stdoutB.exp 2013-04-27 00:24:30.000000000 -0500
+++ mcinvokeRU.stdoutB.out 2013-04-27 00:45:38.000000000 -0500
@@ -1,23 +0,0 @@
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-monitor command request to kill this process
=================================================
./valgrind-new/gdbserver_tests/mcinvokeWS.stderrB.diff
=================================================
--- mcinvokeWS.stderrB.exp 2013-04-27 00:24:30.000000000 -0500
+++ mcinvokeWS.stderrB.out 2013-04-27 00:46:09.000000000 -0500
@@ -1,14 +1,11 @@
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.wait 0 to pid ....
-sending command v.kill to pid ....
-readchar: Got EOF
-error reading packet
+./invoker: line 17: 97073 Bus error ./vgdb "$@"
+./invoker: line 17: 97075 Bus error ./vgdb "$@"
+./invoker: line 17: 97077 Bus error ./vgdb "$@"
+./invoker: line 17: 97079 Bus error ./vgdb "$@"
+./invoker: line 17: 97081 Bus error ./vgdb "$@"
+./invoker: line 17: 97083 Bus error ./vgdb "$@"
+./invoker: line 17: 97085 Bus error ./vgdb "$@"
+./invoker: line 17: 97087 Bus error ./vgdb "$@"
+./invoker: line 17: 97089 Bus error ./vgdb "$@"
+./invoker: line 17: 97091 Bus error ./vgdb "$@"
+./invoker: line 19: 97093 Bus error ./vgdb "$@" -c v.kill
=================================================
./valgrind-new/gdbserver_tests/mcinvokeWS.stdoutB.diff
=================================================
--- mcinvokeWS.stdoutB.exp 2013-04-27 00:24:30.000000000 -0500
+++ mcinvokeWS.stdoutB.out 2013-04-27 00:46:08.000000000 -0500
@@ -1,23 +0,0 @@
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-gdbserver: continuing in 0 ms ...
-gdbserver: continuing after wait ...
-monitor command request to kill this process
=================================================
./valgrind-new/helgrind/tests/annotate_hbefore.stderr.diff
=================================================
--- annotate_hbefore.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ annotate_hbefore.stderr.out 2013-04-27 00:54:40.000000000 -0500
@@ -0,0 +1,954 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_hbefore.c:367)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_hbefore.c:367)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_hbefore.c:367)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_hbefore.c:367)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 2 at 0x........ by thread #x
+Locks held: none
+ ...
+
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/annotate_rwlock.stderr.diff
=================================================
--- annotate_rwlock.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ annotate_rwlock.stderr.out 2013-04-27 00:54:43.000000000 -0500
@@ -1,17 +1,191 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_rwlock.c:164)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_rwlock.c:164)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_rwlock.c:164)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (annotate_rwlock.c:164)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 2 at 0x........ by thread #x
+Locks held: none
+ ...
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/annotate_smart_pointer.stderr.diff
=================================================
--- annotate_smart_pointer.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ annotate_smart_pointer.stderr.out 2013-04-27 00:54:45.000000000 -0500
@@ -1,4 +1,1133 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145)
+ by 0x........: main (annotate_smart_pointer.cpp:319)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145)
+ by 0x........: main (annotate_smart_pointer.cpp:319)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145)
+ by 0x........: main (annotate_smart_pointer.cpp:319)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145)
+ by 0x........: main (annotate_smart_pointer.cpp:319)
+
+----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/cond_init_destroy.stderr.diff
=================================================
--- cond_init_destroy.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ cond_init_destroy.stderr.out 2013-04-27 00:54:46.000000000 -0500
@@ -1,3 +1,54 @@
+---Thread-Announcement------------------------------------------
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of unknown cond var
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy (hg_intercepts.c:...)
+ by 0x........: main (cond_init_destroy.c:6)
+
+
+ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/cond_timedwait_invalid.stderr.diff
=================================================
--- cond_timedwait_invalid.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ cond_timedwait_invalid.stderr.out 2013-04-27 00:54:47.000000000 -0500
@@ -5,11 +5,51 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_cond_timedwait failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
+ by 0x........: pthread_cond_timedwait$* (hg_intercepts.c:...)
by 0x........: main (cond_timedwait_invalid.c:22)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ free_is_write.stderr.out 2013-04-27 00:54:49.000000000 -0500
@@ -1,16 +1,277 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
Start.
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
by 0x........: main (free_is_write.c:32)
----Thread-Announcement------------------------------------------
+----------------------------------------------------------------
-Thread #x is the program's root thread
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (free_is_write.c:32)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (free_is_write.c:32)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (free_is_write.c:32)
+
+----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/hg01_all_ok.stderr.diff
=================================================
--- hg01_all_ok.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ hg01_all_ok.stderr.out 2013-04-27 00:54:50.000000000 -0500
@@ -1,3 +1,1042 @@
+---Thread-Announcement------------------------------------------
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg01_all_ok.c:25)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg01_all_ok.c:25)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg01_all_ok.c:25)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg01_all_ok.c:25)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 2 at 0x........ by thread #x
+Locks held: none
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/hg02_deadlock.stderr.diff
=================================================
--- hg02_deadlock.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ hg02_deadlock.stderr.out 2013-04-27 00:54:51.000000000 -0500
@@ -1,14 +1,334 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg02_deadlock.c:35)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg02_deadlock.c:35)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg02_deadlock.c:35)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg02_deadlock.c:35)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 2 at 0x........ by thread #x
+Locks held: none
+ ...
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/hg03_inherit.stderr.diff
=================================================
--- hg03_inherit.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ hg03_inherit.stderr.out 2013-04-27 00:54:55.000000000 -0500
@@ -1,15 +1,593 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg03_inherit.c:44)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg03_inherit.c:44)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg03_inherit.c:44)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg03_inherit.c:44)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 2 at 0x........ by thread #x
+Locks held: none
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/hg04_race.stderr.diff
=================================================
--- hg04_race.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ hg04_race.stderr.out 2013-04-27 00:54:57.000000000 -0500
@@ -1,43 +1,347 @@
---Thread-Announcement------------------------------------------
-Thread #x was created
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg04_race.c:21)
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
by 0x........: main (hg04_race.c:19)
----------------------------------------------------------------
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
- at 0x........: th (hg04_race.c:10)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous write of size 4 by thread #x
Locks held: none
- at 0x........: th (hg04_race.c:10)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg04_race.c:19)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
...
-Location 0x........ is 0 bytes inside global var "shared"
-declared at hg04_race.c:6
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create (hg_intercepts.c:...)
+ by 0x........: main (hg04_race.c:19)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2013-04-27 00:22:09.000000000 -0500
+++ hg05_race2.stderr.out 2013-04-27 00:54:59.000000000 -0500
@@ -1,43 +1,347 @@
---Thread-Announcement------------------------------------------
-Thread #x was created
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+
+-----------------------------------------...
[truncated message content] |
|
From: Philippe W. <phi...@sk...> - 2013-04-27 03:49:46
|
valgrind revision: 13380 VEX revision: 2716 C compiler: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) GDB: GNU gdb (GDB) Fedora (7.5.1-37.fc18) Assembler: GNU assembler version 2.23.51.0.1-7.fc18 20120806 C library: GNU C Library stable release version 2.16 uname -mrs: Linux 3.7.2-204.fc18.ppc64 ppc64 Vendor version: Fedora release 18 (Spherical Cow) Nightly build on gcc110 ( Fedora release 18 (Spherical Cow), ppc64 ) Started at 2013-04-26 20:00:16 PDT Ended at 2013-04-26 20:49:31 PDT 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 == 552 tests, 31 stderr failures, 3 stdout failures, 0 stderrB failures, 0 stdoutB failures, 2 post failures == memcheck/tests/linux/getregset (stdout) memcheck/tests/linux/getregset (stderr) memcheck/tests/ppc64/power_ISA2_05 (stdout) memcheck/tests/supp_unknown (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) massif/tests/big-alloc (post) massif/tests/deep-D (post) helgrind/tests/annotate_rwlock (stderr) helgrind/tests/free_is_write (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/locked_vs_unlocked1_fwd (stderr) helgrind/tests/locked_vs_unlocked1_rev (stderr) helgrind/tests/locked_vs_unlocked2 (stderr) helgrind/tests/locked_vs_unlocked3 (stderr) helgrind/tests/pth_barrier1 (stderr) helgrind/tests/pth_barrier2 (stderr) helgrind/tests/pth_barrier3 (stderr) helgrind/tests/pth_destroy_cond (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <to...@co...> - 2013-04-27 03:33:57
|
valgrind revision: 13380 VEX revision: 2716 C compiler: gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) GDB: Assembler: GNU assembler version 2.18.50.0.6-2 20080403 C library: GNU C Library stable release version 2.8 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 9 (Sulphur) Nightly build on bristol ( x86_64, Fedora 9 ) Started at 2013-04-27 03:53:08 BST Ended at 2013-04-27 04:33:37 BST 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 == 627 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/amd64/insn-pcmpistri (stderr) none/tests/amd64/sse4-64 (stdout) |
|
From: Tom H. <to...@co...> - 2013-04-27 03:17:55
|
valgrind revision: 13380 VEX revision: 2716 C compiler: gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) GDB: Assembler: GNU assembler version 2.19.51.0.14-3.fc11 20090722 C library: GNU C Library stable release version 2.10.2 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 11 (Leonidas) Nightly build on bristol ( x86_64, Fedora 11 ) Started at 2013-04-27 03:42:03 BST Ended at 2013-04-27 04:17:38 BST 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 == 631 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/sse4-64 (stdout) |
|
From: Tom H. <to...@co...> - 2013-04-27 03:17:44
|
valgrind revision: 13380 VEX revision: 2716 C compiler: gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2) GDB: Assembler: GNU assembler version 2.20.51.0.2-20.fc13 20091009 C library: GNU C Library stable release version 2.12.2 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 13 (Goddard) Nightly build on bristol ( x86_64, Fedora 13 ) Started at 2013-04-27 03:32:34 BST Ended at 2013-04-27 04:17:33 BST 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 == 631 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/pth_barrier3 (stderr) |
|
From: Tom H. <to...@co...> - 2013-04-27 03:09:30
|
valgrind revision: 13380 VEX revision: 2716 C compiler: gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) GDB: GNU gdb (GDB) Fedora (7.2-52.fc14) Assembler: GNU assembler version 2.20.51.0.7-8.fc14 20100318 C library: GNU C Library stable release version 2.13 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 14 (Laughlin) Nightly build on bristol ( x86_64, Fedora 14 ) Started at 2013-04-27 03:22:05 BST Ended at 2013-04-27 04:09:14 BST 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 == 650 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Rich C. <rc...@wi...> - 2013-04-27 03:06:10
|
valgrind revision: 13380
VEX revision: 2716
C compiler: gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]
GDB: GNU gdb (GDB) SUSE (7.5.1-2.1.1)
Assembler: GNU assembler (GNU Binutils; openSUSE 12.3) 2.23.1
C library: GNU C Library (GNU libc) stable release version 2.17 (git c758a6861537)
uname -mrs: Linux 3.7.9-1.1-desktop x86_64
Vendor version: Welcome to openSUSE 12.3 "Dartmouth" Beta 1 - Kernel %r (%t).
Nightly build on ultra ( gcc 4.5.1 Linux 3.7.9-1.1-desktop x86_64 )
Started at 2013-04-26 21:30:01 CDT
Ended at 2013-04-26 22:05:56 CDT
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
== 645 tests, 4 stderr failures, 2 stdout failures, 4 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/mcbreak (stdout)
gdbserver_tests/mcbreak (stdoutB)
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcinfcallRU (stderr)
gdbserver_tests/mcinfcallWSRU (stderr)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcmain_pic (stdout)
gdbserver_tests/mcmain_pic (stderr)
gdbserver_tests/mcmain_pic (stdoutB)
gdbserver_tests/mcmain_pic (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/origin5-bz2 (stderr)
=================================================
./valgrind-new/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2013-04-26 21:53:34.219587979 -0500
+++ mcbreak.stderrB.out 2013-04-26 21:56:43.910317736 -0500
@@ -1,7 +1,28 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
vgdb-error value changed from 999999 to 0
-n_errs_found 1 n_errs_shown 1 (vgdb-error 0)
-vgdb-error value changed from 0 to 0
-monitor command request to kill this process
-Remote connection closed
+The program being debugged exited while in a function called from GDB.
+Evaluation of the expression containing the function
+(whoami) will be abandoned.
+No symbol "i" in current context.
+No registers.
+No registers.
+The program is not being run.
+You can't do that without a process to debug.
+No symbol "i" in current context.
+The program is not being run.
+You can't do that without a process to debug.
+No symbol "i" in current context.
+The program is not being run.
+You can't do that without a process to debug.
+No symbol "i" in current context.
+You can't do that without a process to debug.
+The program is not being run.
+The program is not being run.
+The program is not being run.
+The program is not being run.
+"monitor" command not supported by this target.
+No registers.
+"monitor" command not supported by this target.
+The program is not being run.
+"monitor" command not supported by this target.
=================================================
./valgrind-new/gdbserver_tests/mcbreak.stdout.diff
=================================================
--- mcbreak.stdout.exp 2013-04-26 21:53:34.242587340 -0500
+++ mcbreak.stdout.out 2013-04-26 21:56:43.774321515 -0500
@@ -1,8 +0,0 @@
-pid .... Thread .... first
-pid .... Thread .... second
-pid .... Thread .... third
-pid .... Thread .... fourth
-pid .... Thread .... after next: inferior call pushed from mcbreak.stdinB.gdb
-pid .... Thread .... called from level
-called from level int_und is not zero
-pid .... Thread .... called from main
=================================================
./valgrind-new/gdbserver_tests/mcbreak.stdoutB.diff
=================================================
--- mcbreak.stdoutB.exp 2013-04-26 21:53:34.242587340 -0500
+++ mcbreak.stdoutB.out 2013-04-26 21:56:43.876318681 -0500
@@ -12,43 +12,10 @@
113 for (i = len-1; i >= 0; i=i-2)
old_pc has changed after step
114 undefined[i] = undef;
-$1 = void
+Program terminated with signal SIGSEGV, Segmentation fault.
+The program no longer exists.
+$1 = "undefined"
$2 = "undefined"
-$3 = 8
-113 for (i = len-1; i >= 0; i=i-2)
-old_pc has changed after step
-114 undefined[i] = undef;
-old_pc has changed after step
-113 for (i = len-1; i >= 0; i=i-2)
-$4 = void
-$5 = "undefi?e?"
-$6 = 6
-114 undefined[i] = undef;
-$7 = void
-$8 = "undefi?e?"
-$9 = 4
-113 for (i = len-1; i >= 0; i=i-2)
-$10 = void
-$11 = "unde?i?e?"
-$12 = 4
-$13 = 1
-$14 = void
-Continuing.
-Breakpoint 2, main (argc=1, argv=0x........) at t.c:117
-117 breakme(__LINE__); //break2
-breakme (line=117) at t.c:100
-100 if (line > 1000)
-Run till exit from #0 breakme (line=117) at t.c:100
-main (argc=1, argv=0x........) at t.c:119
-119 if (argc > 1)
+$3 = "undefined"
+$4 = "undefined"
Delete all breakpoints? (y or n) [answered Y; input not from terminal]
-Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in make_error (s=0x........ "called from level") at t.c:40
-40 if (int_und == 0)
-43 printf ("%s int_und is not zero\n", s);
-old_pc has changed after step
-Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in make_error (s=0x........ "called from main") at t.c:40
-40 if (int_und == 0)
=================================================
./valgrind-new/gdbserver_tests/mcinfcallRU.stderr.diff
=================================================
--- mcinfcallRU.stderr.exp 2013-04-26 21:53:34.236587507 -0500
+++ mcinfcallRU.stderr.out 2013-04-26 21:56:49.835153110 -0500
@@ -1,4 +1,11 @@
loops/sleep_ms/burn/threads_spec: 1 0 2000000000 ------B-
main ready to sleep and/or burn
-pid .... Thread .... inferior call pushed from gdb in mcinfcallRU.stdinB.gdb
-Reset valgrind output to log (orderly_finish)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Bad permissions for mapped region at address 0x........
+ ...
+HEAP SUMMARY:
+ in use at exit: 156 bytes in 2 blocks
+ total heap usage: 2 allocs, 0 frees, 156 bytes allocated
+For a detailed leak analysis, rerun with: --leak-check=full
+For counts of detected and suppressed errors, rerun with: -v
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderr.diff
=================================================
--- mcinfcallWSRU.stderr.exp 2013-04-26 21:53:34.238587451 -0500
+++ mcinfcallWSRU.stderr.out 2013-04-26 21:56:52.318084120 -0500
@@ -3,5 +3,12 @@
London ready to sleep and/or burn
Petaouchnok ready to sleep and/or burn
main ready to sleep and/or burn
-pid .... Thread .... thread 1 inferior call pushed from gdb in mcinfcallWSRU.stdinB.gdb
-Reset valgrind output to log (orderly_finish)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Bad permissions for mapped region at address 0x........
+ ...
+HEAP SUMMARY:
+ in use at exit: 983 bytes in 5 blocks
+ total heap usage: 5 allocs, 0 frees, 983 bytes allocated
+For a detailed leak analysis, rerun with: --leak-check=full
+For counts of detected and suppressed errors, rerun with: -v
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2013-04-26 21:53:34.221587923 -0500
+++ mcinfcallWSRU.stderrB.out 2013-04-26 21:56:52.468079952 -0500
@@ -23,33 +23,15 @@
[Switching to thread 1 (Thread ....)]
#0 0x........ in do_burn () at sleepers.c:39
39 for (i = 0; i < burn; i++) loopnr++;
-$1 = void
-[Switching to thread 2 (Thread ....)]
-#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
-ERROR changing register xxx regno y
-gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
-set pc, calling from gdb a function in the debugged process, ...)
-can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
-Thread status is VgTs_WaitSys
-'
-[Switching to thread 3 (Thread ....)]
-#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
-ERROR changing register xxx regno y
-gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
-set pc, calling from gdb a function in the debugged process, ...)
-can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
-Thread status is VgTs_WaitSys
-'
-[Switching to thread 4 (Thread ....)]
-#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
-ERROR changing register xxx regno y
-gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
-set pc, calling from gdb a function in the debugged process, ...)
-can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
-Thread status is VgTs_WaitSys
-'
-monitor command request to kill this process
-Remote connection closed
+Program terminated with signal SIGKILL, Killed.
+The program no longer exists.
+The program being debugged exited while in a function called from GDB.
+Evaluation of the expression containing the function
+(whoami) will be abandoned.
+Thread ID 2 not known.
+You can't do that without a process to debug.
+Thread ID 3 not known.
+You can't do that without a process to debug.
+Thread ID 4 not known.
+You can't do that without a process to debug.
+"monitor" command not supported by this target.
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderr.diff
=================================================
--- mcmain_pic.stderr.exp 2013-04-26 21:53:34.226587784 -0500
+++ mcmain_pic.stderr.out 2013-04-26 21:57:05.190726440 -0500
@@ -3,6 +3,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ Bad permissions for mapped region at address 0x........
+ ...
+
HEAP SUMMARY:
in use at exit: 16 bytes in 1 blocks
total heap usage: 1 allocs, 0 frees, 16 bytes allocated
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2013-04-26 21:53:34.226587784 -0500
+++ mcmain_pic.stderrB.out 2013-04-26 21:57:05.265724356 -0500
@@ -1,2 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+The program being debugged exited while in a function called from GDB.
+Evaluation of the expression containing the function
+(another_func) will be abandoned.
+The program is not being run.
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stdout.diff
=================================================
--- mcmain_pic.stdout.exp 2013-04-26 21:53:34.222587896 -0500
+++ mcmain_pic.stdout.out 2013-04-26 21:57:05.156727384 -0500
@@ -1,4 +1 @@
address of main 0x........
-another func called msg called from gdb
-address of another_func 0x........
-another func called msg called from main
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stdoutB.diff
=================================================
--- mcmain_pic.stdoutB.exp 2013-04-26 21:53:34.249587146 -0500
+++ mcmain_pic.stdoutB.out 2013-04-26 21:57:05.233725245 -0500
@@ -2,8 +2,7 @@
Continuing.
Breakpoint 1, main (argc=1, argv=0x........) at main_pic.c:11
11 printf("address of another_func %p\n", &another_func);
-$1 = void
-$2 = (int (*)(int, char **)) 0x........ <main>
-$3 = (void (*)(char *)) 0x........ <another_func>
-Continuing.
-Program exited normally.
+Program terminated with signal SIGSEGV, Segmentation fault.
+The program no longer exists.
+$1 = (int (*)(int, char **)) 0x........ <main>
+$2 = (void (*)(char *)) 0x........ <another_func>
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2013-04-26 21:53:34.227587757 -0500
+++ mssnapshot.stderrB.out 2013-04-26 21:57:12.838513936 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=ecb8ef1a6904a2a3ec60a527f415f520c8636158"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=ef5f5dbcb2398c608fef7884e1bfb65be3b5f0ef"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=bd1473e8e6a4c10a14731b5be4b35b4e87db2af7"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2013-04-26 21:51:13.246504089 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:58:47.205891699 -0500
@@ -75,17 +75,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- 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)
- 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:6479)
-
-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)
@@ -131,6 +120,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-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2013-04-26 21:51:06.573689441 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:58:47.205891699 -0500
@@ -120,6 +120,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-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2013-04-26 21:51:13.309502339 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:58:47.205891699 -0500
@@ -120,6 +120,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 2013-04-26 21:51:13.256503811 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:58:47.205891699 -0500
@@ -12,7 +12,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,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........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,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........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,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........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,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........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,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........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,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........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,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)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,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:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2013-04-26 21:51:06.722685302 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:58:47.205891699 -0500
@@ -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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,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)
@@ -39,7 +39,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)
@@ -50,7 +50,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)
@@ -61,7 +61,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)
@@ -72,7 +72,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)
@@ -83,7 +83,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)
@@ -94,7 +94,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)
@@ -105,7 +105,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-old/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2013-04-26 21:36:44.435689451 -0500
+++ mcbreak.stderrB.out 2013-04-26 21:40:19.032670392 -0500
@@ -1,7 +1,28 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
vgdb-error value changed from 999999 to 0
-n_errs_found 1 n_errs_shown 1 (vgdb-error 0)
-vgdb-error value changed from 0 to 0
-monitor command request to kill this process
-Remote connection closed
+The program being debugged exited while in a function called from GDB.
+Evaluation of the expression containing the function
+(whoami) will be abandoned.
+No symbol "i" in current context.
+No registers.
+No registers.
+The program is not being run.
+You can't do that without a process to debug.
+No symbol "i" in current context.
+The program is not being run.
+You can't do that without a process to debug.
+No symbol "i" in current context.
+The program is not being run.
+You can't do that without a process to debug.
+No symbol "i" in current context.
+You can't do that without a process to debug.
+The program is not being run.
+The program is not being run.
+The program is not being run.
+The program is not being run.
+"monitor" command not supported by this target.
+No registers.
+"monitor" command not supported by this target.
+The program is not being run.
+"monitor" command not supported by this target.
=================================================
./valgrind-old/gdbserver_tests/mcbreak.stdout.diff
=================================================
--- mcbreak.stdout.exp 2013-04-26 21:36:44.403690178 -0500
+++ mcbreak.stdout.out 2013-04-26 21:40:18.896674168 -0500
@@ -1,8 +0,0 @@
-pid .... Thread .... first
-pid .... Thread .... second
-pid .... Thread .... third
-pid .... Thread .... fourth
-pid .... Thread .... after next: inferior call pushed from mcbreak.stdinB.gdb
-pid .... Thread .... called from level
-called from level int_und is not zero
-pid .... Thread .... called from main
=================================================
./valgrind-old/gdbserver_tests/mcbreak.stdoutB.diff
=================================================
--- mcbreak.stdoutB.exp 2013-04-26 21:36:44.422689817 -0500
+++ mcbreak.stdoutB.out 2013-04-26 21:40:18.998671336 -0500
@@ -12,43 +12,10 @@
113 for (i = len-1; i >= 0; i=i-2)
old_pc has changed after step
114 undefined[i] = undef;
-$1 = void
+Program terminated with signal SIGSEGV, Segmentation fault.
+The program no longer exists.
+$1 = "undefined"
$2 = "undefined"
-$3 = 8
-113 for (i = len-1; i >= 0; i=i-2)
-old_pc has changed after step
-114 undefined[i] = undef;
-old_pc has changed after step
-113 for (i = len-1; i >= 0; i=i-2)
-$4 = void
-$5 = "undefi?e?"
-$6 = 6
-114 undefined[i] = undef;
-$7 = void
-$8 = "undefi?e?"
-$9 = 4
-113 for (i = len-1; i >= 0; i=i-2)
-$10 = void
-$11 = "unde?i?e?"
-$12 = 4
-$13 = 1
-$14 = void
-Continuing.
-Breakpoint 2, main (argc=1, argv=0x........) at t.c:117
-117 breakme(__LINE__); //break2
-breakme (line=117) at t.c:100
-100 if (line > 1000)
-Run till exit from #0 breakme (line=117) at t.c:100
-main (argc=1, argv=0x........) at t.c:119
-119 if (argc > 1)
+$3 = "undefined"
+$4 = "undefined"
Delete all breakpoints? (y or n) [answered Y; input not from terminal]
-Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in make_error (s=0x........ "called from level") at t.c:40
-40 if (int_und == 0)
-43 printf ("%s int_und is not zero\n", s);
-old_pc has changed after step
-Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in make_error (s=0x........ "called from main") at t.c:40
-40 if (int_und == 0)
=================================================
./valgrind-old/gdbserver_tests/mcinfcallRU.stderr.diff
=================================================
--- mcinfcallRU.stderr.exp 2013-04-26 21:36:44.433689507 -0500
+++ mcinfcallRU.stderr.out 2013-04-26 21:40:24.912507177 -0500
@@ -1,4 +1,11 @@
loops/sleep_ms/burn/threads_spec: 1 0 2000000000 ------B-
main ready to sleep and/or burn
-pid .... Thread .... inferior call pushed from gdb in mcinfcallRU.stdinB.gdb
-Reset valgrind output to log (orderly_finish)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Bad permissions for mapped region at address 0x........
+ ...
+HEAP SUMMARY:
+ in use at exit: 156 bytes in 2 blocks
+ total heap usage: 2 allocs, 0 frees, 156 bytes allocated
+For a detailed leak analysis, rerun with: --leak-check=full
+For counts of detected and suppressed errors, rerun with: -v
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/mcinfcallWSRU.stderr.diff
=================================================
--- mcinfcallWSRU.stderr.exp 2013-04-26 21:36:44.436689423 -0500
+++ mcinfcallWSRU.stderr.out 2013-04-26 21:40:27.384438559 -0500
@@ -3,5 +3,12 @@
London ready to sleep and/or burn
Petaouchnok ready to sleep and/or burn
main ready to sleep and/or burn
-pid .... Thread .... thread 1 inferior call pushed from gdb in mcinfcallWSRU.stdinB.gdb
-Reset valgrind output to log (orderly_finish)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Bad permissions for mapped region at address 0x........
+ ...
+HEAP SUMMARY:
+ in use at exit: 983 bytes in 5 blocks
+ total heap usage: 5 allocs, 0 frees, 983 bytes allocated
+For a detailed leak analysis, rerun with: --leak-check=full
+For counts of detected and suppressed errors, rerun with: -v
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2013-04-26 21:36:44.437689395 -0500
+++ mcinfcallWSRU.stderrB.out 2013-04-26 21:40:27.535434368 -0500
@@ -23,33 +23,15 @@
[Switching to thread 1 (Thread ....)]
#0 0x........ in do_burn () at sleepers.c:39
39 for (i = 0; i < burn; i++) loopnr++;
-$1 = void
-[Switching to thread 2 (Thread ....)]
-#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
-ERROR changing register xxx regno y
-gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
-set pc, calling from gdb a function in the debugged process, ...)
-can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
-Thread status is VgTs_WaitSys
-'
-[Switching to thread 3 (Thread ....)]
-#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
-ERROR changing register xxx regno y
-gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
-set pc, calling from gdb a function in the debugged process, ...)
-can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
-Thread status is VgTs_WaitSys
-'
-[Switching to thread 4 (Thread ....)]
-#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
-ERROR changing register xxx regno y
-gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
-set pc, calling from gdb a function in the debugged process, ...)
-can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
-Thread status is VgTs_WaitSys
-'
-monitor command request to kill this process
-Remote connection closed
+Program terminated with signal SIGKILL, Killed.
+The program no longer exists.
+The program being debugged exited while in a function called from GDB.
+Evaluation of the expression containing the function
+(whoami) will be abandoned.
+Thread ID 2 not known.
+You can't do that without a process to debug.
+Thread ID 3 not known.
+You can't do that without a process to debug.
+Thread ID 4 not known.
+You can't do that without a process to debug.
+"monitor" command not supported by this target.
=================================================
./valgrind-old/gdbserver_tests/mcmain_pic.stderr.diff
=================================================
--- mcmain_pic.stderr.exp 2013-04-26 21:36:44.408690129 -0500
+++ mcmain_pic.stderr.out 2013-04-26 21:40:39.963089389 -0500
@@ -3,6 +3,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ Bad permissions for mapped region at address 0x........
+ ...
+
HEAP SUMMARY:
in use at exit: 16 bytes in 1 blocks
total heap usage: 1 allocs, 0 frees, 16 bytes allocated
=================================================
./valgrind-old/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2013-04-26 21:36:44.426689704 -0500
+++ mcmain_pic.stderrB.out 2013-04-26 21:40:40.043087168 -0500
@@ -1,2 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+The program being debugged exited while in a function called from GDB.
+Evaluation of the expression containing the function
+(another_func) will be abandoned.
+The program is not being run.
=================================================
./valgrind-old/gdbserver_tests/mcmain_pic.stdout.diff
=================================================
--- mcmain_pic.stdout.exp 2013-04-26 21:36:44.439689339 -0500
+++ mcmain_pic.stdout.out 2013-04-26 21:40:39.928090360 -0500
@@ -1,4 +1 @@
address of main 0x........
-another func called msg called from gdb
-address of another_func 0x........
-another func called msg called from main
=================================================
./valgrind-old/gdbserver_tests/mcmain_pic.stdoutB.diff
=================================================
--- mcmain_pic.stdoutB.exp 2013-04-26 21:36:44.411690087 -0500
+++ mcmain_pic.stdoutB.out 2013-04-26 21:40:40.008088139 -0500
@@ -2,8 +2,7 @@
Continuing.
Breakpoint 1, main (argc=1, argv=0x........) at main_pic.c:11
11 printf("address of another_func %p\n", &another_func);
-$1 = void
-$2 = (int (*)(int, char **)) 0x........ <main>
-$3 = (void (*)(char *)) 0x........ <another_func>
-Continuing.
-Program exited normally.
+Program terminated with signal SIGSEGV, Segmentation fault.
+The program no longer exists.
+$1 = (int (*)(int, char **)) 0x........ <main>
+$2 = (void (*)(char *)) 0x........ <another_func>
=================================================
./valgrind-old/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2013-04-26 21:36:44.426689704 -0500
+++ mssnapshot.stderrB.out 2013-04-26 21:40:47.697874677 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=ecb8ef1a6904a2a3ec60a527f415f520c8636158"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=ef5f5dbcb2398c608fef7884e1bfb65be3b5f0ef"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=bd1473e8e6a4c10a14731b5be4b35b4e87db2af7"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2013-04-26 21:36:51.764483710 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:42:22.136252988 -0500
@@ -75,17 +75,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- 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)
- 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:6479)
-
-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)
@@ -131,6 +120,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-old/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2013-04-26 21:37:01.106221460 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:42:22.136252988 -0500
@@ -120,6 +120,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-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2013-04-26 21:37:01.107221433 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:42:22.136252988 -0500
@@ -120,6 +120,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-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2013-04-26 21:36:56.834341443 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:42:22.136252988 -0500
@@ -12,7 +12,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,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........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,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........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,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........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,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........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,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........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,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........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,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)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,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:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2013-04-26 21:36:56.306356207 -0500
+++ origin5-bz2.stderr.out 2013-04-26 21:42:22.136252988 -0500
@@ -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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,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)
@@ -39,7 +39,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)
@@ -50,7 +50,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)
@@ -61,7 +61,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)
@@ -72,7 +72,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)
@@ -83,7 +83,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)
@@ -94,7 +94,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)
@@ -105,7 +105,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>
|
|
From: Tom H. <to...@co...> - 2013-04-27 03:04:13
|
valgrind revision: 13380 VEX revision: 2715 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.1-48.fc15) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2013-04-27 03:13:01 BST Ended at 2013-04-27 04:03:59 BST 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 == 652 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2013-04-27 02:56:13
|
valgrind revision: 13380 VEX revision: 2715 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 16 (Verne) Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2013-04-27 03:02:25 BST Ended at 2013-04-27 03:55:49 BST 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 == 652 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2013-04-27 02:40:34
|
valgrind revision: 13380 VEX revision: 2715 C compiler: gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2) GDB: GNU gdb (GDB) Fedora (7.4.50.20120120-54.fc17) Assembler: GNU assembler version 2.22.52.0.1-10.fc17 20120131 C library: GNU C Library stable release version 2.15 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 17 (Beefy Miracle) Nightly build on bristol ( x86_64, Fedora 17 (Beefy Miracle) ) Started at 2013-04-27 02:51:53 BST Ended at 2013-04-27 03:40:12 BST 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 == 652 tests, 5 stderr failures, 3 stdout failures, 3 stderrB failures, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stdout) gdbserver_tests/mcbreak (stdoutB) gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) |
|
From: Tom H. <to...@co...> - 2013-04-27 02:17:17
|
valgrind revision: 13380 VEX revision: 2715 C compiler: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) GDB: GNU gdb (GDB) Fedora (7.5.1-37.fc18) Assembler: GNU assembler version 2.23.51.0.1-6.fc18 20120806 C library: GNU C Library stable release version 2.16 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 18 (Spherical Cow) Nightly build on bristol ( x86_64, Fedora 18 (Spherical Cow) ) Started at 2013-04-27 02:42:56 BST Ended at 2013-04-27 03:17:02 BST 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 == 652 tests, 5 stderr failures, 3 stdout failures, 3 stderrB failures, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stdout) gdbserver_tests/mcbreak (stdoutB) gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) |
|
From: <sv...@va...> - 2013-04-27 02:16:13
|
petarj 2013-04-27 03:18:11 +0100 (Sat, 27 Apr 2013)
New Revision: 2716
Log:
mips: fix some style issues, non-functional change
Minor cleanup, no real functional change.
Modified files:
trunk/priv/guest_mips_toIR.c
Modified: trunk/priv/guest_mips_toIR.c (+127 -129)
===================================================================
--- trunk/priv/guest_mips_toIR.c 2013-04-27 02:15:48 +01:00 (rev 2715)
+++ trunk/priv/guest_mips_toIR.c 2013-04-27 03:18:11 +01:00 (rev 2716)
@@ -1031,15 +1031,6 @@
vassert(mode64);
return unop(Iop_64to16, e);
}
-
- if (vex_traceflags & VEX_TRACE_FE) {
- vex_printf("\nsrc, dst tys are: ");
- ppIRType(src_ty);
- vex_printf(", ");
- ppIRType(dst_ty);
- vex_printf("\n");
- }
-
vpanic("narrowTo(mips)");
return 0;
}
@@ -1213,11 +1204,9 @@
static void setFPUCondCode(IRExpr * e, UInt cc)
{
if (cc == 0) {
- DIP("setFpu: %d\n", cc);
putFCSR(binop(Iop_And32, getFCSR(), mkU32(0xFF7FFFFF)));
putFCSR(binop(Iop_Or32, getFCSR(), binop(Iop_Shl32, e, mkU8(23))));
} else {
- DIP("setFpu1: %d\n", cc);
putFCSR(binop(Iop_And32, getFCSR(), unop(Iop_Not32,
binop(Iop_Shl32, mkU32(0x01000000), mkU8(cc)))));
putFCSR(binop(Iop_Or32, getFCSR(), binop(Iop_Shl32, e, mkU8(24 + cc))));
@@ -1294,13 +1283,13 @@
case 0x3A:
if ((regRs & 0x01) == 0) {
/* Doubleword Shift Right Logical - DSRL; MIPS64 */
- DIP("dsrl r%u, r%u,r%u\n", regRd, regRt, (Int) sImmsa);
+ DIP("dsrl r%u, r%u, %d", regRd, regRt, (Int)sImmsa);
assign(tmpRd, binop(Iop_Shr64, mkexpr(tmpRt), mkU8(uImmsa)));
putIReg(regRd, mkexpr(tmpRd));
} else if ((regRs & 0x01) == 1) {
/* Doubleword Rotate Right - DROTR; MIPS64r2 */
vassert(mode64);
- DIP("drotr r%u, r%u,%d\n", regRd, regRt, (Int) sImmsa);
+ DIP("drotr r%u, r%u, %d", regRd, regRt, (Int)sImmsa);
IRTemp tmpL = newTemp(ty);
IRTemp tmpR = newTemp(ty);
assign(tmpR, binop(Iop_Shr64, mkexpr(tmpRt), mkU8(uImmsa)));
@@ -1315,12 +1304,12 @@
case 0x3E:
if ((regRs & 0x01) == 0) {
/* Doubleword Shift Right Logical Plus 32 - DSRL32; MIPS64 */
- DIP("dsrl32 r%u, r%u,r%u\n", regRd, regRt, (Int) (sImmsa + 32));
+ DIP("dsrl32 r%u, r%u, %d", regRd, regRt, (Int)(sImmsa + 32));
assign(tmpRd, binop(Iop_Shr64, mkexpr(tmpRt), mkU8(uImmsa + 32)));
putIReg(regRd, mkexpr(tmpRd));
} else if ((regRs & 0x01) == 1) {
/* Doubleword Rotate Right Plus 32 - DROTR32; MIPS64r2 */
- DIP("drotr32 r%u, r%u,%d\n", regRd, regRt, (Int) sImmsa);
+ DIP("drotr32 r%u, r%u, %d", regRd, regRt, (Int)sImmsa);
vassert(mode64);
IRTemp tmpL = newTemp(ty);
IRTemp tmpR = newTemp(ty);
@@ -1338,7 +1327,7 @@
case 0x16:
if ((uImmsa & 0x01) == 0) {
/* Doubleword Shift Right Logical Variable - DSRLV; MIPS64 */
- DIP("dsrlv r%u, r%u,r%u\n", regRd, regRt, regRs);
+ DIP("dsrlv r%u, r%u, r%u", regRd, regRt, regRs);
IRTemp tmpRs8 = newTemp(Ity_I8);
/* s = tmpRs[5..0] */
assign(tmp, binop(Iop_And64, mkexpr(tmpRs), mkU64(63)));
@@ -1347,7 +1336,7 @@
putIReg(regRd, mkexpr(tmpRd));
} else if ((uImmsa & 0x01) == 1) {
/* Doubleword Rotate Right Variable - DROTRV; MIPS64r2 */
- DIP("drotrv r%u, r%u,r%u\n", regRd, regRt, regRs);
+ DIP("drotrv r%u, r%u, r%u", regRd, regRt, regRs);
IRTemp tmpL = newTemp(ty);
IRTemp tmpR = newTemp(ty);
IRTemp tmpRs8 = newTemp(Ity_I8);
@@ -1374,20 +1363,20 @@
break;
case 0x38: /* Doubleword Shift Left Logical - DSLL; MIPS64 */
- DIP("dsll r%u, r%u,%d\n", regRd, regRt, (Int) sImmsa);
+ DIP("dsll r%u, r%u, %d", regRd, regRt, (Int)sImmsa);
vassert(mode64);
assign(tmpRd, binop(Iop_Shl64, mkexpr(tmpRt), mkU8(uImmsa)));
putIReg(regRd, mkexpr(tmpRd));
break;
case 0x3C: /* Doubleword Shift Left Logical Plus 32 - DSLL32; MIPS64 */
- DIP("dsll32 r%u, r%u,%d\n", regRd, regRt, (Int) sImmsa);
+ DIP("dsll32 r%u, r%u, %d", regRd, regRt, (Int)sImmsa);
assign(tmpRd, binop(Iop_Shl64, mkexpr(tmpRt), mkU8(uImmsa + 32)));
putIReg(regRd, mkexpr(tmpRd));
break;
case 0x14: { /* Doubleword Shift Left Logical Variable - DSLLV; MIPS64 */
- DIP("dsllv r%u, r%u,r%u\n", regRd, regRt, regRs);
+ DIP("dsllv r%u, r%u, r%u", regRd, regRt, regRs);
IRTemp tmpRs8 = newTemp(Ity_I8);
assign(tmp, binop(Iop_And64, mkexpr(tmpRs), mkSzImm(ty, 63)));
@@ -1398,21 +1387,21 @@
}
case 0x3B: /* Doubleword Shift Right Arithmetic - DSRA; MIPS64 */
- DIP("dsra r%u, r%u,%d\n", regRd, regRt, (Int) sImmsa);
+ DIP("dsra r%u, r%u, %d", regRd, regRt, (Int)sImmsa);
assign(tmpRd, binop(Iop_Sar64, mkexpr(tmpRt), mkU8(uImmsa)));
putIReg(regRd, mkexpr(tmpRd));
break;
case 0x3F: /* Doubleword Shift Right Arithmetic Plus 32 - DSRA32;
MIPS64 */
- DIP("dsra32 r%u, r%u,%d\n", regRd, regRt, (Int) sImmsa);
+ DIP("dsra32 r%u, r%u, %d", regRd, regRt, (Int)sImmsa);
assign(tmpRd, binop(Iop_Sar64, mkexpr(tmpRt), mkU8(uImmsa + 32)));
putIReg(regRd, mkexpr(tmpRd));
break;
case 0x17: { /* Doubleword Shift Right Arithmetic Variable - DSRAV;
MIPS64 */
- DIP("dsrav r%u, r%u,r%u\n", regRd, regRt, regRs);
+ DIP("dsrav r%u, r%u, r%u", regRd, regRt, regRs);
IRTemp tmpRs8 = newTemp(Ity_I8);
assign(tmp, binop(Iop_And64, mkexpr(tmpRs), mkSzImm(ty, 63)));
assign(tmpRs8, mkNarrowTo8(ty, mkexpr(tmp)));
@@ -1444,6 +1433,32 @@
/*********************************************************/
/*--- Floating Point Compare ---*/
/*********************************************************/
+/* Function that returns a string that represent mips cond
+ mnemonic for the input code. */
+static const HChar* showCondCode(UInt code) {
+ const HChar* ret;
+ switch (code) {
+ case 0: ret = "F"; break;
+ case 1: ret = "UN"; break;
+ case 2: ret = "EQ"; break;
+ case 3: ret = "UEQ"; break;
+ case 4: ret = "OLT"; break;
+ case 5: ret = "ULT"; break;
+ case 6: ret = "OLE"; break;
+ case 7: ret = "ULE"; break;
+ case 8: ret = "SF"; break;
+ case 9: ret = "NGLE"; break;
+ case 10: ret = "SEQ"; break;
+ case 11: ret = "NGL"; break;
+ case 12: ret = "LT"; break;
+ case 13: ret = "NGE"; break;
+ case 14: ret = "LE"; break;
+ case 15: ret = "NGT"; break;
+ default: vpanic("showCondCode"); break;
+ }
+ return ret;
+}
+
static Bool dis_instr_CCondFmt ( UInt cins )
{
IRTemp t0, t1, t2, t3, tmp5, tmp6;
@@ -1459,7 +1474,7 @@
UInt fpc_cc = get_fpc_cc(cins);
switch (fmt) {
case 0x10: { /* C.cond.S */
- DIP("C.cond.S %d f%d, f%d\n", fpc_cc, fs, ft);
+ DIP("C.%s.S %d, f%d, f%d", showCondCode(cond), fpc_cc, fs, ft);
if (mode64) {
t0 = newTemp(Ity_I32);
t1 = newTemp(Ity_I32);
@@ -1510,7 +1525,6 @@
setFPUCondCode(mkU32(0), fpc_cc);
break;
case 0x1:
- DIP("unorderd: %d\n", fpc_cc);
setFPUCondCode(mkexpr(t0), fpc_cc);
break;
case 0x2:
@@ -1608,7 +1622,6 @@
setFPUCondCode(mkU32(0), fpc_cc);
break;
case 0x1:
- DIP("unorderd: %d\n", fpc_cc);
setFPUCondCode(mkexpr(t0), fpc_cc);
break;
case 0x2:
@@ -1668,7 +1681,7 @@
break;
case 0x11: { /* C.cond.D */
- DIP("C.%d.D %d f%d, f%d\n", cond, fpc_cc, fs, ft);
+ DIP("C.%s.D %d, f%d, f%d", showCondCode(cond), fpc_cc, fs, ft);
t0 = newTemp(Ity_I32);
t1 = newTemp(Ity_I32);
t2 = newTemp(Ity_I32);
@@ -1708,7 +1721,6 @@
setFPUCondCode(mkU32(0), fpc_cc);
break;
case 0x1:
- DIP("unorderd: %d\n", fpc_cc);
setFPUCondCode(mkexpr(t0), fpc_cc);
break;
case 0x2:
@@ -1935,25 +1947,19 @@
UChar *code = (UChar *) (guest_code + delta);
cins = getUInt(code);
+ DIP("\t0x%lx:\t0x%08x\t", (long)guest_PC_curr_instr, cins);
if (delta != 0) {
if (branch_or_jump(guest_code + delta - 4)) {
if (lastn == NULL && bstmt == NULL) {
- DIP("Info: jump to delay slot insn...\n");
+ vassert(0);
} else {
dres.whatNext = Dis_StopHere;
-
- DIP("lastn = %p bstmt = %p\n", lastn, bstmt);
if (lastn != NULL) {
- DIP("delay slot jump\n");
- if (vex_traceflags & VEX_TRACE_FE)
- ppIRExpr(lastn);
delay_slot_jump = True;
} else if (bstmt != NULL) {
- DIP("\ndelay slot branch\n");
delay_slot_branch = True;
}
- DIP("delay slot\n");
}
}
@@ -1986,7 +1992,7 @@
/* Got a "Special" instruction preamble. Which one is it? */
if (getUInt(code + 16) == 0x01ad6825 /* or $13, $13, $13 */ ) {
/* $11 = client_request ( $12 ) */
- DIP("$11 = client_request ( $12 )\n");
+ DIP("$11 = client_request ( $12 )");
if (mode64)
putPC(mkU64(guest_PC_curr_instr + 20));
else
@@ -1997,7 +2003,7 @@
goto decode_success;
} else if (getUInt(code + 16) == 0x01ce7025 /* or $14, $14, $14 */ ) {
/* $11 = guest_NRADDR */
- DIP("$11 = guest_NRADDR\n");
+ DIP("$11 = guest_NRADDR");
dres.len = 20;
delta += 20;
if (mode64)
@@ -2009,7 +2015,7 @@
goto decode_success;
} else if (getUInt(code + 16) == 0x01ef7825 /* or $15, $15, $15 */ ) {
/* branch-and-link-to-noredir $25 */
- DIP("branch-and-link-to-noredir $25\n");
+ DIP("branch-and-link-to-noredir $25");
if (mode64)
putIReg(31, mkU64(guest_PC_curr_instr + 20));
else
@@ -2020,7 +2026,7 @@
goto decode_success;
} else if (getUInt(code + 16) == 0x016b5825 /* or $11,$11,$11 */ ) {
/* IR injection */
- DIP("IR injection\n");
+ DIP("IR injection");
#if defined (_MIPSEL)
vex_inject_ir(irsb, Iend_LE);
#elif defined (_MIPSEB)
@@ -2074,8 +2080,6 @@
IRType ty = mode64 ? Ity_I64 : Ity_I32;
IRType tyF = mode64 ? Ity_F64 : Ity_F32;
- DIP("[cins = 0x%08x] ", cins);
-
switch (opcode) {
case 0x03: /* JAL */
@@ -2112,7 +2116,7 @@
switch (fmt) {
case 0x08: /* BC */
{
- DIP("tf: %d, nd: %d\n", tf, nd);
+ DIP("tf: %d, nd: %d", tf, nd);
/* FcConditionalCode(bc1_cc) */
t1 = newTemp(Ity_I1);
t2 = newTemp(Ity_I32);
@@ -2184,12 +2188,12 @@
case 0x5: /* abs.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("abs.s f%d, f%d\n", fd, fs);
+ DIP("abs.s f%d, f%d", fd, fs);
putFReg(fd, mkWidenFromF32(tyF, unop(Iop_AbsF32,
getLoFromF64(tyF, getFReg(fs)))));
break;
case 0x11: /* D */
- DIP("abs.d f%d, f%d\n", fd, fs);
+ DIP("abs.d f%d, f%d", fd, fs);
putDReg(fd, unop(Iop_AbsF64, getDReg(fs)));
break;
default:
@@ -2308,7 +2312,7 @@
case 0x08: /* ROUND.L.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("round.l.s f%d, f%d\n", fd, fs);
+ DIP("round.l.s f%d, f%d", fd, fs);
t0 = newTemp(Ity_I64);
assign(t0, binop(Iop_F32toI64S, mkU32(0x0),
@@ -2317,7 +2321,7 @@
putFReg(fd, unop(Iop_ReinterpI64asF64, mkexpr(t0)));
break;
case 0x11: /* D */
- DIP("round.l.d f%d, f%d\n", fd, fs);
+ DIP("round.l.d f%d, f%d", fd, fs);
putFReg(fd, binop(Iop_RoundF64toInt, mkU32(0x0),
getFReg(fs)));
break;
@@ -2330,7 +2334,7 @@
case 0x09: /* TRUNC.L.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("trunc.l.s f%d, f%d\n", fd, fs);
+ DIP("trunc.l.s f%d, f%d", fd, fs);
t0 = newTemp(Ity_I64);
assign(t0, binop(Iop_F32toI64S, mkU32(0x3),
getLoFromF64(Ity_F64, getFReg(fs))));
@@ -2338,7 +2342,7 @@
putFReg(fd, unop(Iop_ReinterpI64asF64, mkexpr(t0)));
break;
case 0x11: /* D */
- DIP("trunc.l.d f%d, f%d\n", fd, fs);
+ DIP("trunc.l.d f%d, f%d", fd, fs);
putFReg(fd, binop(Iop_RoundF64toInt, mkU32(0x3),
getFReg(fs)));
break;
@@ -2350,7 +2354,7 @@
case 0x15: /* RECIP.fmt */
switch (fmt) {
case 0x10: { /* S */
- DIP("recip.s f%d, f%d\n", fd, fs);
+ DIP("recip.s f%d, f%d", fd, fs);
IRExpr *rm = get_IR_roundingmode();
putFReg(fd, mkWidenFromF32(tyF, triop(Iop_DivF32,
rm, unop(Iop_ReinterpI32asF32,
@@ -2359,7 +2363,7 @@
break;
}
case 0x11: { /* D */
- DIP("recip.d f%d, f%d\n", fd, fs);
+ DIP("recip.d f%d, f%d", fd, fs);
IRExpr *rm = get_IR_roundingmode();
/* putDReg(fd, 1.0/getDreg(fs)); */
putDReg(fd, triop(Iop_DivF64, rm,
@@ -2648,7 +2652,7 @@
switch (fmt) {
case 0x10: /* S */
{
- DIP("add.s f%d, f%d, f%d\n", fd, fs, ft);
+ DIP("add.s f%d, f%d, f%d", fd, fs, ft);
IRExpr *rm = get_IR_roundingmode();
putFReg(fd, mkWidenFromF32(tyF, triop(Iop_AddF32, rm,
getLoFromF64(tyF, getFReg(fs)),
@@ -2656,7 +2660,7 @@
break;
}
case 0x11: { /* D */
- DIP("add.d f%d, f%d, f%d\n", fd, fs, ft);
+ DIP("add.d f%d, f%d, f%d", fd, fs, ft);
IRExpr *rm = get_IR_roundingmode();
putDReg(fd, triop(Iop_AddF64, rm, getDReg(fs), getDReg(ft)));
break;
@@ -2826,7 +2830,7 @@
}
case 0x14:
- DIP("cvt.d.w %d, %d\n", fd, fs);
+ DIP("cvt.d.w %d, %d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I32);
@@ -2847,7 +2851,7 @@
case 0x15: { /* L */
if (mode64) {
- DIP("cvt.d.l %d, %d\n", fd, fs);
+ DIP("cvt.d.l %d, %d", fd, fs);
t0 = newTemp(Ity_I64);
assign(t0, unop(Iop_ReinterpF64asI64, getFReg(fs)));
@@ -2865,7 +2869,7 @@
case 0x20: /* cvt.s */
switch (fmt) {
case 0x14: /* W */
- DIP("cvt.s.w %d, %d\n", fd, fs);
+ DIP("cvt.s.w %d, %d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I32);
@@ -2887,7 +2891,7 @@
}
case 0x11: /* D */
- DIP("cvt.s.d %d, %d\n", fd, fs);
+ DIP("cvt.s.d %d, %d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_F32);
assign(t0, binop(Iop_F64toF32, get_IR_roundingmode(),
@@ -2899,7 +2903,7 @@
break;
case 0x15: /* L */
- DIP("cvt.s.l %d, %d\n", fd, fs);
+ DIP("cvt.s.l %d, %d", fd, fs);
t0 = newTemp(Ity_I64);
assign(t0, unop(Iop_ReinterpF64asI64, getFReg(fs)));
@@ -2915,7 +2919,7 @@
case 0x24: /* cvt.w */
switch (fmt) {
case 0x10: /* S */
- DIP("cvt.w.s %d, %d\n", fd, fs);
+ DIP("cvt.w.s %d, %d", fd, fs);
if (mode64) {
putFReg(fd, mkWidenFromF32(tyF, binop(Iop_RoundF32toInt,
get_IR_roundingmode(), getLoFromF64(tyF,
@@ -2926,7 +2930,7 @@
break;
case 0x11:
- DIP("cvt.w.d %d, %d\n", fd, fs);
+ DIP("cvt.w.d %d, %d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I32);
t1 = newTemp(Ity_F32);
@@ -2953,7 +2957,7 @@
case 0x25: /* cvt.l */
switch (fmt) {
case 0x10: /* S */
- DIP("cvt.l.s %d, %d\n", fd, fs);
+ DIP("cvt.l.s %d, %d", fd, fs);
t0 = newTemp(Ity_I64);
assign(t0, binop(Iop_F32toI64S, get_IR_roundingmode(),
@@ -2963,7 +2967,7 @@
break;
case 0x11: { /* D */
- DIP("cvt.l.d %d, %d\n", fd, fs);
+ DIP("cvt.l.d %d, %d", fd, fs);
putFReg(fd, binop(Iop_RoundF64toInt,
get_IR_roundingmode(), getFReg(fs)));
break;
@@ -2977,7 +2981,7 @@
case 0x0B: /* FLOOR.L.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("floor.l.s %d, %d\n", fd, fs);
+ DIP("floor.l.s %d, %d", fd, fs);
t0 = newTemp(Ity_I64);
assign(t0, binop(Iop_F32toI64S, mkU32(0x1),
@@ -2987,7 +2991,7 @@
break;
case 0x11: /* D */
- DIP("floor.l.d %d, %d\n", fd, fs);
+ DIP("floor.l.d %d, %d", fd, fs);
putFReg(fd, binop(Iop_RoundF64toInt, mkU32(0x1),
getFReg(fs)));
break;
@@ -2999,7 +3003,7 @@
case 0x0C: /* ROUND.W.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("round.w.s f%d, f%d\n", fd, fs);
+ DIP("round.w.s f%d, f%d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I32);
@@ -3024,7 +3028,7 @@
}
case 0x11: /* D */
- DIP("round.w.d f%d, f%d\n", fd, fs);
+ DIP("round.w.d f%d, f%d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I32);
assign(t0, binop(Iop_F64toI32S, mkU32(0x0),
@@ -3050,7 +3054,7 @@
case 0x0F: /* FLOOR.W.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("floor.w.s f%d, f%d\n", fd, fs);
+ DIP("floor.w.s f%d, f%d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I32);
@@ -3075,7 +3079,7 @@
}
case 0x11: /* D */
- DIP("floor.w.d f%d, f%d\n", fd, fs);
+ DIP("floor.w.d f%d, f%d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I32);
assign(t0, binop(Iop_F64toI32S, mkU32(0x1),
@@ -3101,7 +3105,7 @@
case 0x0D: /* TRUNC.W */
switch (fmt) {
case 0x10: /* S */
- DIP("trunc.w.s %d, %d\n", fd, fs);
+ DIP("trunc.w.s %d, %d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I32);
@@ -3125,7 +3129,7 @@
break;
}
case 0x11: /* D */
- DIP("trunc.w.d %d, %d\n", fd, fs);
+ DIP("trunc.w.d %d, %d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I32);
@@ -3153,7 +3157,7 @@
case 0x0E: /* CEIL.W.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("ceil.w.s %d, %d\n", fd, fs);
+ DIP("ceil.w.s %d, %d", fd, fs);
if (mode64) {
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I32);
@@ -3176,7 +3180,7 @@
break;
case 0x11: /* D */
- DIP("ceil.w.d %d, %d\n", fd, fs);
+ DIP("ceil.w.d %d, %d", fd, fs);
if (!mode64) {
t0 = newTemp(Ity_I32);
assign(t0, binop(Iop_F64toI32S, mkU32(0x2),
@@ -3200,7 +3204,7 @@
case 0x0A: /* CEIL.L.fmt */
switch (fmt) {
case 0x10: /* S */
- DIP("ceil.l.s %d, %d\n", fd, fs);
+ DIP("ceil.l.s %d, %d", fd, fs);
t0 = newTemp(Ity_I64);
assign(t0, binop(Iop_F32toI64S, mkU32(0x2),
@@ -3210,7 +3214,7 @@
break;
case 0x11: /* D */
- DIP("ceil.l.d %d, %d\n", fd, fs);
+ DIP("ceil.l.d %d, %d", fd, fs);
putFReg(fd, binop(Iop_RoundF64toInt, mkU32(0x2),
getFReg(fs)));
break;
@@ -3224,7 +3228,7 @@
case 0x16: /* RSQRT.fmt */
switch (fmt) {
case 0x10: { /* S */
- DIP("rsqrt.s %d, %d\n", fd, fs);
+ DIP("rsqrt.s %d, %d", fd, fs);
IRExpr *rm = get_IR_roundingmode();
putFReg(fd, mkWidenFromF32(tyF, triop(Iop_DivF32, rm,
unop(Iop_ReinterpI32asF32, mkU32(ONE_SINGLE)),
@@ -3233,7 +3237,7 @@
break;
}
case 0x11: { /* D */
- DIP("rsqrt.d %d, %d\n", fd, fs);
+ DIP("rsqrt.d %d, %d", fd, fs);
IRExpr *rm = get_IR_roundingmode();
putDReg(fd, triop(Iop_DivF64, rm,
unop(Iop_ReinterpI64asF64,
@@ -3308,6 +3312,7 @@
break;
case 0x39: /* SWC1 */
+ DIP("swc1 f%d, %d(r%d)", ft, imm, rs);
if (mode64) {
t0 = newTemp(Ity_I64);
t2 = newTemp(Ity_I32);
@@ -3319,7 +3324,6 @@
LOAD_STORE_PATTERN;
store(mkexpr(t1), getFReg(ft));
}
- DIP("swc1 f%d, %d(r%d)", ft, imm, rs);
break;
case 0x33: /* PREF */
@@ -3390,9 +3394,7 @@
case 0x0F: /* LUI */
p = (imm << 16);
- DIP("lui rt: %d, imm: %d, imm << 16: %d", rt, imm, p);
- if ((vex_traceflags & VEX_TRACE_FE) && !mode64)
- ppIRExpr(mkU32(p));
+ DIP("lui r%d, imm: 0x%x", rt, imm);
if (mode64)
putIReg(rt, mkU64(extend_s_32to64(p)));
else
@@ -3403,7 +3405,7 @@
switch (function) {
case 0x0: { /* LWXC1 */
/* Load Word Indexed to Floating Point - LWXC1 (MIPS32r2) */
- DIP("lwxc1 f%d, r%d(r%d) \n", fd, rt, rs);
+ DIP("lwxc1 f%d, r%d(r%d)", fd, rt, rs);
if (mode64) {
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I32);
@@ -3431,7 +3433,7 @@
/* Load Doubleword Indexed to Floating Point
LDXC1 (MIPS32r2 and MIPS64) */
if (mode64) {
- DIP("ldxc1 f%d, r%d(r%d) \n", fd, rt, rs);
+ DIP("ldxc1 f%d, r%d(r%d)", fd, rt, rs);
t0 = newTemp(Ity_I64);
assign(t0, binop(Iop_Add64, getIReg(rs), getIReg(rt)));
putFReg(fd, load(Ity_F64, mkexpr(t0)));
@@ -3456,7 +3458,7 @@
case 0x5: /* Load Doubleword Indexed Unaligned to Floating Point - LUXC1;
MIPS32r2 */
- DIP("luxc1 f%d, r%d(r%d) \n", fd, rt, rs);
+ DIP("luxc1 f%d, r%d(r%d)", fd, rt, rs);
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I64);
assign(t0, binop(Iop_Add64, getIReg(rs), getIReg(rt)));
@@ -3506,7 +3508,7 @@
}
case 0xD: /* Store Doubleword Indexed Unaligned from Floating Point -
SUXC1; MIPS64 MIPS32r2 */
- DIP("suxc1 f%d, r%d(r%d) \n", fd, rt, rs);
+ DIP("suxc1 f%d, r%d(r%d)", fd, rt, rs);
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I64);
assign(t0, binop(Iop_Add64, getIReg(rs), getIReg(rt)));
@@ -3764,7 +3766,7 @@
break;
case 0x2C: { /* SDL rt, offset(base) MIPS64 */
- DIP("sdl r%u,%d(r%u)\n", rt, (Int) imm, rs);
+ DIP("sdl r%u, %d(r%u)", rt, (Int) imm, rs);
/* t1 = addr */
#if defined (_MIPSEL)
t1 = newTemp(Ity_I64);
@@ -3805,7 +3807,7 @@
case 0x2D: {
/* SDR rt, offset(base) - MIPS64 */
vassert(mode64);
- DIP("sdr r%u,%d(r%u)\n", rt, imm, rs);
+ DIP("sdr r%u, %d(r%u)", rt, imm, rs);
/* t1 = addr */
#if defined (_MIPSEL)
t1 = newTemp(Ity_I64);
@@ -4186,7 +4188,7 @@
}
case 0x6: /* dmul MIPS64 - Netlogic */
- DIP("dmul r%u, r%u, r%u\n", rd, rs, rt);
+ DIP("dmul r%u, r%u, r%u", rd, rs, rt);
t0 = newTemp(Ity_I128);
assign(t0, binop(Iop_MullU64, getIReg(rs), getIReg(rt)));
@@ -4195,7 +4197,7 @@
break;
case 0x10: /* LDADDW - Swap Word - Netlogic */
- DIP("ldaddw r%u, r%u\n", rt, rs);
+ DIP("ldaddw r%u, r%u", rt, rs);
t0 = newTemp(Ity_I32);
t1 = newTemp(Ity_I32);
t2 = newTemp(Ity_I32);
@@ -4216,7 +4218,7 @@
break;
case 0x12: /* LDADDD - Swap Word - Netlogic */
- DIP("ldaddw r%u, r%u\n", rt, rs);
+ DIP("ldaddw r%u, r%u", rt, rs);
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I64);
@@ -4232,7 +4234,7 @@
break;
case 0x14: /* SWAPW - Swap Word - Netlogic */
- DIP("swapw r%u, r%u\n", rt, rs);
+ DIP("swapw r%u, r%u", rt, rs);
t0 = newTemp(Ity_I32);
t1 = newTemp(Ity_I32);
assign(t0, mkNarrowTo32(ty, getIReg(rt)));
@@ -4242,7 +4244,7 @@
break;
case 0x16: /* SWAPD - Swap Double - Netlogic */
- DIP("swapw r%u, r%u\n", rt, rs);
+ DIP("swapw r%u, r%u", rt, rs);
t0 = newTemp(Ity_I64);
t1 = newTemp(Ity_I64);
assign(t0, getIReg(rt));
@@ -4331,7 +4333,7 @@
UInt srcPos = lsb;
UInt dstSz = msb + 33;
t1 = newTemp(Ity_I64);
- DIP("dextm r%u, r%u, %d, %d\n", rt, rs, lsb, msb + 1);
+ DIP("dextm r%u, r%u, %d, %d", rt, rs, lsb, msb + 1);
UChar lsAmt = 64 - (srcPos + dstSz); /* left shift amount; */
UChar rsAmt = 64 - dstSz; /* right shift amount; */
@@ -4348,8 +4350,8 @@
size = msb + 1;
UInt srcPos = lsb + 32;
UInt dstSz = msb + 1;
+ DIP("dextu r%u, r%u, %d, %d", rt, rs, srcPos, dstSz);
t1 = newTemp(Ity_I64);
- DIP("dextu r%u, r%u, %d, %d\n", rt, rs, lsb + 32, msb + 1);
vassert(srcPos >= 32 && srcPos < 64);
vassert(dstSz > 0 && dstSz <= 32);
@@ -4386,7 +4388,7 @@
assign(tmpRs, getIReg(rs));
assign(tmpRt, getIReg(rt));
- DIP("dinsm r%u, r%u, %d, %d\n", rt, rs, lsb, msb);
+ DIP("dinsm r%u, r%u, %d, %d", rt, rs, lsb, msb);
UChar lsAmt = dstPos + srcSz - 1; /* left shift amount; */
UChar rsAmt = dstPos + srcSz - 1; /* right shift amount; */
@@ -4438,7 +4440,7 @@
assign(tmpRs, getIReg(rs));
assign(tmpRt, getIReg(rt));
- DIP("dinsu r%u, r%u, %d, %d\n", rt, rs, lsb, msb);
+ DIP("dinsu r%u, r%u, %d, %d", rt, rs, lsb, msb);
UChar lsAmt = 64 - srcSz; /* left shift amount; */
UChar rsAmt = 64 - (dstPos + srcSz); /* right shift amount; */
@@ -4486,7 +4488,7 @@
msb = get_msb(cins);
lsb = get_lsb(cins);
size = msb + 1;
- DIP("dins r%u, r%u, %d, %d\n", rt, rs, lsb,
+ DIP("dins r%u, r%u, %d, %d", rt, rs, lsb,
msb - lsb + 1);
UChar lsAmt = 63 - lsb; /* left shift amount; */
UChar rsAmt = 63 - lsb; /* right shift amount; */
@@ -4521,13 +4523,13 @@
assign(tmpRt, getIReg(rt));
switch (lsb) {
case 0x02: { /* DSBH */
+ DIP("dsbh r%u, r%u", rd, rt);
IRTemp tmpT1 = newTemp(ty);
IRTemp tmpT2 = newTemp(ty);
IRTemp tmpT3 = newTemp(ty);
IRTemp tmpT4 = newTemp(ty);
IRTemp tmpT5 = newTemp(Ity_I64);
IRTemp tmpT6 = newTemp(ty);
- DIP("dsbh r%u, r%u\n", rd, rt);
assign(tmpT5, mkU64(0xFF00FF00FF00FF00ULL));
assign(tmpT6, mkU64(0x00FF00FF00FF00FFULL));
assign(tmpT1, binop(Iop_And64, mkexpr(tmpRt), mkexpr(tmpT5)));
@@ -4539,6 +4541,7 @@
break;
}
case 0x05: { /* DSHD */
+ DIP("dshd r%u, r%u\n", rd, rt);
IRTemp tmpT1 = newTemp(ty);
IRTemp tmpT2 = newTemp(ty);
IRTemp tmpT3 = newTemp(ty);
@@ -4548,7 +4551,6 @@
IRTemp tmpT7 = newTemp(ty);
IRTemp tmpT8 = newTemp(ty);
IRTemp tmpT9 = newTemp(ty);
- DIP("dshd r%u, r%u\n", rd, rt);
assign(tmpT5, mkU64(0xFFFF0000FFFF0000ULL));
assign(tmpT6, mkU64(0x0000FFFF0000FFFFULL));
assign(tmpT1, binop(Iop_And64, mkexpr(tmpRt), mkexpr(tmpT5)));
@@ -4590,13 +4592,12 @@
case 0x04: /* INS */
msb = get_msb(cins);
lsb = get_lsb(cins);
-
size = msb - lsb + 1;
+ DIP("ins size:%d msb:%d lsb:%d", size, msb, lsb);
vassert(lsb + size <= 32);
vassert(lsb + size > 0);
- DIP("ins size:%d msb:%d lsb:%d", size, msb, lsb);
/* put size bits from rs at the pos in temporary */
t0 = newTemp(Ity_I32);
t3 = newTemp(Ity_I32);
@@ -4667,8 +4668,8 @@
msb = get_msb(cins);
lsb = get_lsb(cins);
size = msb + 1;
+ DIP("dext r%u, r%u, %d, %d", rt, rs, lsb, msb + 1);
t1 = newTemp(Ity_I64);
- DIP("dext r%u, r%u, %d, %d\n", rt, rs, lsb, msb + 1);
vassert(lsb >= 0 && lsb < 32);
vassert(size > 0 && size <= 32);
vassert((lsb + size) > 0 && (lsb + size) <= 63);
@@ -4705,15 +4706,15 @@
break;
case 0x10: /* SEB */
- DIP("seb");
- if (mode64)
+ DIP("seb r%d, r%d", rd, rt);
+ if (mode64)
putIReg(rd, unop(Iop_8Sto64, unop(Iop_64to8, getIReg(rt))));
else
putIReg(rd, unop(Iop_8Sto32, unop(Iop_32to8, getIReg(rt))));
break;
case 0x18: /* SEH */
- DIP("seh");
+ DIP("seh r%d, r%d", rd, rt);
if (mode64)
putIReg(rd, unop(Iop_16Sto64, unop(Iop_64to16, getIReg(rt))));
else
@@ -4946,7 +4947,7 @@
break;
case 0x1C: /* Doubleword Multiply - DMULT; MIPS64 */
- DIP("dmult r%u, r%u\n", rs, rt);
+ DIP("dmult r%u, r%u", rs, rt);
t0 = newTemp(Ity_I128);
assign(t0, binop(Iop_MullS64, getIReg(rs), getIReg(rt)));
@@ -4956,7 +4957,7 @@
break;
case 0x1D: /* Doubleword Multiply Unsigned - DMULTU; MIPS64 */
- DIP("dmultu r%u, r%u\n", rs, rt);
+ DIP("dmultu r%u, r%u", rs, rt);
t0 = newTemp(Ity_I128);
assign(t0, binop(Iop_MullU64, getIReg(rs), getIReg(rt)));
@@ -4966,7 +4967,7 @@
break;
case 0x1E: /* Doubleword Divide DDIV; MIPS64 */
- DIP("ddiv");
+ DIP("ddiv r%u, r%u", rs, rt);
t1 = newTemp(Ity_I128);
assign(t1, binop(Iop_DivModS64to64, getIReg(rs), getIReg(rt)));
@@ -4976,7 +4977,7 @@
break;
case 0x1F: /* Doubleword Divide Unsigned DDIVU; MIPS64 check this */
- DIP("ddivu");
+ DIP("ddivu r%u, r%u", rs, rt);
t1 = newTemp(Ity_I128);
t2 = newTemp(Ity_I128);
@@ -5281,7 +5282,7 @@
}
case 0x0D: /* BREAK */
- DIP("Info: Breakpoint...code = %d", trap_code);
+ DIP("break 0x%x", trap_code);
if (mode64)
jmp_lit64(&dres, Ijk_SigTRAP, (guest_PC_curr_instr + 4));
else
@@ -5561,7 +5562,7 @@
goto decode_failure;
case 0x0F: { /* SYNC */
- DIP("sync r%d, r%d, %d", rt, rd, sel);
+ DIP("sync 0x%x", sel);
lsb = get_lsb(cins);
IRDirty *d = unsafeIRDirty_0_N(0,
"mips32_dirtyhelper_sync",
@@ -5578,7 +5579,6 @@
case 0x2C: { /* Doubleword Add - DADD; MIPS64 */
DIP("dadd r%d, r%d, r%d", rd, rs, rt);
-
IRTemp tmpRs64 = newTemp(Ity_I64);
IRTemp tmpRt64 = newTemp(Ity_I64);
@@ -5629,8 +5629,7 @@
break;
case 0x2E: { /* Doubleword Subtract - DSUB; MIPS64 */
- DIP("dsub r%u, r%u,r%u\n", rd, rs, rt);
-
+ DIP("dsub r%u, r%u, r%u", rd, rs, rt);
IRTemp tmpRs64 = newTemp(Ity_I64);
IRTemp tmpRt64 = newTemp(Ity_I64);
@@ -5679,7 +5678,7 @@
}
case 0x2F: /* Doubleword Subtract Unsigned - DSUBU; MIPS64 */
- DIP("dsub r%u, r%u,r%u\n", rd, rt, rt);
+ DIP("dsub r%u, r%u,r%u", rd, rt, rt);
ALU_PATTERN(Iop_Sub64);
break;
@@ -6111,7 +6110,7 @@
case 0x1A: {
/* Load Doubleword Left - LDL; MIPS64 */
vassert(mode64);
- DIP("ldl r%u,%d(r%u)\n", rt, imm, rs);
+ DIP("ldl r%u, %d(r%u)", rt, imm, rs);
/* t1 = addr */
#if defined (_MIPSEL)
t1 = newTemp(Ity_I64);
@@ -6151,7 +6150,7 @@
case 0x1B: {
/* Load Doubleword Right - LDR; MIPS64 */
vassert(mode64);
- DIP("ldr r%u,%d(r%u)\n", rt, imm, rs);
+ DIP("ldr r%u,%d(r%u)", rt, imm, rs);
/* t1 = addr */
#if defined (_MIPSEL)
t1 = newTemp(Ity_I64);
@@ -6181,7 +6180,7 @@
}
case 0x27: /* Load Word unsigned - LWU; MIPS64 */
- DIP("lwu r%u,%d(r%u)\n", rt, imm, rs);
+ DIP("lwu r%u,%d(r%u)", rt, imm, rs);
LOAD_STORE_PATTERN;
putIReg(rt, mkWidenFrom32(ty, load(Ity_I32, mkexpr(t1)), False));
@@ -6193,9 +6192,9 @@
t2 = newTemp(Ity_I32);
#if defined (_MIPSEL)
- stmt(IRStmt_LLSC(Iend_LE, t2, mkexpr(t1), NULL /*this is a load */ ));
+ stmt(IRStmt_LLSC(Iend_LE, t2, mkexpr(t1), NULL /* this is a load */ ));
#elif defined (_MIPSEB)
- stmt(IRStmt_LLSC(Iend_BE, t2, mkexpr(t1), NULL /*this is a load */ ));
+ stmt(IRStmt_LLSC(Iend_BE, t2, mkexpr(t1), NULL /* this is a load */ ));
#endif
if (mode64)
putIReg(rt, unop(Iop_32Sto64, mkexpr(t2)));
@@ -6210,16 +6209,16 @@
t2 = newTemp(Ity_I64);
#if defined (_MIPSEL)
stmt(IRStmt_LLSC
- (Iend_LE, t2, mkexpr(t1), NULL /*this is a load */ ));
+ (Iend_LE, t2, mkexpr(t1), NULL /* this is a load */ ));
#elif defined (_MIPSEB)
stmt(IRStmt_LLSC
- (Iend_BE, t2, mkexpr(t1), NULL /*this is a load */ ));
+ (Iend_BE, t2, mkexpr(t1), NULL /* this is a load */ ));
#endif
putIReg(rt, mkexpr(t2));
break;
- case 0x38: /* SC / SWC0 */
+ case 0x38: /* SC / SWC0 */
DIP("sc r%d, %d(r%d)", rt, imm, rs);
LOAD_STORE_PATTERN;
@@ -6247,16 +6246,15 @@
putIReg(rt, unop(Iop_1Uto64, mkexpr(t2)));
break;
- case 0x37: /* Load Doubleword - LD; MIPS64 */
- DIP("ld r%u,%d(r%u)", rt, imm, rs);
+ case 0x37: /* Load Doubleword - LD; MIPS64 */
+ DIP("ld r%u, %d(r%u)", rt, imm, rs);
LOAD_STORE_PATTERN;
putIReg(rt, load(Ity_I64, mkexpr(t1)));
break;
- case 0x3F: /* Store Doubleword - SD; MIPS64 */
- DIP("sd r%u,%d(r%u)", rt, imm, rs);
+ case 0x3F: /* Store Doubleword - SD; MIPS64 */
+ DIP("sd r%u, %d(r%u)", rt, imm, rs);
LOAD_STORE_PATTERN;
-
store(mkexpr(t1), getIReg(rt));
break;
@@ -6336,8 +6334,8 @@
break;
}
- // On MIPS we need to check if the last instruction
- // in block is branch or jump
+ /* On MIPS we need to check if the last instruction
+ in block is branch or jump. */
if (((vex_control.guest_max_insns - 1) == (delta + 4) / 4)
&& (dres.whatNext != Dis_StopHere))
if (branch_or_jump(guest_code + delta + 4)) {
|
|
From: Christian B. <bor...@de...> - 2013-04-27 02:16:00
|
valgrind revision: 13380 VEX revision: 2715 C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] GDB: GNU gdb (GDB) SUSE (7.3-0.6.1) Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.21.1 C library: GNU C Library stable release version 2.11.3 (20110527) uname -mrs: Linux 3.0.58-0.6.6-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP2 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) ) Started at 2013-04-27 03:45:01 CEST Ended at 2013-04-27 04:15:49 CEST 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 == 632 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == |
|
From: Christian B. <bor...@de...> - 2013-04-27 02:15:29
|
valgrind revision: 13380 VEX revision: 2715 C compiler: gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9bb4) GDB: GNU gdb (GDB) Fedora (7.5-1bb1.fc15) Assembler: GNU assembler version 2.21.51.0.6-6bb6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.8.6-60.x.20130412-s390xperformance s390x Vendor version: unknown Nightly build on fedora390 ( Fedora 15 with devel libc/toolchain on z196 (s390x) ) Started at 2013-04-27 03:45:01 CEST Ended at 2013-04-27 04:15:42 CEST 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 == 633 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) |
|
From: Tom H. <to...@co...> - 2013-04-27 02:05:35
|
valgrind revision: 13379 VEX revision: 2715 C compiler: gcc (GCC) 4.8.0 20130412 (Red Hat 4.8.0-2) GDB: GNU gdb (GDB) Fedora (7.5.91.20130407-18.fc19) Assembler: GNU assembler version 2.23.52.0.1-6.fc19 20130226 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 19 (Schrödingerâs Cat) Nightly build on bristol ( x86_64, Fedora 19 (Schrödingerâs Cat) ) Started at 2013-04-27 02:33:36 BST Ended at 2013-04-27 03:05:19 BST 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 == 652 tests, 6 stderr failures, 2 stdout failures, 3 stderrB failures, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stdout) gdbserver_tests/mcbreak (stdoutB) gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/dw4 (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/hackedbz2 (stderr) |
|
From: Tom H. <to...@co...> - 2013-04-27 01:50:36
|
valgrind revision: 13379 VEX revision: 2715 C compiler: gcc (GCC) 4.8.0 20130320 (Red Hat 4.8.0-0.18) GDB: GNU gdb (GDB) Fedora (7.5.91.20130423-23.fc20) Assembler: GNU assembler version 2.23.52.0.1-10.fc20 20130226 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.8.6-203.fc18.x86_64 x86_64 Vendor version: Fedora release 20 (Rawhide) Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2013-04-27 02:22:42 BST Ended at 2013-04-27 02:50:21 BST 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 == 652 tests, 6 stderr failures, 2 stdout failures, 3 stderrB failures, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stdout) gdbserver_tests/mcbreak (stdoutB) gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/dw4 (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/hackedbz2 (stderr) |
|
From: <sv...@va...> - 2013-04-27 01:30:52
|
petarj 2013-04-27 02:34:05 +0100 (Sat, 27 Apr 2013)
New Revision: 13380
Log:
mips: extending the existing test for INS and EXT instructions
Follow up to r2715 in VEX in which we fix INS instruction for lsb = 0.
Modified files:
trunk/none/tests/mips32/MIPS32int.c
trunk/none/tests/mips32/MIPS32int.stdout.exp
trunk/none/tests/mips32/MIPS32int.stdout.exp-BE
Modified: trunk/none/tests/mips32/MIPS32int.stdout.exp (+384 -18)
===================================================================
--- trunk/none/tests/mips32/MIPS32int.stdout.exp 2013-04-26 20:01:04 +01:00 (rev 13379)
+++ trunk/none/tests/mips32/MIPS32int.stdout.exp 2013-04-27 02:34:05 +01:00 (rev 13380)
@@ -109,25 +109,391 @@
divu $t0, $t1 :: rs 0x00000002 rt 0x00000006 HI 0x00000002 LO 0x00000000
divu $t0, $t1 :: rs 0x00000000 rt 0x00000002 HI 0x00000000 LO 0x00000000
EXT
-ext $t0, $t1, 2, 6 :: rt 0x0000003f rs 0xffffffff, pos 0x00000002, size 0x00000006
-ext $t0, $t1, 2, 6 :: rt 0x0000003f rs 0xffffffff, pos 0x00000002, size 0x00000006
-ext $t0, $t1, 2, 6 :: rt 0x0000003f rs 0xffffffff, pos 0x0000001f, size 0x00000006
-ext $t0, $t1, 2, 6 :: rt 0x00000000 rs 0x00000000, pos 0x00000020, size 0x00000020
-ext $t0, $t1, 2, 6 :: rt 0x0000003f rs 0x0000ffff, pos 0x0000001f, size 0x00000000
-ext $t0, $t1, 2, 6 :: rt 0x0000003f rs 0x000000ff, pos 0x0000001f, size 0x00000000
-ext $t0, $t1, 2, 6 :: rt 0x00000000 rs 0xf0000000, pos 0x0000001f, size 0x00000000
-ext $t0, $t1, 2, 6 :: rt 0x00000000 rs 0xf0000000, pos 0x00000000, size 0x0000001f
-ext $t0, $t1, 2, 6 :: rt 0x00000009 rs 0x31415927, pos 0x00000003, size 0x00000019
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000001
+ext $t0, $t1, 0, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000002 rs 0x98765432, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000002 rs 0x98765432, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000002 rs 0x98765432, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000002 rs 0x98765432, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 4 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000004
+ext $t0, $t1, 0, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 16 :: rt 0x00005421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ext $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0x98765432, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0x98765432, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0x98765432, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000001 rs 0x98765432, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000004, size 0x00000001
+ext $t0, $t1, 4, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000003 rs 0x98765432, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000002 rs 0xff865421, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000003 rs 0x98765432, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000002 rs 0xff865421, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000003 rs 0x98765432, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000002 rs 0xff865421, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000003 rs 0x98765432, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 4 :: rt 0x00000002 rs 0xff865421, pos 0x00000004, size 0x00000004
+ext $t0, $t1, 4, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006543 rs 0x98765432, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006542 rs 0xff865421, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006543 rs 0x98765432, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006542 rs 0xff865421, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006543 rs 0x98765432, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006542 rs 0xff865421, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006543 rs 0x98765432, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 16 :: rt 0x00006542 rs 0xff865421, pos 0x00000004, size 0x00000010
+ext $t0, $t1, 4, 28 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0fffffff rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x09876543 rs 0x98765432, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0ff86542 rs 0xff865421, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0fffffff rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x09876543 rs 0x98765432, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0ff86542 rs 0xff865421, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0fffffff rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x09876543 rs 0x98765432, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0ff86542 rs 0xff865421, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0fffffff rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x09876543 rs 0x98765432, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 4, 28 :: rt 0x0ff86542 rs 0xff865421, pos 0x00000004, size 0x0000001c
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 1 :: rt 0x00000000 rs 0xff865421, pos 0x00000001, size 0x00000010
+ext $t0, $t1, 16, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0x98765432, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0xff865421, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0x98765432, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0xff865421, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0x98765432, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0xff865421, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0x98765432, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 4 :: rt 0x00000006 rs 0xff865421, pos 0x00000010, size 0x00000004
+ext $t0, $t1, 16, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x00009876 rs 0x98765432, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ff86 rs 0xff865421, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x00009876 rs 0x98765432, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ff86 rs 0xff865421, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x00009876 rs 0x98765432, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ff86 rs 0xff865421, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x00009876 rs 0x98765432, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 16, 16 :: rt 0x0000ff86 rs 0xff865421, pos 0x00000010, size 0x00000010
+ext $t0, $t1, 31, 1 :: rt 0x00000000 rs 0x00000000, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0x98765432, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xff865421, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000000 rs 0x00000000, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0x98765432, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xff865421, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000000 rs 0x00000000, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0x98765432, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xff865421, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000000 rs 0x00000000, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0x98765432, pos 0x0000001f, size 0x00000001
+ext $t0, $t1, 31, 1 :: rt 0x00000001 rs 0xff865421, pos 0x0000001f, size 0x00000001
INS
-ins $t0, $t1, 2, 6 :: rt 0x000000fc rs 0xffffffff, pos 0x00000002, size 0x00000006
-ins $t0, $t1, 2, 6 :: rt 0xffffffff rs 0xffffffff, pos 0x00000002, size 0x00000006
-ins $t0, $t1, 2, 6 :: rt 0x000000fc rs 0xffffffff, pos 0x0000001f, size 0x00000006
-ins $t0, $t1, 2, 6 :: rt 0x00000000 rs 0x00000000, pos 0x00000020, size 0x00000020
-ins $t0, $t1, 2, 6 :: rt 0x000000fc rs 0x0000ffff, pos 0x0000001f, size 0x00000000
-ins $t0, $t1, 2, 6 :: rt 0x000000fc rs 0x000000ff, pos 0x0000001f, size 0x00000000
-ins $t0, $t1, 2, 6 :: rt 0x00000000 rs 0xf0000000, pos 0x0000001f, size 0x00000000
-ins $t0, $t1, 2, 6 :: rt 0x00000000 rs 0xf0000000, pos 0x00000000, size 0x0000001f
-ins $t0, $t1, 2, 6 :: rt 0x0000009c rs 0x31415927, pos 0x00000003, size 0x00000019
+ins $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xffffffff, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xfffffffe rs 0x00000000, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xfffffffe rs 0x98765432, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xffffffff rs 0xff865421, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0x98765432 rs 0x00000000, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0x98765433 rs 0xffffffff, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0x98765433 rs 0xff865421, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xff865420 rs 0x00000000, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xff865421 rs 0xffffffff, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xff865420 rs 0x98765432, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 1 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000001
+ins $t0, $t1, 0, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0x0000000f rs 0xffffffff, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0x00000002 rs 0x98765432, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0x00000001 rs 0xff865421, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xfffffff0 rs 0x00000000, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xfffffff2 rs 0x98765432, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xfffffff1 rs 0xff865421, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0x98765430 rs 0x00000000, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0x9876543f rs 0xffffffff, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0x98765431 rs 0xff865421, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xff865420 rs 0x00000000, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xff86542f rs 0xffffffff, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xff865422 rs 0x98765432, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 4 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000004
+ins $t0, $t1, 0, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0x0000ffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0x00005432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0x00005421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xffff0000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xffff5432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xffff5421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0x98760000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0x9876ffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0x98765421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xff860000 rs 0x00000000, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xff86ffff rs 0xffffffff, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xff865432 rs 0x98765432, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 16 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000010
+ins $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0x00000000 rs 0x00000000, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xffffffff rs 0xffffffff, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0x98765432 rs 0x98765432, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 0, 32 :: rt 0xff865421 rs 0xff865421, pos 0x00000000, size 0x00000020
+ins $t0, $t1, 4, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0x00000010 rs 0xffffffff, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0x00000010 rs 0xff865421, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xffffffef rs 0x00000000, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xffffffff rs 0xffffffff, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xffffffef rs 0x98765432, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xffffffff rs 0xff865421, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0x98765422 rs 0x00000000, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0x98765432 rs 0xffffffff, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0x98765422 rs 0x98765432, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0x98765432 rs 0xff865421, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xff865421 rs 0x00000000, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xff865431 rs 0xffffffff, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xff865421 rs 0x98765432, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 1 :: rt 0xff865431 rs 0xff865421, pos 0x00000004, size 0x00000001
+ins $t0, $t1, 4, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0x000000f0 rs 0xffffffff, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0x00000020 rs 0x98765432, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0x00000010 rs 0xff865421, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xffffff0f rs 0x00000000, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xffffffff rs 0xffffffff, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xffffff2f rs 0x98765432, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xffffff1f rs 0xff865421, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0x98765402 rs 0x00000000, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0x987654f2 rs 0xffffffff, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0x98765422 rs 0x98765432, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0x98765412 rs 0xff865421, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xff865401 rs 0x00000000, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xff8654f1 rs 0xffffffff, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xff865421 rs 0x98765432, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 4 :: rt 0xff865411 rs 0xff865421, pos 0x00000004, size 0x00000004
+ins $t0, $t1, 4, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0x000ffff0 rs 0xffffffff, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0x00054320 rs 0x98765432, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0x00054210 rs 0xff865421, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xfff0000f rs 0x00000000, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xffffffff rs 0xffffffff, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xfff5432f rs 0x98765432, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xfff5421f rs 0xff865421, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0x98700002 rs 0x00000000, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0x987ffff2 rs 0xffffffff, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0x98754322 rs 0x98765432, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0x98754212 rs 0xff865421, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xff800001 rs 0x00000000, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xff8ffff1 rs 0xffffffff, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xff854321 rs 0x98765432, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 16 :: rt 0xff854211 rs 0xff865421, pos 0x00000004, size 0x00000010
+ins $t0, $t1, 4, 28 :: rt 0x00000000 rs 0x00000000, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xfffffff0 rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0x87654320 rs 0x98765432, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xf8654210 rs 0xff865421, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0x0000000f rs 0x00000000, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xffffffff rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0x8765432f rs 0x98765432, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xf865421f rs 0xff865421, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0x00000002 rs 0x00000000, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xfffffff2 rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0x87654322 rs 0x98765432, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xf8654212 rs 0xff865421, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0x00000001 rs 0x00000000, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xfffffff1 rs 0xffffffff, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0x87654321 rs 0x98765432, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 4, 28 :: rt 0xf8654211 rs 0xff865421, pos 0x00000004, size 0x0000001c
+ins $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x00000000, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0x00010000 rs 0xffffffff, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0x00000000 rs 0x98765432, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0x00010000 rs 0xff865421, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xfffeffff rs 0x00000000, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xffffffff rs 0xffffffff, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xfffeffff rs 0x98765432, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xffffffff rs 0xff865421, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0x98765432 rs 0x00000000, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0x98775432 rs 0xffffffff, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0x98765432 rs 0x98765432, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0x98775432 rs 0xff865421, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xff865421 rs 0x00000000, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xff875421 rs 0xffffffff, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xff865421 rs 0x98765432, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 1 :: rt 0xff875421 rs 0xff865421, pos 0x00000001, size 0x00000010
+ins $t0, $t1, 16, 4 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0x000f0000 rs 0xffffffff, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0x00020000 rs 0x98765432, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0x00010000 rs 0xff865421, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xfff0ffff rs 0x00000000, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xffffffff rs 0xffffffff, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xfff2ffff rs 0x98765432, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xfff1ffff rs 0xff865421, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0x98705432 rs 0x00000000, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0x987f5432 rs 0xffffffff, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0x98725432 rs 0x98765432, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0x98715432 rs 0xff865421, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xff805421 rs 0x00000000, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xff8f5421 rs 0xffffffff, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xff825421 rs 0x98765432, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 4 :: rt 0xff815421 rs 0xff865421, pos 0x00000010, size 0x00000004
+ins $t0, $t1, 16, 16 :: rt 0x00000000 rs 0x00000000, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0xffff0000 rs 0xffffffff, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x54320000 rs 0x98765432, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x54210000 rs 0xff865421, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x0000ffff rs 0x00000000, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0xffffffff rs 0xffffffff, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x5432ffff rs 0x98765432, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x5421ffff rs 0xff865421, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x00005432 rs 0x00000000, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0xffff5432 rs 0xffffffff, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x54325432 rs 0x98765432, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x54215432 rs 0xff865421, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x00005421 rs 0x00000000, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0xffff5421 rs 0xffffffff, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x54325421 rs 0x98765432, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 16, 16 :: rt 0x54215421 rs 0xff865421, pos 0x00000010, size 0x00000010
+ins $t0, $t1, 31, 1 :: rt 0x00000000 rs 0x00000000, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x80000000 rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x00000000 rs 0x98765432, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x80000000 rs 0xff865421, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x7fffffff rs 0x00000000, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0xffffffff rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x7fffffff rs 0x98765432, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0xffffffff rs 0xff865421, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x18765432 rs 0x00000000, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x98765432 rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x18765432 rs 0x98765432, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x98765432 rs 0xff865421, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x7f865421 rs 0x00000000, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0xff865421 rs 0xffffffff, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0x7f865421 rs 0x98765432, pos 0x0000001f, size 0x00000001
+ins $t0, $t1, 31, 1 :: rt 0xff865421 rs 0xff865421, pos 0x0000001f, size 0x00000001
LB
lb $t0, 0($t1) :: rt 0x0000001f
lb $t0, 4($t1) :: rt 0x00000000
Modified: trunk/none/tests/mips32/MIPS32int.c (+390 -18)
===================================================================
--- trunk/none/tests/mips32/MIPS32int.c 2013-04-26 20:01:04 +01:00 (rev 13379)
+++ trunk/none/tests/mips32/MIPS32int.c 2013-04-27 02:34:05 +01:00 (rev 13380)
@@ -251,26 +251,398 @@
#if (__mips==32) && (__mips_isa_rev>=2)
printf("EXT\n");
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0xffffffff, t0, t1, 2, 6);
- TESTINST4("ext $t0, $t1, 2, 6", 0xffffffff, 0xffffffff, t0, t1, 2, 6);
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0xffffffff, t0, t1, 31, 6);
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0, t0, t1, 32, 32);
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0xffff, t0, t1, 31, 0);
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0xff, t0, t1, 31, 0)
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0xf0000000, t0, t1, 31, 0)
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0xf0000000, t0, t1, 0, 31)
- TESTINST4("ext $t0, $t1, 2, 6", 0, 0x31415927, t0, t1, 3, 25)
+ TESTINST4("ext $t0, $t1, 0, 1", 0x0, 0x0, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0x0, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0x0, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0x0, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xffffffff, 0x0, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xffffffff, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xffffffff, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xffffffff, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0x98765432, 0x0, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0x98765432, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0x98765432, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0x98765432, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xff865421, 0x0, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xff865421, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xff865421, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 1", 0xff865421, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x0, 0x0, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x0, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x0, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x0, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xffffffff, 0x0, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xffffffff, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xffffffff, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xffffffff, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x98765432, 0x0, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x98765432, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x98765432, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0x98765432, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xff865421, 0x0, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xff865421, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xff865421, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 4", 0xff865421, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x0, 0x0, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x0, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x0, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x0, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xffffffff, 0x0, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xffffffff, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xffffffff, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xffffffff, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x98765432, 0x0, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x98765432, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x98765432, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0x98765432, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xff865421, 0x0, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xff865421, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xff865421, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 16", 0xff865421, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x0, 0x0, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x0, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x0, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x0, 0xff865421, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xffffffff, 0x0, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xffffffff, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xffffffff, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xffffffff, 0xff865421, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x98765432, 0x0, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x98765432, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x98765432, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0x98765432, 0xff865421, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xff865421, 0x0, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xff865421, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xff865421, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 0, 32", 0xff865421, 0xff865421, t0, t1, 0, 32);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x0, 0x0, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x0, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x0, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x0, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xffffffff, 0x0, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xffffffff, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xffffffff, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xffffffff, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x98765432, 0x0, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x98765432, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x98765432, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0x98765432, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xff865421, 0x0, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xff865421, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xff865421, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 1", 0xff865421, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x0, 0x0, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x0, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x0, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x0, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xffffffff, 0x0, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xffffffff, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xffffffff, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xffffffff, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x98765432, 0x0, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x98765432, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x98765432, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0x98765432, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xff865421, 0x0, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xff865421, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xff865421, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 4", 0xff865421, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x0, 0x0, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x0, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x0, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x0, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xffffffff, 0x0, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xffffffff, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xffffffff, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xffffffff, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x98765432, 0x0, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x98765432, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x98765432, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0x98765432, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xff865421, 0x0, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xff865421, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xff865421, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 16", 0xff865421, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x0, 0x0, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x0, 0xffffffff, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x0, 0x98765432, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x0, 0xff865421, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xffffffff, 0x0, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xffffffff, 0xffffffff, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xffffffff, 0x98765432, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xffffffff, 0xff865421, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x98765432, 0x0, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x98765432, 0xffffffff, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x98765432, 0x98765432, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0x98765432, 0xff865421, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xff865421, 0x0, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xff865421, 0xffffffff, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xff865421, 0x98765432, t0, t1, 4, 28);
+ TESTINST4("ext $t0, $t1, 4, 28", 0xff865421, 0xff865421, t0, t1, 4, 28);
+
+ TESTINST4("ext $t0, $t1, 16, 1", 0x0, 0x0, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0x0, 0xffffffff, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0x0, 0x98765432, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0x0, 0xff865421, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xffffffff, 0x0, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xffffffff, 0xffffffff, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xffffffff, 0x98765432, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xffffffff, 0xff865421, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0x98765432, 0x0, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0x98765432, 0xffffffff, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0x98765432, 0x98765432, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0x98765432, 0xff865421, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xff865421, 0x0, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xff865421, 0xffffffff, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xff865421, 0x98765432, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 1", 0xff865421, 0xff865421, t0, t1, 1, 16);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x0, 0x0, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x0, 0xffffffff, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x0, 0x98765432, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x0, 0xff865421, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xffffffff, 0x0, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xffffffff, 0xffffffff, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xffffffff, 0x98765432, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xffffffff, 0xff865421, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x98765432, 0x0, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x98765432, 0xffffffff, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x98765432, 0x98765432, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0x98765432, 0xff865421, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xff865421, 0x0, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xff865421, 0xffffffff, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xff865421, 0x98765432, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 4", 0xff865421, 0xff865421, t0, t1, 16, 4);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x0, 0x0, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x0, 0xffffffff, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x0, 0x98765432, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x0, 0xff865421, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xffffffff, 0x0, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xffffffff, 0xffffffff, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xffffffff, 0x98765432, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xffffffff, 0xff865421, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x98765432, 0x0, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x98765432, 0xffffffff, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x98765432, 0x98765432, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0x98765432, 0xff865421, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xff865421, 0x0, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xff865421, 0xffffffff, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xff865421, 0x98765432, t0, t1, 16, 16);
+ TESTINST4("ext $t0, $t1, 16, 16", 0xff865421, 0xff865421, t0, t1, 16, 16);
+
+ TESTINST4("ext $t0, $t1, 31, 1", 0x0, 0x0, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0x0, 0xffffffff, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0x0, 0x98765432, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0x0, 0xff865421, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xffffffff, 0x0, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xffffffff, 0xffffffff, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xffffffff, 0x98765432, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xffffffff, 0xff865421, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0x98765432, 0x0, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0x98765432, 0xffffffff, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0x98765432, 0x98765432, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0x98765432, 0xff865421, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xff865421, 0x0, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xff865421, 0xffffffff, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xff865421, 0x98765432, t0, t1, 31, 1);
+ TESTINST4("ext $t0, $t1, 31, 1", 0xff865421, 0xff865421, t0, t1, 31, 1);
+
printf("INS\n");
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0xffffffff, t0, t1, 2, 6);
- TESTINST4("ins $t0, $t1, 2, 6", 0xffffffff, 0xffffffff, t0, t1, 2, 6);
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0xffffffff, t0, t1, 31, 6);
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0, t0, t1, 32, 32);
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0xffff, t0, t1, 31, 0);
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0xff, t0, t1, 31, 0)
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0xf0000000, t0, t1, 31, 0)
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0xf0000000, t0, t1, 0, 31)
- TESTINST4("ins $t0, $t1, 2, 6", 0, 0x31415927, t0, t1, 3, 25)
+ TESTINST4("ins $t0, $t1, 0, 1", 0x0, 0x0, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0x0, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0x0, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0x0, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xffffffff, 0x0, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xffffffff, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xffffffff, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xffffffff, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0x98765432, 0x0, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0x98765432, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0x98765432, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0x98765432, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xff865421, 0x0, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xff865421, 0xffffffff, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xff865421, 0x98765432, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 1", 0xff865421, 0xff865421, t0, t1, 0, 1);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x0, 0x0, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x0, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x0, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x0, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xffffffff, 0x0, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xffffffff, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xffffffff, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xffffffff, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x98765432, 0x0, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x98765432, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x98765432, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0x98765432, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xff865421, 0x0, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xff865421, 0xffffffff, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xff865421, 0x98765432, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 4", 0xff865421, 0xff865421, t0, t1, 0, 4);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x0, 0x0, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x0, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x0, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x0, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xffffffff, 0x0, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xffffffff, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xffffffff, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xffffffff, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x98765432, 0x0, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x98765432, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x98765432, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0x98765432, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xff865421, 0x0, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xff865421, 0xffffffff, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xff865421, 0x98765432, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 16", 0xff865421, 0xff865421, t0, t1, 0, 16);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x0, 0x0, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x0, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x0, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x0, 0xff865421, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xffffffff, 0x0, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xffffffff, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xffffffff, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xffffffff, 0xff865421, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x98765432, 0x0, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x98765432, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x98765432, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0x98765432, 0xff865421, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xff865421, 0x0, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xff865421, 0xffffffff, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xff865421, 0x98765432, t0, t1, 0, 32);
+ TESTINST4("ins $t0, $t1, 0, 32", 0xff865421, 0xff865421, t0, t1, 0, 32);
+
+ TESTINST4("ins $t0, $t1, 4, 1", 0x0, 0x0, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0x0, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0x0, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0x0, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xffffffff, 0x0, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xffffffff, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xffffffff, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xffffffff, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0x98765432, 0x0, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0x98765432, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0x98765432, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0x98765432, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xff865421, 0x0, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xff865421, 0xffffffff, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xff865421, 0x98765432, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 1", 0xff865421, 0xff865421, t0, t1, 4, 1);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x0, 0x0, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x0, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x0, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x0, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xffffffff, 0x0, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xffffffff, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xffffffff, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xffffffff, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x98765432, 0x0, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x98765432, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x98765432, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0x98765432, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xff865421, 0x0, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xff865421, 0xffffffff, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xff865421, 0x98765432, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 4", 0xff865421, 0xff865421, t0, t1, 4, 4);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x0, 0x0, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x0, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x0, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x0, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xffffffff, 0x0, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xffffffff, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xffffffff, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xffffffff, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x98765432, 0x0, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x98765432, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x98765432, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0x98765432, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xff865421, 0x0, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xff865421, 0xffffffff, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xff865421, 0x98765432, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 16", 0xff865421, 0xff865421, t0, t1, 4, 16);
+ TESTINST4("ins $t0, $t1, 4, 28", 0x0, 0x0, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0x0, 0xffffffff, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0x0, 0x98765432, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0x0, 0xff865421, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0xffffffff, 0x0, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0xffffffff, 0xffffffff, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0xffffffff, 0x98765432, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0xffffffff, 0xff865421, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0x98765432, 0x0, t0, t1, 4, 28);
+ TESTINST4("ins $t0, $t1, 4, 28", 0x98765432, 0xffffffff, t0, t1, 4, 28);
+ TESTINS...
[truncated message content] |
|
From: <sv...@va...> - 2013-04-27 01:12:33
|
petarj 2013-04-27 02:15:48 +0100 (Sat, 27 Apr 2013)
New Revision: 2715
Log:
mips: fix corner case for INS instruction
This change fixes corner case for INS instruction when lsb = 0.
The test in none/tests/mips32/MIPS32int.c will be extended to include
additional test cases that trigger this condition.
Modified files:
trunk/priv/guest_mips_toIR.c
Modified: trunk/priv/guest_mips_toIR.c (+5 -4)
===================================================================
--- trunk/priv/guest_mips_toIR.c 2013-04-26 11:24:31 +01:00 (rev 2714)
+++ trunk/priv/guest_mips_toIR.c 2013-04-27 02:15:48 +01:00 (rev 2715)
@@ -4614,7 +4614,8 @@
assign(t2, binop(Iop_Shl32, mkNarrowTo32(ty, getIReg(rt)),
mkU8(32 - lsb)));
assign(t3, binop(Iop_Shr32, mkexpr(t2), mkU8(32 - lsb)));
- }
+ } else
+ assign(t3, mkU32(0));
if (msb < 31) {
t4 = newTemp(Ity_I32);
@@ -4629,14 +4630,14 @@
t6 = newTemp(Ity_I32);
assign(t6, binop(Iop_Or32, mkexpr(t5), mkexpr(t1)));
putIReg(rt, mkWidenFrom32(ty, binop(Iop_Or32, mkexpr(t6),
- mkexpr(t3)), False));
+ mkexpr(t3)), True));
} else {
putIReg(rt, mkWidenFrom32(ty, binop(Iop_Or32, mkexpr(t1),
- mkexpr(t5)), False));
+ mkexpr(t5)), True));
}
} else {
putIReg(rt, mkWidenFrom32(ty, binop(Iop_Or32, mkexpr(t1),
- mkexpr(t3)), False));
+ mkexpr(t3)), True));
}
break;
|