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
(13) |
3
(16) |
4
(12) |
5
(17) |
|
6
(16) |
7
(13) |
8
(15) |
9
(15) |
10
(18) |
11
(5) |
12
(17) |
|
13
(13) |
14
(13) |
15
(5) |
16
(13) |
17
(2) |
18
(19) |
19
(12) |
|
20
|
21
(22) |
22
(23) |
23
(23) |
24
(23) |
25
(20) |
26
(19) |
|
27
(33) |
28
(20) |
29
(15) |
30
(21) |
31
(20) |
|
|
|
From: <sv...@va...> - 2012-05-12 18:06:42
|
florian 2012-05-12 19:06:35 +0100 (Sat, 12 May 2012)
New Revision: 12562
Log:
Move registration of mc_pre_reg_read to mc_post_clo_init.
This fixes the regtest failure for memcheck/tests/clireq_nofill on s390x.
Modified files:
trunk/memcheck/mc_main.c
Modified: trunk/memcheck/mc_main.c (+4 -3)
===================================================================
--- trunk/memcheck/mc_main.c 2012-05-12 01:05:14 +01:00 (rev 12561)
+++ trunk/memcheck/mc_main.c 2012-05-12 19:06:35 +01:00 (rev 12562)
@@ -6113,6 +6113,10 @@
tl_assert(ocacheL1 == NULL);
tl_assert(ocacheL2 == NULL);
}
+
+ /* Do not check definedness of guest state if --undef-value-errors=no */
+ if (MC_(clo_mc_level) >= 2)
+ VG_(track_pre_reg_read) ( mc_pre_reg_read );
}
static void print_SM_info(char* type, int n_SMs)
@@ -6413,9 +6417,6 @@
VG_(track_pre_mem_write) ( check_mem_is_addressable );
VG_(track_post_mem_write) ( mc_post_mem_write );
- if (MC_(clo_mc_level) >= 2)
- VG_(track_pre_reg_read) ( mc_pre_reg_read );
-
VG_(track_post_reg_write) ( mc_post_reg_write );
VG_(track_post_reg_write_clientcall_return)( mc_post_reg_write_clientcall );
|
|
From: <sv...@va...> - 2012-05-12 16:14:15
|
florian 2012-05-12 17:14:08 +0100 (Sat, 12 May 2012)
New Revision: 2329
Log:
Fix disassembly for asi and agsi
Modified files:
trunk/priv/host_s390_defs.c
Modified: trunk/priv/host_s390_defs.c (+2 -2)
===================================================================
--- trunk/priv/host_s390_defs.c 2012-05-12 16:26:44 +01:00 (rev 2328)
+++ trunk/priv/host_s390_defs.c 2012-05-12 17:14:08 +01:00 (rev 2329)
@@ -1311,7 +1311,7 @@
vassert(s390_host_has_gie);
if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
- s390_disasm(ENC3(MNM, INT, SDXB), "agsi", (Int)(Char)i2, dh1, dl1, 0, b1);
+ s390_disasm(ENC3(MNM, SDXB, INT), "agsi", dh1, dl1, 0, b1, (Int)(Char)i2);
return emit_SIY(p, 0xeb000000007aULL, i2, b1, dl1, dh1);
}
@@ -1323,7 +1323,7 @@
vassert(s390_host_has_gie);
if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
- s390_disasm(ENC3(MNM, INT, SDXB), "asi", (Int)(Char)i2, dh1, dl1, 0, b1);
+ s390_disasm(ENC3(MNM, SDXB, INT), "asi", dh1, dl1, 0, b1, (Int)(Char)i2);
return emit_SIY(p, 0xeb000000006aULL, i2, b1, dl1, dh1);
}
|
|
From: <sv...@va...> - 2012-05-12 15:26:52
|
florian 2012-05-12 16:26:44 +0100 (Sat, 12 May 2012)
New Revision: 2328
Log:
Eliminate helper s390_calculate_icc. Rewrite and factor the code to use
s390_calculate_cond instead. The benefit is that the latter has comprehensive
spec_helpers whereas the former had not.
Modified files:
trunk/priv/guest_s390_defs.h
trunk/priv/guest_s390_helpers.c
trunk/priv/guest_s390_toIR.c
Modified: trunk/priv/guest_s390_toIR.c (+55 -93)
===================================================================
--- trunk/priv/guest_s390_toIR.c 2012-05-12 04:44:49 +01:00 (rev 2327)
+++ trunk/priv/guest_s390_toIR.c 2012-05-12 16:26:44 +01:00 (rev 2328)
@@ -630,21 +630,35 @@
/* Build IR to calculate the internal condition code for a "compare and branch"
insn. Returns an expression of type Ity_I32 */
static IRExpr *
-s390_call_calculate_icc(UInt opc, IRTemp op1, IRTemp op2, Bool sign_extend)
+s390_call_calculate_icc(UInt m, UInt opc, IRTemp op1, IRTemp op2)
{
- IRExpr **args, *call, *op, *dep1, *dep2;
+ IRExpr **args, *call, *op, *dep1, *dep2, *mask;
+ switch (opc) {
+ case S390_CC_OP_SIGNED_COMPARE:
+ dep1 = s390_cc_widen(op1, True);
+ dep2 = s390_cc_widen(op2, True);
+ break;
+
+ case S390_CC_OP_UNSIGNED_COMPARE:
+ dep1 = s390_cc_widen(op1, False);
+ dep2 = s390_cc_widen(op2, False);
+ break;
+
+ default:
+ vpanic("s390_call_calculate_icc");
+ }
+
+ mask = mkU64(m);
op = mkU64(opc);
- dep1 = s390_cc_widen(op1, sign_extend);
- dep2 = s390_cc_widen(op2, sign_extend);
- args = mkIRExprVec_3(op, dep1, dep2);
+ args = mkIRExprVec_5(mask, op, dep1, dep2, mkU64(0) /* unused */);
call = mkIRExprCCall(Ity_I32, 0 /*regparm*/,
- "s390_calculate_icc", &s390_calculate_icc, args);
+ "s390_calculate_cond", &s390_calculate_cond, args);
- /* Exclude OP from definedness checking. We're only
- interested in DEP1 and DEP2. */
- call->Iex.CCall.cee->mcx_mask = (1<<0);
+ /* Exclude the requested condition, OP and NDEP from definedness
+ checking. We're only interested in DEP1 and DEP2. */
+ call->Iex.CCall.cee->mcx_mask = (1<<0) | (1<<1) | (1<<4);
return call;
}
@@ -683,10 +697,6 @@
s390_cc_thunk_put3(op,dep1,dep2,ndep,False)
#define s390_cc_thunk_putSSS(op,dep1,dep2,ndep) \
s390_cc_thunk_put3(op,dep1,dep2,ndep,True)
-#define s390_call_calculate_iccZZ(op,dep1,dep2) \
- s390_call_calculate_icc(op,dep1,dep2,False)
-#define s390_call_calculate_iccSS(op,dep1,dep2) \
- s390_call_calculate_icc(op,dep1,dep2,True)
@@ -3584,7 +3594,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
IRTemp op2 = newTemp(Ity_I32);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3594,10 +3603,8 @@
} else {
assign(op1, get_gpr_w1(r1));
assign(op2, get_gpr_w1(r2));
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE,
+ op1, op2));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -3611,7 +3618,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
IRTemp op2 = newTemp(Ity_I64);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3621,10 +3627,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
assign(op2, get_gpr_dw0(r2));
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE,
+ op1, op2));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -3638,7 +3642,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
IRTemp op2 = newTemp(Ity_I32);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3649,10 +3652,8 @@
} else {
assign(op1, get_gpr_w1(r1));
assign(op2, get_gpr_w1(r2));
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE,
+ op1, op2));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
@@ -3667,7 +3668,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
IRTemp op2 = newTemp(Ity_I64);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3678,10 +3678,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
assign(op2, get_gpr_dw0(r2));
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE,
+ op1, op2));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
@@ -3696,7 +3694,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
Int op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3706,10 +3703,8 @@
} else {
assign(op1, get_gpr_w1(r1));
op2 = (Int)(Char)i2;
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- mktemp(Ity_I32, mkU32((UInt)op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE, op1,
+ mktemp(Ity_I32, mkU32((UInt)op2))));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -3723,7 +3718,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
Long op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3733,10 +3727,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
op2 = (Long)(Char)i2;
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- mktemp(Ity_I64, mkU64((ULong)op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE, op1,
+ mktemp(Ity_I64, mkU64((ULong)op2))));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -3750,7 +3742,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
Int op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3760,10 +3751,8 @@
} else {
assign(op1, get_gpr_w1(r1));
op2 = (Int)(Char)i2;
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- mktemp(Ity_I32, mkU32((UInt)op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE, op1,
+ mktemp(Ity_I32, mkU32((UInt)op2))));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
@@ -3778,7 +3767,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
Long op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -3788,10 +3776,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
op2 = (Long)(Char)i2;
- assign(icc, s390_call_calculate_iccSS(S390_CC_OP_SIGNED_COMPARE, op1,
- mktemp(Ity_I64, mkU64((ULong)op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_SIGNED_COMPARE, op1,
+ mktemp(Ity_I64, mkU64((ULong)op2))));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
@@ -4255,7 +4241,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
IRTemp op2 = newTemp(Ity_I32);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4265,10 +4250,8 @@
} else {
assign(op1, get_gpr_w1(r1));
assign(op2, get_gpr_w1(r2));
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE,
+ op1, op2));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -4282,7 +4265,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
IRTemp op2 = newTemp(Ity_I64);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4292,10 +4274,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
assign(op2, get_gpr_dw0(r2));
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE,
+ op1, op2));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -4309,7 +4289,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
IRTemp op2 = newTemp(Ity_I32);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4319,10 +4298,8 @@
} else {
assign(op1, get_gpr_w1(r1));
assign(op2, get_gpr_w1(r2));
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE,
+ op1, op2));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
@@ -4337,7 +4314,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
IRTemp op2 = newTemp(Ity_I64);
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4347,10 +4323,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
assign(op2, get_gpr_dw0(r2));
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- op2));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE,
+ op1, op2));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
@@ -4365,7 +4339,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
UInt op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4375,10 +4348,8 @@
} else {
assign(op1, get_gpr_w1(r1));
op2 = (UInt)i2;
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- mktemp(Ity_I32, mkU32(op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE, op1,
+ mktemp(Ity_I32, mkU32(op2))));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -4392,7 +4363,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
ULong op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4402,10 +4372,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
op2 = (ULong)i2;
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- mktemp(Ity_I64, mkU64(op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE, op1,
+ mktemp(Ity_I64, mkU64(op2))));
if_not_condition_goto_computed(binop(Iop_CmpEQ32, mkexpr(cond),
mkU32(0)), mkexpr(op4addr));
}
@@ -4419,7 +4387,6 @@
{
IRTemp op1 = newTemp(Ity_I32);
UInt op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4429,10 +4396,8 @@
} else {
assign(op1, get_gpr_w1(r1));
op2 = (UInt)i2;
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- mktemp(Ity_I32, mkU32(op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE, op1,
+ mktemp(Ity_I32, mkU32(op2))));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
@@ -4447,7 +4412,6 @@
{
IRTemp op1 = newTemp(Ity_I64);
ULong op2;
- IRTemp icc = newTemp(Ity_I32);
IRTemp cond = newTemp(Ity_I32);
if (m3 == 0) {
@@ -4457,10 +4421,8 @@
} else {
assign(op1, get_gpr_dw0(r1));
op2 = (ULong)i2;
- assign(icc, s390_call_calculate_iccZZ(S390_CC_OP_UNSIGNED_COMPARE, op1,
- mktemp(Ity_I64, mkU64(op2))));
- assign(cond, binop(Iop_And32, binop(Iop_Shl32, mkU32(m3),
- unop(Iop_32to8, mkexpr(icc))), mkU32(8)));
+ assign(cond, s390_call_calculate_icc(m3, S390_CC_OP_UNSIGNED_COMPARE, op1,
+ mktemp(Ity_I64, mkU64(op2))));
if_condition_goto(binop(Iop_CmpNE32, mkexpr(cond), mkU32(0)),
guest_IA_curr_instr + ((ULong)(Long)(Short)i4 << 1));
Modified: trunk/priv/guest_s390_helpers.c (+0 -7)
===================================================================
--- trunk/priv/guest_s390_helpers.c 2012-05-12 04:44:49 +01:00 (rev 2327)
+++ trunk/priv/guest_s390_helpers.c 2012-05-12 16:26:44 +01:00 (rev 2328)
@@ -656,13 +656,6 @@
}
-UInt
-s390_calculate_icc(ULong op, ULong dep1, ULong dep2)
-{
- return s390_calculate_cc(op, dep1, dep2, 0 /* unused */);
-}
-
-
/* Note that this does *not* return a Boolean value. The result needs to be
explicitly tested against zero. */
UInt
Modified: trunk/priv/guest_s390_defs.h (+0 -1)
===================================================================
--- trunk/priv/guest_s390_defs.h 2012-05-12 04:44:49 +01:00 (rev 2327)
+++ trunk/priv/guest_s390_defs.h 2012-05-12 16:26:44 +01:00 (rev 2328)
@@ -177,7 +177,6 @@
/*------------------------------------------------------------*/
UInt s390_calculate_cc(ULong cc_op, ULong cc_dep1, ULong cc_dep2,
ULong cc_ndep);
-UInt s390_calculate_icc(ULong op, ULong dep1, ULong dep2);
UInt s390_calculate_cond(ULong mask, ULong op, ULong dep1, ULong dep2,
ULong ndep);
|
|
From: Philippe W. <phi...@sk...> - 2012-05-12 09:06:30
|
memcheck/tests/trivialleak is failing on pcc64 gcc110.
1000 blocks are clearly leaked, but 2 blocks are still found as reachable
I guess due to bad luck.
Using gdbserver "block_list" and "who_points_at", we see that one block
is reachable via the GOT segment, the other via a data symbol called cache_new.
(see below).
It is not clear to me how to fix that. The memcheck/tests/leak.h
contains a CLEAR_CALLER_SAVED_REGS but I doubt
this will clear the two unlucky references to leaked blocks.
Any idea ?
Otherwise, I guess we will need a new trivialleak .exp file, with
998 leaked blocks rather than 1000.
Philippe
(gdb) mo l f r a
==15588== 2 bytes in 2 blocks are still reachable in loss record 1 of 2
==15588== at 0x402803C: malloc (vg_replace_malloc.c:267)
==15588== by 0x1000052F: test (trivialleak.c:8)
==15588== by 0x1000058B: main (trivialleak.c:12)
==15588==
==15588== 998 bytes in 998 blocks are definitely lost in loss record 2 of 2
==15588== at 0x402803C: malloc (vg_replace_malloc.c:267)
==15588== by 0x1000052F: test (trivialleak.c:8)
==15588== by 0x1000058B: main (trivialleak.c:12)
==15588==
==15588== LEAK SUMMARY:
==15588== definitely lost: 998 bytes in 998 blocks
==15588== indirectly lost: 0 bytes in 0 blocks
==15588== possibly lost: 0 bytes in 0 blocks
==15588== still reachable: 2 bytes in 2 blocks
==15588== suppressed: 0 bytes in 0 blocks
==15588==
(gdb) mo b 1
==15588== 2 bytes in 2 blocks are still reachable in loss record 1 of 2
==15588== at 0x402803C: malloc (vg_replace_malloc.c:267)
==15588== by 0x1000052F: test (trivialleak.c:8)
==15588== by 0x1000058B: main (trivialleak.c:12)
==15588== 0x4043880[1]
==15588== 0x4045270[1]
(gdb) mo w 0x4043880
==15588== Searching for pointers to 0x4043880
==15588== *0x802cfb3008 points at 0x4043880
==15588== Address 0x802cfb3008 is 0 bytes inside data symbol "cache_new"
(gdb) mo w 0x4045270
==15588== Searching for pointers to 0x4045270
==15588== *0x403dbf8 points at 0x4045270
==15588== Address 0x403dbf8 is in the GOT segment of
/home/philippe/valgrind/trunk_untouched/memcheck/vgpreload_memcheck-ppc64-linux.so
(gdb) bt
#0 0x000000802d012110 in generic_start_main (main=@0x10010ab8: 0x10000574 <main>,
argc=<optimized out>, ubp_av=0x7ff00f228, auxvec=0x7ff00f348, init=<optimized out>,
rtld_fini=<optimized out>, stack_end=Unhandled dwarf expression opcode 0xfa
) at ../csu/libc-start.c:226
#1 0x000000802d012304 in __libc_start_main (argc=<optimized out>, ubp_av=<optimized out>,
ubp_ev=<optimized out>, auxvec=<optimized out>, rtld_fini=<optimized out>,
stinfo=<optimized out>, stack_on_entry=<optimized out>)
at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:92
#2 0x0000000000000000 in ?? ()
(gdb)
|
|
From: <sv...@va...> - 2012-05-12 03:45:08
|
florian 2012-05-12 04:44:49 +0100 (Sat, 12 May 2012)
New Revision: 2327
Log:
Back out VEX r2326. It was not working correctly. The guard condition
has to be evaluated after argument evaluation. Add clarifying comments
in libvex_ir.h
Modified files:
trunk/priv/host_s390_isel.c
trunk/pub/libvex_ir.h
Modified: trunk/pub/libvex_ir.h (+6 -3)
===================================================================
--- trunk/pub/libvex_ir.h 2012-05-09 14:31:09 +01:00 (rev 2326)
+++ trunk/pub/libvex_ir.h 2012-05-12 04:44:49 +01:00 (rev 2327)
@@ -1647,6 +1647,9 @@
* it may not access guest memory, since that would hide
guest memory transactions from the instrumenters
+ * it must not assume that arguments are being evaluated in a
+ particular order. The oder of evaluation is unspecified.
+
This is restrictive, but makes the semantics clean, and does
not interfere with IR optimisation.
@@ -1845,9 +1848,9 @@
call does not access guest state.
IMPORTANT NOTE re GUARDS: Dirty calls are strict, very strict. The
- arguments are evaluated REGARDLESS of the guard value. It is
- unspecified the relative order of arg evaluation and guard
- evaluation.
+ arguments are evaluated REGARDLESS of the guard value. The order of
+ argument evaluation is unspecified. The guard expression is evaluated
+ AFTER the arguments have been evaluated.
*/
#define VEX_N_FXSTATE 7 /* enough for FXSAVE/FXRSTOR on x86 */
Modified: trunk/priv/host_s390_isel.c (+40 -111)
===================================================================
--- trunk/priv/host_s390_isel.c 2012-05-09 14:31:09 +01:00 (rev 2326)
+++ trunk/priv/host_s390_isel.c 2012-05-12 04:44:49 +01:00 (rev 2327)
@@ -423,56 +423,6 @@
}
-/* If EXPR can be evaluated with a single s390_insn, do so and assign the
- value to register DST. If not, return NULL. */
-static s390_insn *
-s390_isel_single_insn_for_int_expr(ISelEnv *env, HReg dst, IRExpr *expr)
-{
- switch (expr->tag) {
- case Iex_Const: {
- ULong value;
- const IRConst *con = expr->Iex.Const.con;
-
- /* Bitwise copy of the value. No sign/zero-extension */
- switch (con->tag) {
- case Ico_U64: value = con->Ico.U64; break;
- case Ico_U32: value = con->Ico.U32; break;
- case Ico_U16: value = con->Ico.U16; break;
- case Ico_U8: value = con->Ico.U8; break;
- default: vpanic("s390_isel_single_insn_for_int_expr: invalid constant");
- }
-
- return s390_insn_load_immediate(8, dst, value);
- }
-
- case Iex_RdTmp: {
- HReg src = lookupIRTemp(env, expr->Iex.RdTmp.tmp);
- return s390_insn_move(8, dst, src);
- }
-
- case Iex_Get: {
- UInt size = sizeofIRType(typeOfIRExpr(env->type_env, expr));
- s390_amode *am = s390_amode_for_guest_state(expr->Iex.Get.offset);
-
- return s390_insn_load(size, dst, am);
- }
-
- case Iex_Load: {
- UInt size = sizeofIRType(typeOfIRExpr(env->type_env, expr));
- s390_amode *am = s390_isel_amode(env, expr->Iex.Load.addr);
-
- vassert(expr->Iex.Load.end == Iend_BE);
-
- return s390_insn_load(size, dst, am);
- }
-
- default:
- /* too complex */
- return NULL;
- }
-}
-
-
/* Call a helper (clean or dirty)
Arguments must satisfy the following conditions:
@@ -481,14 +431,29 @@
guard is a Ity_Bit expression indicating whether or not the
call happens. If guard == NULL, the call is unconditional.
+
+ Calling the helper function proceeds as follows:
+
+ (1) The helper arguments are evaluated and their value stored in
+ virtual registers.
+ (2) The condition code is evaluated
+ (3) The argument values are copied from the virtual registers to the
+ registers mandated by the ABI.
+ (4) Call the helper function.
+
+ This is not the most efficient way as step 3 generates register-to-register
+ moves. But it is the least fragile way as the only hidden dependency here
+ is that register-to-register moves (step 3) must not clobber the condition
+ code. Other schemes (e.g. VEX r2326) that attempt to avoid the register-
+ to-register add more such dependencies. Not good. Besides, it's the job
+ of the register allocator to throw out those reg-to-reg moves.
*/
static void
doHelperCall(ISelEnv *env, Bool passBBP, IRExpr *guard,
IRCallee *callee, IRExpr **args)
{
- UInt n_args, i, argreg;
+ UInt n_args, i, argreg, size;
ULong target;
- s390_insn *insn_for_arg[S390_NUM_GPRPARMS];
HReg tmpregs[S390_NUM_GPRPARMS];
s390_cc_t cc;
@@ -500,6 +465,22 @@
vpanic("doHelperCall: too many arguments");
}
+ argreg = 0;
+
+ /* If we need the guest state pointer put it in a temporary arg reg */
+ if (passBBP) {
+ tmpregs[argreg] = newVRegI(env);
+ addInstr(env, s390_insn_move(sizeof(ULong), tmpregs[argreg],
+ s390_hreg_guest_state_pointer()));
+ argreg++;
+ }
+
+ /* Compute the function arguments into a temporary register each */
+ for (i = 0; i < n_args; i++) {
+ tmpregs[argreg] = s390_isel_int_expr(env, args[i]);
+ argreg++;
+ }
+
/* Compute the condition */
cc = S390_CC_ALWAYS;
if (guard) {
@@ -512,68 +493,16 @@
}
}
- /* Evaluate the function arguments for the helper call.
- First, as the helper function is written in C, we are free to evaluate
- argumeqnts in any order we like, as the evaluation order is unspecified
- by the C standard.
+ /* Move the args to the final register. It is paramount, that the
+ code to move the registers does not clobber the condition code ! */
+ for (i = 0; i < argreg; i++) {
+ HReg finalreg;
- Secondly, if possible, we want to evaluate the arguments such that its
- value ends up in the register that is mandated by the ABI for this
- argument. The idea is to avoid an additional move insn from a virtual
- to a real register. Currently, the register allocator is not very good
- at eliminating those.
-
- The complication is that we need to make sure that real registers do not
- get overwritten while evaluating the arguments. Consider a helper call
- with two arguments. The first argument is an integer constant and the
- second argument is a complex expression. If we evaluate the 1st argument
- and load the constant into r2 (as mandated by ABI) and the 2nd argument
- expression contains a helper call with arguments, then evaluation of the
- 2nd argument will overwrite the contents of r2. Not so good. Therefore,
- we first evaluate all those arguments which are complex and assign their
- value to a virtual register. Then in a second pass we evaluate those
- arguments where the value can be assigned to the ABI destination register
- directly. There is no danger now that those can be overwritten. This is
- what happens conceptually. The implementation is slightly different. */
-
- argreg = 0;
-
- /* If we need the guest state pointer put it into the correct register */
- if (passBBP) {
- insn_for_arg[argreg] =
- s390_insn_move(sizeof(ULong),
- make_gpr(s390_gprno_from_arg_index(argreg)),
- s390_hreg_guest_state_pointer());
- argreg++;
+ finalreg = make_gpr(s390_gprno_from_arg_index(i));
+ size = sizeofIRType(Ity_I64);
+ addInstr(env, s390_insn_move(size, finalreg, tmpregs[i]));
}
- /* Compute the function arguments. Issue insns for complex arguments.
- Store their value in a temporary register each. For arguments that
- can be evaluated in their ABI destination register, generate the
- insn but do not issue it yet. */
- for (i = 0; i < n_args; i++) {
- HReg dst = make_gpr(s390_gprno_from_arg_index(argreg));
-
- insn_for_arg[argreg] =
- s390_isel_single_insn_for_int_expr(env, dst, args[i]);
-
- if (insn_for_arg[argreg] == NULL) {
- tmpregs[argreg] = s390_isel_int_expr(env, args[i]);
- }
- argreg++;
- }
-
- /* Assign values to ABI registers */
- for (i = 0; i < argreg; i++) {
- if (insn_for_arg[i]) {
- addInstr(env, insn_for_arg[i]); /* issue insn */
- } else {
- /* Move value to ABI register */
- HReg finalreg = make_gpr(s390_gprno_from_arg_index(i));
- addInstr(env, s390_insn_move(8, finalreg, tmpregs[i]));
- }
- }
-
target = Ptr_to_ULong(callee->addr);
/* Finally, the call itself. */
|
|
From: Philippe W. <phi...@sk...> - 2012-05-12 03:43:05
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) 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.3.1-3.fc16.ppc64 ppc64 Vendor version: Fedora release 16 (Verne) Nightly build on gcc110 ( Fedora release 16 (Verne), ppc64 ) Started at 2012-05-11 20:00:06 PDT Ended at 2012-05-11 20:42:04 PDT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 524 tests, 15 stderr failures, 8 stdout failures, 1 stderrB failure, 1 stdoutB failure, 2 post failures == gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/ppc32/power_ISA2_05 (stdout) memcheck/tests/ppc32/power_ISA2_05 (stderr) memcheck/tests/ppc64/power_ISA2_05 (stdout) memcheck/tests/ppc64/power_ISA2_05 (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/trivialleak (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) massif/tests/big-alloc (post) massif/tests/deep-D (post) none/tests/empty-exe (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) none/tests/shell_zerolength (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 522 tests, 14 stderr failures, 8 stdout failures, 1 stderrB failure, 1 stdoutB failure, 2 post failures == gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/ppc32/power_ISA2_05 (stdout) memcheck/tests/ppc32/power_ISA2_05 (stderr) memcheck/tests/ppc64/power_ISA2_05 (stdout) memcheck/tests/ppc64/power_ISA2_05 (stderr) 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) none/tests/empty-exe (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) none/tests/shell_zerolength (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri May 11 20:21:01 2012 --- new.short Fri May 11 20:42:04 2012 *************** *** 8,10 **** ! == 522 tests, 14 stderr failures, 8 stdout failures, 1 stderrB failure, 1 stdoutB failure, 2 post failures == gdbserver_tests/mcmain_pic (stdout) --- 8,10 ---- ! == 524 tests, 15 stderr failures, 8 stdout failures, 1 stderrB failure, 1 stdoutB failure, 2 post failures == gdbserver_tests/mcmain_pic (stdout) *************** *** 18,19 **** --- 18,20 ---- memcheck/tests/supp_unknown (stderr) + memcheck/tests/trivialleak (stderr) memcheck/tests/varinfo6 (stderr) |
|
From: Tom H. <to...@co...> - 2012-05-12 03:07:36
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) 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.3.4-3.fc16.x86_64 x86_64 Vendor version: Fedora release 9 (Sulphur) Nightly build on bristol ( x86_64, Fedora 9 ) Started at 2012-05-12 03:41:44 BST Ended at 2012-05-12 04:07:13 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 600 tests, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == none/tests/amd64/sse4-64 (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 598 tests, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == none/tests/amd64/sse4-64 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-05-12 03:54:31.355366520 +0100 --- new.short 2012-05-12 04:07:13.608961548 +0100 *************** *** 8,10 **** ! == 598 tests, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == none/tests/amd64/sse4-64 (stdout) --- 8,10 ---- ! == 600 tests, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == none/tests/amd64/sse4-64 (stdout) |
|
From: Tom H. <to...@co...> - 2012-05-12 02:56:01
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) 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.3.4-3.fc16.x86_64 x86_64 Vendor version: Fedora release 11 (Leonidas) Nightly build on bristol ( x86_64, Fedora 11 ) Started at 2012-05-12 03:30:54 BST Ended at 2012-05-12 03:55:40 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 602 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/sse4-64 (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 600 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/sse4-64 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-05-12 03:43:29.506751243 +0100 --- new.short 2012-05-12 03:55:40.908960874 +0100 *************** *** 8,10 **** ! == 600 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) --- 8,10 ---- ! == 602 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) |
|
From: <br...@ac...> - 2012-05-12 02:53:09
|
valgrind revision: 12561
VEX revision: 2326
C compiler: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Assembler: GNU assembler 2.15.92.0.2 20040927
C library: GNU C Library stable release version 2.3.4
uname -mrs: Linux 2.6.9-42.EL s390x
Vendor version: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Nightly build on z10-ec ( s390x build on z10-EC )
Started at 2012-05-11 22:20:06 EDT
Ended at 2012-05-11 22:52:53 EDT
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 500 tests, 10 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/clireq_nofill (stderr)
memcheck/tests/manuel3 (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/partial_load_ok (stderr)
memcheck/tests/varinfo6 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 490 tests, 9 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/manuel3 (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/partial_load_ok (stderr)
memcheck/tests/varinfo6 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Fri May 11 22:36:36 2012
--- new.short Fri May 11 22:52:53 2012
***************
*** 8,10 ****
! == 490 tests, 9 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/manuel3 (stderr)
--- 8,11 ----
! == 500 tests, 10 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
! memcheck/tests/clireq_nofill (stderr)
memcheck/tests/manuel3 (stderr)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2012-05-11 22:37:43.000000000 -0400
+++ tc04_free_lock.stderr.out 2012-05-11 22:52:11.000000000 -0400
@@ -7,28 +7,22 @@
by 0x........: main (tc04_free_lock.c:20)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:26)
+ at 0x........: bar (tc04_free_lock.c:40)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:26)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: foo (tc04_free_lock.c:47)
- by 0x........: main (tc04_free_lock.c:27)
+ at 0x........: foo (tc04_free_lock.c:49)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-x86
=================================================
--- tc04_free_lock.stderr.exp-x86 2012-05-11 22:37:43.000000000 -0400
+++ tc04_free_lock.stderr.out 2012-05-11 22:52:11.000000000 -0400
@@ -8,7 +8,8 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +17,12 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2012-05-11 22:37:43.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:52:15.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-ppc
=================================================
--- tc09_bad_unlock.stderr.exp-ppc 2012-05-11 22:37:43.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:52:15.000000000 -0400
@@ -25,8 +25,8 @@
by 0x........: main (tc09_bad_unlock.c:49)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
+ at 0x........: nearly_main (tc09_bad_unlock.c:45)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-x86
=================================================
--- tc09_bad_unlock.stderr.exp-x86 2012-05-11 22:37:43.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:52:15.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2012-05-11 22:36:48.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:48:28.000000000 -0400
@@ -42,14 +42,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
-----------------------------------------------------------------
-
-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........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
-
---------------------
----------------------------------------------------------------
@@ -110,16 +102,8 @@
----------------------------------------------------------------
-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........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-----------------------------------------------------------------
-
Thread #x: Exiting thread still holds 1 lock
...
-ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2012-05-11 22:36:48.000000000 -0400
+++ tc18_semabuse.stderr.out 2012-05-11 22:48:36.000000000 -0400
@@ -18,13 +18,5 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc18_semabuse.c:37)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2012-05-11 22:36:48.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-05-11 22:48:45.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-
-----------------------------------------------------------------
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-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........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -215,14 +183,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +195,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/clireq_nofill.stderr.diff
=================================================
--- clireq_nofill.stderr.exp 2012-05-11 22:36:58.000000000 -0400
+++ clireq_nofill.stderr.out 2012-05-11 22:42:40.000000000 -0400
@@ -1,3 +1,229 @@
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param uname(buf) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param brk(end_data_segment) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param sys_mmap(args) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param open(filename) contains uninitialised byte(s)
+ ...
+
+Syscall param open(flags) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param read(fd) contains uninitialised byte(s)
+ ...
+
+Syscall param read(buf) contains uninitialised byte(s)
+ ...
+
+Syscall param read(count) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param fstat(fd) contains uninitialised byte(s)
+ ...
+
+Syscall param fstat(buf) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param sys_mmap(args) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param sys_mmap(args) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param close(fd) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param sys_mmap(args) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param access(pathname) contains uninitialised byte(s)
+ ...
+
+Syscall param access(mode) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param open(filename) contains uninitialised byte(s)
+ ...
+
+Syscall param open(flags) contains uninitialised byte(s)
+ ...
+
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+
+Syscall param fstat(fd) contains uninitialised byte(s)
+ ...
+
+Syscall param fstat(buf) contains uninitialised byte(s)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/manuel3.stderr.diff
=================================================
--- manuel3.stderr.exp 2012-05-11 22:36:58.000000000 -0400
+++ manuel3.stderr.out 2012-05-11 22:43:27.000000000 -0400
@@ -1,4 +1,3 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: gcc_cant_inline_me (manuel3.c:22)
- by 0x........: main (manuel3.c:14)
+ at 0x........: main (manuel3.c:12)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-05-11 22:36:58.000000000 -0400
+++ origin5-bz2.stderr.out 2012-05-11 22:43:51.000000000 -0400
@@ -53,6 +53,39 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2814)
+ 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:2817)
+ 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:2828)
+ 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:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -75,7 +108,29 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2846)
+ 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:2850)
+ 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:2864)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
@@ -129,6 +184,286 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
+Use of uninitialised value of size 8
+ at 0x........: BZ2_decompress (origin5-bz2.c:1885)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
+ 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)
+
+Use of uninitialised value of size 8
+ at 0x........: BZ2_decompress (origin5-bz2.c:1885)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
+ 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)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2012-05-11 22:36:58.000000000 -0400
+++ origin5-bz2.stderr.out 2012-05-11 22:43:51.000000000 -0400
@@ -53,6 +53,39 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2814)
+ 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:2817)
+ 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:2828)
+ 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:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -75,6 +108,39 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2846)
+ 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:2850)
+ 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:2864)
+ 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)
@@ -118,6 +184,286 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
+Use of uninitialised value of size 8
+ at 0x........: BZ2_decompress (origin5-bz2.c:1885)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
+ 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)
+
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2012-05-11 22:36:58.000000000 -0400
+++ origin5-bz2.stderr.out 2012-05-11 22:43:51.000000000 -0400
@@ -53,6 +53,39 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2814)
+ 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:2817)
+ 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:2828)
+ 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:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -75,6 +108,39 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
+ at 0x........: mainSort (origin5-bz2.c:2846)
+ 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:2850)
+ 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:2864)
+ 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)
@@ -118,6 +184,286 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
+Use of uninitialised value of size 8
+ at 0x........: BZ2_decompress (origin5-bz2.c:1885)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
+ 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)
+
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2012-05-11 22:36:58.000000000 -0400
+++ origin5-bz2.stderr.out 2012-05-11 22:43:51.000000000 -0400
@@ -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,40 @@
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:2814)
+ 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:2817)
+ 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:2828)
+ 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:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,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........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +107,40 @@
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:2846)
+ 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)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2012-05-11 22:36:58.000000000 -0400
+++ origin5-bz2.stderr.out 2012-05-11 22:43:51.000000000 -0400
@@ -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,40 @@
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:2814)
+ 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:2817)
+ 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:2828)
+ 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:2854)
@@ -61,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........: mainSort (origin5-bz2.c:2858)
@@ -72,7 +105,40 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff
=================================================
--- partial_load_ok.stderr.exp 2012-05-11 22:36:58.000000000 -0400
+++ partial_load_ok.stderr.out 2012-05-11 22:44:03.000000000 -0400
@@ -1,7 +1,13 @@
-Invalid read of size 4
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
+Invalid read of size 8
at 0x........: main (partial_load.c:23)
- Address 0x........ is 1 bytes inside a block of size 4 alloc'd
+ Address 0x........ is 1 bytes inside a block of size 8 alloc'd
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:20)
@@ -11,9 +17,9 @@
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:28)
-Invalid read of size 4
+Invalid read of size 8
at 0x........: main (partial_load.c:37)
- Address 0x........ is 0 bytes inside a block of size 4 free'd
+ Address 0x........ is 0 bytes inside a block of size 8 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff64
=================================================
--- partial_load_ok.stderr.exp64 2012-05-11 22:36:58.000000000 -0400
+++ partial_load_ok.stderr.out 2012-05-11 22:44:03.000000000 -0400
@@ -1,4 +1,10 @@
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
Invalid read of size 8
at 0x........: main (partial_load.c:23)
Address 0x........ is 1 bytes inside a block of size 8 alloc'd
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2012-05-11 22:36:58.000000000 -0400
+++ varinfo6.stderr.out 2012-05-11 22:44:58.000000000 -0400
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2012-05-11 22:36:58.000000000 -0400
+++ varinfo6.stderr.out 2012-05-11 22:44:58.000000000 -0400
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-old/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2012-05-11 22:21:32.000000000 -0400
+++ tc04_free_lock.stderr.out 2012-05-11 22:35:54.000000000 -0400
@@ -7,28 +7,22 @@
by 0x........: main (tc04_free_lock.c:20)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:26)
+ at 0x........: bar (tc04_free_lock.c:40)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:26)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: foo (tc04_free_lock.c:47)
- by 0x........: main (tc04_free_lock.c:27)
+ at 0x........: foo (tc04_free_lock.c:49)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc04_free_lock.stderr.diff-x86
=================================================
--- tc04_free_lock.stderr.exp-x86 2012-05-11 22:21:32.000000000 -0400
+++ tc04_free_lock.stderr.out 2012-05-11 22:35:54.000000000 -0400
@@ -8,7 +8,8 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +17,12 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2012-05-11 22:21:32.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:35:57.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-ppc
=================================================
--- tc09_bad_unlock.stderr.exp-ppc 2012-05-11 22:21:32.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:35:57.000000000 -0400
@@ -25,8 +25,8 @@
by 0x........: main (tc09_bad_unlock.c:49)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
+ at 0x........: nearly_main (tc09_bad_unlock.c:45)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-x86
=================================================
--- tc09_bad_unlock.stderr.exp-x86 2012-05-11 22:21:32.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:35:57.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2012-05-11 22:20:36.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-05-11 22:32:10.000000000 -0400
@@ -42,14 +42,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
-----------------------------------------------------------------
-
-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........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
-
---------------------
----------------------------------------------------------------
@@ -110,16 +102,8 @@
----------------------------------------------------------------
-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........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-----------------------------------------------------------------
-
Thread #x: Exiting thread still holds 1 lock
...
-ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2012-05-11 22:20:36.000000000 -0400
+++ tc18_semabuse.stderr.out 2012-05-11 22:32:18.000000000 -0400
@@ -18,13 +18,5 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc18_semabuse.c:37)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2012-05-11 22:20:36.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-05-11 22:32:28.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-
-----------------------------------------------------------------
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-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........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -215,14 +183,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +195,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/manuel3.stderr.diff
=================================================
--- manuel3.stderr.exp 2012-05-11 22:20:43.000000000 -0400
+++ manuel3.stderr.out 2012-05-11 22:27:11.000000000 -0400
@@ -1,4 +1,3 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: gcc_cant_inline_me (manuel3.c:22)
- by 0x........: main (manuel3.c:14)
+ at 0x........: main (manuel3.c:12)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-05-11 22:20:43.000000000 -0400
+++ origin5-bz2.stderr.out 2012-05-11 22:27:35.000000000 -0400
@@ -53,6 +53,39 @@
at 0x........:...
[truncated message content] |
|
From: Rich C. <rc...@wi...> - 2012-05-12 02:52:36
|
valgrind revision: 12561
VEX revision: 2326
C compiler: gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Assembler: GNU assembler (GNU Binutils; openSUSE 11.4) 2.21
C library: GNU C Library stable release version 2.11.3 (20110203)
uname -mrs: Linux 2.6.37.6-0.7-desktop x86_64
Vendor version: Welcome to openSUSE 11.4 "Celadon" - Kernel %r (%t).
Nightly build on ultra ( gcc 4.5.1 Linux 2.6.37.6-0.7-desktop x86_64 )
Started at 2012-05-11 21:30:01 CDT
Ended at 2012-05-11 21:52:27 CDT
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 610 tests, 2 stderr failures, 0 stdout failures, 6 stderrB failures, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcleak (stderrB)
gdbserver_tests/mcmain_pic (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 608 tests, 2 stderr failures, 0 stdout failures, 6 stderrB failures, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcleak (stderrB)
gdbserver_tests/mcmain_pic (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Fri May 11 21:41:22 2012
--- new.short Fri May 11 21:52:27 2012
***************
*** 8,10 ****
! == 608 tests, 2 stderr failures, 0 stdout failures, 6 stderrB failures, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mcbreak (stderrB)
--- 8,10 ----
! == 610 tests, 2 stderr failures, 0 stdout failures, 6 stderrB failures, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mcbreak (stderrB)
=================================================
./valgrind-new/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2012-05-11 21:41:26.437492109 -0500
+++ mcbreak.stderrB.out 2012-05-11 21:43:49.001877370 -0500
@@ -1,5 +1,7 @@
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
=================================================
./valgrind-new/gdbserver_tests/mcclean_after_fork.stderrB.diff
=================================================
--- mcclean_after_fork.stderrB.exp 2012-05-11 21:41:26.437492109 -0500
+++ mcclean_after_fork.stderrB.out 2012-05-11 21:43:50.685633891 -0500
@@ -1,4 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcleak.stderrB.diff
=================================================
--- mcleak.stderrB.exp 2012-05-11 21:41:26.434492542 -0500
+++ mcleak.stderrB.out 2012-05-11 21:44:08.818011863 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2012-05-11 21:41:26.441491530 -0500
+++ mcmain_pic.stderrB.out 2012-05-11 21:44:10.387784865 -0500
@@ -1,3 +1,5 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2012-05-11 21:41:26.442491385 -0500
+++ mcvabits.stderrB.out 2012-05-11 21:44:15.301074376 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Address 0x........ len 10 addressable
Address 0x........ is 0 bytes inside data symbol "undefined"
Address 0x........ len 10 defined
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2012-05-11 21:41:26.441491530 -0500
+++ mssnapshot.stderrB.out 2012-05-11 21:44:18.449619079 -0500
@@ -1,5 +1,9 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=92ec8fe859846a62345f74696ab349721415587a"
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/linux/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2012-05-11 21:41:26.736448881 -0500
+++ stack_switch.stderr.out 2012-05-11 21:45:16.532219882 -0500
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-05-11 21:41:27.194382666 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:45:39.248934809 -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 2012-05-11 21:41:27.177385125 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:45:39.248934809 -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 2012-05-11 21:41:27.122393076 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:45:39.248934809 -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 2012-05-11 21:41:27.151388884 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:45:39.248934809 -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 2012-05-11 21:41:27.164387003 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:45:39.248934809 -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 2012-05-11 21:30:19.718835077 -0500
+++ mcbreak.stderrB.out 2012-05-11 21:32:48.179387773 -0500
@@ -1,5 +1,7 @@
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
=================================================
./valgrind-old/gdbserver_tests/mcclean_after_fork.stderrB.diff
=================================================
--- mcclean_after_fork.stderrB.exp 2012-05-11 21:30:19.718835077 -0500
+++ mcclean_after_fork.stderrB.out 2012-05-11 21:32:49.857145384 -0500
@@ -1,4 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-old/gdbserver_tests/mcleak.stderrB.diff
=================================================
--- mcleak.stderrB.exp 2012-05-11 21:30:19.715835511 -0500
+++ mcleak.stderrB.out 2012-05-11 21:33:08.976383170 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
=================================================
./valgrind-old/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2012-05-11 21:30:19.721834644 -0500
+++ mcmain_pic.stderrB.out 2012-05-11 21:33:10.545156521 -0500
@@ -1,3 +1,5 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Remote connection closed
=================================================
./valgrind-old/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2012-05-11 21:30:19.723834354 -0500
+++ mcvabits.stderrB.out 2012-05-11 21:33:15.469445089 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Address 0x........ len 10 addressable
Address 0x........ is 0 bytes inside data symbol "undefined"
Address 0x........ len 10 defined
=================================================
./valgrind-old/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2012-05-11 21:30:19.722834499 -0500
+++ mssnapshot.stderrB.out 2012-05-11 21:33:18.516004939 -0500
@@ -1,5 +1,9 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=92ec8fe859846a62345f74696ab349721415587a"
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/linux/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2012-05-11 21:30:22.714402346 -0500
+++ stack_switch.stderr.out 2012-05-11 21:34:15.839722942 -0500
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-05-11 21:30:22.905374757 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:34:38.210490784 -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 2012-05-11 21:30:22.872379525 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:34:38.210490784 -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 2012-05-11 21:30:22.855381980 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:34:38.210490784 -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 2012-05-11 21:30:22.919372736 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:34:38.210490784 -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 2012-05-11 21:30:22.852382413 -0500
+++ origin5-bz2.stderr.out 2012-05-11 21:34:38.210490784 -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...> - 2012-05-12 02:48:52
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2) 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.3.4-3.fc16.x86_64 x86_64 Vendor version: Fedora release 13 (Goddard) Nightly build on bristol ( x86_64, Fedora 13 ) Started at 2012-05-12 03:21:25 BST Ended at 2012-05-12 03:48:37 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 602 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) helgrind/tests/pth_barrier3 (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 600 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) helgrind/tests/pth_barrier3 (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-05-12 03:34:27.821710268 +0100 --- new.short 2012-05-12 03:48:37.994507236 +0100 *************** *** 8,10 **** ! == 600 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) --- 8,10 ---- ! == 602 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) |
|
From: Tom H. <to...@co...> - 2012-05-12 02:39:27
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) 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.3.4-3.fc16.x86_64 x86_64 Vendor version: Fedora release 14 (Laughlin) Nightly build on bristol ( x86_64, Fedora 14 ) Started at 2012-05-12 03:11:27 BST Ended at 2012-05-12 03:39:05 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 617 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 615 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-05-12 03:25:23.154698634 +0100 --- new.short 2012-05-12 03:39:05.433086545 +0100 *************** *** 8,10 **** ! == 615 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) --- 8,10 ---- ! == 617 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) |
|
From: Tom H. <to...@co...> - 2012-05-12 02:31:27
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) 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.3.4-3.fc16.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2012-05-12 03:02:17 BST Ended at 2012-05-12 03:31:09 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 618 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 616 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-05-12 03:16:36.591325695 +0100 --- new.short 2012-05-12 03:31:09.049725932 +0100 *************** *** 8,10 **** ! == 616 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) --- 8,10 ---- ! == 618 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) |
|
From: Tom H. <to...@co...> - 2012-05-12 02:20:36
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) 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.3.4-3.fc16.x86_64 x86_64 Vendor version: Fedora release 16 (Verne) Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2012-05-12 02:51:15 BST Ended at 2012-05-12 03:20:17 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 618 tests, 3 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) memcheck/tests/str_tester (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 616 tests, 3 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) memcheck/tests/str_tester (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-05-12 03:05:58.069231659 +0100 --- new.short 2012-05-12 03:20:17.741871411 +0100 *************** *** 8,10 **** ! == 616 tests, 3 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) --- 8,10 ---- ! == 618 tests, 3 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) |
|
From: Christian B. <bor...@de...> - 2012-05-12 02:12:09
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.20.0.20100122-0.7.9 C library: GNU C Library stable release version 2.11.1 (20100118) uname -mrs: Linux 2.6.32.54-0.3-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP1 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) ) Started at 2012-05-12 03:45:01 CEST Ended at 2012-05-12 04:11:55 CEST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 536 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/clireq_nofill (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 526 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat May 12 03:58:27 2012 --- new.short Sat May 12 04:11:55 2012 *************** *** 8,10 **** ! == 526 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) --- 8,11 ---- ! == 536 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/clireq_nofill (stderr) memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2012-05-12 02:10:50
|
valgrind revision: 12561 VEX revision: 2326 C compiler: gcc (GCC) 4.7.0 20120504 (Red Hat 4.7.0-4) 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.3.4-3.fc16.x86_64 x86_64 Vendor version: Fedora release 17 (Beefy Miracle) Nightly build on bristol ( x86_64, Fedora 17 (Beefy Miracle) ) Started at 2012-05-12 02:40:56 BST Ended at 2012-05-12 03:10:25 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 618 tests, 9 stderr failures, 1 stdout failure, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) memcheck/tests/str_tester (stderr) drd/tests/bar_bad (stderr) drd/tests/bar_bad_xml (stderr) drd/tests/pth_cancel_locked (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 616 tests, 10 stderr failures, 1 stdout failure, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) memcheck/tests/str_tester (stderr) drd/tests/bar_bad (stderr) drd/tests/bar_bad_xml (stderr) drd/tests/pth_cancel_locked (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-05-12 02:55:43.075655511 +0100 --- new.short 2012-05-12 03:10:25.958818623 +0100 *************** *** 8,11 **** ! == 616 tests, 10 stderr failures, 1 stdout failure, 1 stderrB failure, 2 stdoutB failures, 0 post failures == ! gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) --- 8,10 ---- ! == 618 tests, 9 stderr failures, 1 stdout failure, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderr) |
|
From: <sv...@va...> - 2012-05-12 00:05:23
|
florian 2012-05-12 01:05:14 +0100 (Sat, 12 May 2012)
New Revision: 12561
Log:
Add a few testcases that exercise the s390_calculate_icc helper.
Added files:
trunk/none/tests/s390x/cgij.c
trunk/none/tests/s390x/cgij.stderr.exp
trunk/none/tests/s390x/cgij.stdout.exp
trunk/none/tests/s390x/cgij.vgtest
trunk/none/tests/s390x/cgrj.c
trunk/none/tests/s390x/cgrj.stderr.exp
trunk/none/tests/s390x/cgrj.stdout.exp
trunk/none/tests/s390x/cgrj.vgtest
trunk/none/tests/s390x/cij.c
trunk/none/tests/s390x/cij.stderr.exp
trunk/none/tests/s390x/cij.stdout.exp
trunk/none/tests/s390x/cij.vgtest
trunk/none/tests/s390x/clgij.c
trunk/none/tests/s390x/clgij.stderr.exp
trunk/none/tests/s390x/clgij.stdout.exp
trunk/none/tests/s390x/clgij.vgtest
trunk/none/tests/s390x/clgrj.c
trunk/none/tests/s390x/clgrj.stderr.exp
trunk/none/tests/s390x/clgrj.stdout.exp
trunk/none/tests/s390x/clgrj.vgtest
trunk/none/tests/s390x/clij.c
trunk/none/tests/s390x/clij.stderr.exp
trunk/none/tests/s390x/clij.stdout.exp
trunk/none/tests/s390x/clij.vgtest
trunk/none/tests/s390x/clrj.c
trunk/none/tests/s390x/clrj.stderr.exp
trunk/none/tests/s390x/clrj.stdout.exp
trunk/none/tests/s390x/clrj.vgtest
trunk/none/tests/s390x/crj.c
trunk/none/tests/s390x/crj.stderr.exp
trunk/none/tests/s390x/crj.stdout.exp
trunk/none/tests/s390x/crj.vgtest
Modified directories:
trunk/none/tests/s390x/
Modified files:
trunk/none/tests/s390x/Makefile.am
Modified: trunk/none/tests/s390x/
Added: trunk/none/tests/s390x/clij.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/clij.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clij.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/clgij.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/clgij.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgij.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/cij.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/cij.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cij.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/cgij.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/cgij.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgij.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: cgij
Added: trunk/none/tests/s390x/clrj.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/clrj.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clrj.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: clrj
Added: trunk/none/tests/s390x/cgij.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/cgij.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgij.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/clgrj.c (+175 -0)
===================================================================
--- trunk/none/tests/s390x/clgrj.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgrj.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,175 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,NEVER) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,ALWAYS) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,LE) "\n\t"
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,GE) "\n\t"
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,GT) "\n\t"
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,LT) "\n\t"
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,EQ) "\n\t"
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne(uint64_t value1, uint64_t value2)
+{
+ register uint64_t val1 asm("r7") = value1;
+ register uint64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLGRJ(7,8,8,NE) "\n\t"
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq(12, 42);
+ compare_eq(42, 42);
+ compare_eq(100, 42);
+
+ compare_ne(12, 42);
+ compare_ne(42, 42);
+ compare_ne(100, 42);
+
+ compare_gt(12, 42);
+ compare_gt(42, 42);
+ compare_gt(100, 42);
+
+ compare_lt(12, 42);
+ compare_lt(42, 42);
+ compare_lt(100, 42);
+
+ compare_le(12, 42);
+ compare_le(42, 42);
+ compare_le(100, 42);
+
+ compare_ge(12, 42);
+ compare_ge(42, 42);
+ compare_ge(100, 42);
+
+ compare_never(12, 42);
+ compare_never(42, 42);
+ compare_never(100, 42);
+
+ compare_always(12, 42);
+ compare_always(42, 42);
+ compare_always(100, 42);
+
+ return 0;
+}
Added: trunk/none/tests/s390x/cgrj.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/cgrj.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgrj.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/clgrj.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/clgrj.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgrj.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/cij.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/cij.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cij.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: cij
Added: trunk/none/tests/s390x/cgij.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/cgij.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgij.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/clij.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/clij.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clij.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: clij
Added: trunk/none/tests/s390x/clij.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/clij.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clij.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/clgrj.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/clgrj.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgrj.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: clgrj
Added: trunk/none/tests/s390x/cij.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/cij.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cij.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/cgrj.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/cgrj.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgrj.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/cgrj.c (+175 -0)
===================================================================
--- trunk/none/tests/s390x/cgrj.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgrj.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,175 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,NEVER) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,ALWAYS) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,LE) "\n\t"
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,GE) "\n\t"
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,GT) "\n\t"
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,LT) "\n\t"
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,EQ) "\n\t"
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne(int64_t value1, int64_t value2)
+{
+ register int64_t val1 asm("r7") = value1;
+ register int64_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CGRJ(7,8,8,NE) "\n\t"
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq(-12, 42);
+ compare_eq(42, 42);
+ compare_eq(100, 42);
+
+ compare_ne(-12, 42);
+ compare_ne(42, 42);
+ compare_ne(100, 42);
+
+ compare_gt(-12, 42);
+ compare_gt(42, 42);
+ compare_gt(100, 42);
+
+ compare_lt(-12, 42);
+ compare_lt(42, 42);
+ compare_lt(100, 42);
+
+ compare_le(-12, 42);
+ compare_le(42, 42);
+ compare_le(100, 42);
+
+ compare_ge(-12, 42);
+ compare_ge(42, 42);
+ compare_ge(100, 42);
+
+ compare_never(-12, 42);
+ compare_never(42, 42);
+ compare_never(100, 42);
+
+ compare_always(-12, 42);
+ compare_always(42, 42);
+ compare_always(100, 42);
+
+ return 0;
+}
Added: trunk/none/tests/s390x/clij.c (+167 -0)
===================================================================
--- trunk/none/tests/s390x/clij.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clij.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,167 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,NEVER,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,ALWAYS,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le42(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,LE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge42(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,GE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt42(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,GT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt42(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,LT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq42(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,EQ,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne42(uint32_t value)
+{
+ register uint32_t val asm("r7") = value;
+
+ asm volatile(
+ CLIJ(7,NE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq42(12);
+ compare_eq42(42);
+ compare_eq42(100);
+
+ compare_ne42(12);
+ compare_ne42(42);
+ compare_ne42(100);
+
+ compare_gt42(12);
+ compare_gt42(42);
+ compare_gt42(100);
+
+ compare_lt42(12);
+ compare_lt42(42);
+ compare_lt42(100);
+
+ compare_le42(12);
+ compare_le42(42);
+ compare_le42(100);
+
+ compare_ge42(12);
+ compare_ge42(42);
+ compare_ge42(100);
+
+ compare_never(12);
+ compare_never(42);
+ compare_never(100);
+
+ compare_always(12);
+ compare_always(42);
+ compare_always(100);
+
+ return 0;
+}
Added: trunk/none/tests/s390x/clgrj.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/clgrj.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgrj.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/cij.c (+167 -0)
===================================================================
--- trunk/none/tests/s390x/cij.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cij.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,167 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,NEVER,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,ALWAYS,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le42(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,LE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge42(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,GE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt42(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,GT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt42(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,LT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq42(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,EQ,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne42(int32_t value)
+{
+ register int32_t val asm("r7") = value;
+
+ asm volatile(
+ CIJ(7,NE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq42(-12);
+ compare_eq42(42);
+ compare_eq42(100);
+
+ compare_ne42(-12);
+ compare_ne42(42);
+ compare_ne42(100);
+
+ compare_gt42(-12);
+ compare_gt42(42);
+ compare_gt42(100);
+
+ compare_lt42(-12);
+ compare_lt42(42);
+ compare_lt42(100);
+
+ compare_le42(-12);
+ compare_le42(42);
+ compare_le42(100);
+
+ compare_ge42(-12);
+ compare_ge42(42);
+ compare_ge42(100);
+
+ compare_never(-12);
+ compare_never(42);
+ compare_never(100);
+
+ compare_always(-12);
+ compare_always(42);
+ compare_always(100);
+
+ return 0;
+}
Modified: trunk/none/tests/s390x/Makefile.am (+1 -1)
===================================================================
--- trunk/none/tests/s390x/Makefile.am 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/Makefile.am 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -6,7 +6,7 @@
and or xor insert div srst fold_And16 flogr sub_EI add_EI \
and_EI or_EI xor_EI insert_EI mul_GE add_GE condloadstore \
op_exception fgx stck stckf stcke stfle cksm mvcl clcl troo \
- trto trot trtt tr tre
+ trto trot trtt tr tre cij cgij clij clgij crj cgrj clrj clgrj
check_PROGRAMS = $(INSN_TESTS) \
allexec \
Added: trunk/none/tests/s390x/crj.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/crj.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/crj.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/clrj.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/clrj.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clrj.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/clgij.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/clgij.stderr.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgij.stderr.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,2 @@
+
+
Added: trunk/none/tests/s390x/cgrj.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/cgrj.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgrj.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: cgrj
Added: trunk/none/tests/s390x/cgij.c (+167 -0)
===================================================================
--- trunk/none/tests/s390x/cgij.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/cgij.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,167 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,NEVER,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,ALWAYS,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le42(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,LE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge42(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,GE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt42(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,GT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt42(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,LT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq42(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,EQ,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne42(int64_t value)
+{
+ register int64_t val asm("r7") = value;
+
+ asm volatile(
+ CGIJ(7,NE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq42(-12);
+ compare_eq42(42);
+ compare_eq42(100);
+
+ compare_ne42(-12);
+ compare_ne42(42);
+ compare_ne42(100);
+
+ compare_gt42(-12);
+ compare_gt42(42);
+ compare_gt42(100);
+
+ compare_lt42(-12);
+ compare_lt42(42);
+ compare_lt42(100);
+
+ compare_le42(-12);
+ compare_le42(42);
+ compare_le42(100);
+
+ compare_ge42(-12);
+ compare_ge42(42);
+ compare_ge42(100);
+
+ compare_never(-12);
+ compare_never(42);
+ compare_never(100);
+
+ compare_always(-12);
+ compare_always(42);
+ compare_always(100);
+
+ return 0;
+}
Added: trunk/none/tests/s390x/crj.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/crj.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/crj.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: crj
Added: trunk/none/tests/s390x/crj.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/crj.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/crj.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/crj.c (+175 -0)
===================================================================
--- trunk/none/tests/s390x/crj.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/crj.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,175 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,NEVER) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,ALWAYS) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,LE) "\n\t"
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,GE) "\n\t"
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,GT) "\n\t"
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,LT) "\n\t"
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,EQ) "\n\t"
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne(int32_t value1, int32_t value2)
+{
+ register int32_t val1 asm("r7") = value1;
+ register int32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CRJ(7,8,8,NE) "\n\t"
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq(-12, 42);
+ compare_eq(42, 42);
+ compare_eq(100, 42);
+
+ compare_ne(-12, 42);
+ compare_ne(42, 42);
+ compare_ne(100, 42);
+
+ compare_gt(-12, 42);
+ compare_gt(42, 42);
+ compare_gt(100, 42);
+
+ compare_lt(-12, 42);
+ compare_lt(42, 42);
+ compare_lt(100, 42);
+
+ compare_le(-12, 42);
+ compare_le(42, 42);
+ compare_le(100, 42);
+
+ compare_ge(-12, 42);
+ compare_ge(42, 42);
+ compare_ge(100, 42);
+
+ compare_never(-12, 42);
+ compare_never(42, 42);
+ compare_never(100, 42);
+
+ compare_always(-12, 42);
+ compare_always(42, 42);
+ compare_always(100, 42);
+
+ return 0;
+}
Added: trunk/none/tests/s390x/clrj.stdout.exp (+24 -0)
===================================================================
--- trunk/none/tests/s390x/clrj.stdout.exp 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clrj.stdout.exp 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,24 @@
+not equal
+equal
+not equal
+not equal
+equal
+not equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+less or equal
+less or equal
+greater than
+less than
+greater or equal
+greater or equal
+not taken
+not taken
+not taken
+taken
+taken
+taken
Added: trunk/none/tests/s390x/clrj.c (+175 -0)
===================================================================
--- trunk/none/tests/s390x/clrj.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clrj.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,175 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,NEVER) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,ALWAYS) "\n\t"
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,LE) "\n\t"
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,GE) "\n\t"
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,GT) "\n\t"
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,LT) "\n\t"
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,EQ) "\n\t"
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne(uint32_t value1, uint32_t value2)
+{
+ register uint32_t val1 asm("r7") = value1;
+ register uint32_t val2 asm("r8") = value2;
+
+ asm volatile(
+ CLRJ(7,8,8,NE) "\n\t"
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val1), "d"(val2) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq(12, 42);
+ compare_eq(42, 42);
+ compare_eq(100, 42);
+
+ compare_ne(12, 42);
+ compare_ne(42, 42);
+ compare_ne(100, 42);
+
+ compare_gt(12, 42);
+ compare_gt(42, 42);
+ compare_gt(100, 42);
+
+ compare_lt(12, 42);
+ compare_lt(42, 42);
+ compare_lt(100, 42);
+
+ compare_le(12, 42);
+ compare_le(42, 42);
+ compare_le(100, 42);
+
+ compare_ge(12, 42);
+ compare_ge(42, 42);
+ compare_ge(100, 42);
+
+ compare_never(12, 42);
+ compare_never(42, 42);
+ compare_never(100, 42);
+
+ compare_always(12, 42);
+ compare_always(42, 42);
+ compare_always(100, 42);
+
+ return 0;
+}
Added: trunk/none/tests/s390x/clgij.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/clgij.vgtest 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgij.vgtest 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1 @@
+prog: clgij
Added: trunk/none/tests/s390x/clgij.c (+167 -0)
===================================================================
--- trunk/none/tests/s390x/clgij.c 2012-05-11 23:10:39 +01:00 (rev 12560)
+++ trunk/none/tests/s390x/clgij.c 2012-05-12 01:05:14 +01:00 (rev 12561)
@@ -0,0 +1,167 @@
+#include <stdio.h>
+#include <stdint.h>
+#include "opcodes.h"
+
+#define BRASLCLOBBER "0","1","2","3","4","5","14", \
+ "f0","f1","f2","f3","f4","f5","f6","f7"
+
+void if_eq(void) { printf("equal\n"); }
+void if_ne(void) { printf("not equal\n"); }
+void if_gt(void) { printf("greater than\n"); }
+void if_le(void) { printf("less or equal\n"); }
+void if_lt(void) { printf("less than\n"); }
+void if_ge(void) { printf("greater or equal\n"); }
+void if_taken(void) { printf("taken\n"); }
+void if_not_taken(void) { printf("not taken\n"); }
+
+#undef LT
+#define NEVER 0
+#define GT 2
+#define LT 4
+#define NE 6
+#define EQ 8
+#define LE C
+#define GE A
+#define ALWAYS E
+
+
+void compare_never(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,NEVER,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_always(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,ALWAYS,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_not_taken\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_taken\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_le42(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,LE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_gt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_le\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ge42(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,GE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_lt\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ge\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_gt42(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,GT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_le\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_gt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_lt42(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,LT,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ge\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_lt\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_eq42(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,EQ,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_ne\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_eq\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+void compare_ne42(uint64_t value)
+{
+ register uint64_t val asm("r7") = value;
+
+ asm volatile(
+ CLGIJ(7,NE,8,2a) "\n\t" /* 0x2a == 42 */
+ "brasl 14,if_eq\n\t"
+ "j 0f\n\t"
+ "brasl 14,if_ne\n\t"
+ "0: nopr 0\n\t" : : "d"(val) : BRASLCLOBBER);
+ return;
+}
+
+int main()
+{
+ compare_eq42(12);
+ compare_eq42(42);
+ compare_eq42(100);
+
+ compare_ne42(12);
+ compare_ne42(42);
+ compare_ne42(100);
+
+ compare_gt42(12);
+ compare_gt42(42);
+ compare_gt42(100);
+
+ compare_lt42(12);
+ compare_lt42(42);
+ compare_lt42(100);
+
+ compare_le42(12);
+ compare_le42(42);
+ compare_le42(100);
+
+ compare_ge42(12);
+ compare_ge42(42);
+ compare_ge42(100);
+
+ compare_never(12);
+ compare_never(42);
+ compare_never(100);
+
+ compare_always(12);
+ compare_always(42);
+ compare_always(100);
+
+ return 0;
+}
Property changed: trunk/none/tests/s390x (+0 -0)
___________________________________________________________________
Name: svn:ignore
- .deps
add
add_EI
add_GE
allexec
and
and_EI
clc
clcle
cvb
cvd
div
ex_clone
ex_sig
flogr
icm
insert
insert_EI
lam_stam
lpr
Makefile
Makefile.in
mul
mul_GE
mvst
or
or_EI
srst
sub
sub_EI
tcxb
xc
xor
xor_EI
stck
stcke
stckf
op_exception
fgx
condloadstore
fold_And16
stfle
op00
cksm
clcl
mvcl
troo
trot
trto
trtt
tr
tre
+ .deps
add
add_EI
add_GE
allexec
and
and_EI
clc
clcle
cvb
cvd
div
ex_clone
ex_sig
flogr
icm
insert
insert_EI
lam_stam
lpr
Makefile
Makefile.in
mul
mul_GE
mvst
or
or_EI
srst
sub
sub_EI
tcxb
xc
xor
xor_EI
stck
stcke
stckf
op_exception
fgx
condloadstore
fold_And16
stfle
op00
cksm
clcl
mvcl
troo
trot
trto
trtt
tr
tre
clrj
clgrj
crj
cgrj
clij
clgij
cij
cgij
|