|
From: <sv...@va...> - 2015-02-05 11:05:59
|
Author: cborntra
Date: Thu Feb 5 11:05:53 2015
New Revision: 14905
Log:
valgrind part to VEX:3083 Fix bugzilla 343802, also extend testcase
Modified:
trunk/NEWS
trunk/memcheck/tests/s390x/ltgjhe.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Feb 5 11:05:53 2015
@@ -78,6 +78,8 @@
343012 Unhandled syscall 319 (memfd_create)
343303 Fix known deliberate memory leak in setenv() on Mac OS X 10.10
343306 OS X 10.10: UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (partial fix)
+343802 s390x: Fix false positives "conditional jump or move depends on
+ unitialised value(s)"
n-i-bz Provide implementations of certain compiler builtins to support
compilers who may not provide those
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
Modified: trunk/memcheck/tests/s390x/ltgjhe.c
==============================================================================
--- trunk/memcheck/tests/s390x/ltgjhe.c (original)
+++ trunk/memcheck/tests/s390x/ltgjhe.c Thu Feb 5 11:05:53 2015
@@ -17,7 +17,7 @@
"jhe 1f\n\t"
"lghi %0,0\n\t"
"j 2f\n\t"
- "1:lghi %0,0\n\t"
+ "1:lghi %0,1\n\t"
"2:\n\t"
:"=d" (result)
:"Q" (field1)
@@ -32,6 +32,36 @@
"jhe 1f\n\t"
"lghi %0,0\n\t"
"j 2f\n\t"
+ "1:lghi %0,1\n\t"
+ "2:\n\t"
+ :"=d" (result)
+ :"Q" (field2)
+ :"0","cc");
+
+ if (result)
+ printf("Error\n");
+
+ asm volatile( "oi %1,128\n\t"
+ "la 1,%1\n\t"
+ LTG(0,0,1,000,00)
+ "jl 1f\n\t"
+ "lghi %0,1\n\t"
+ "j 2f\n\t"
+ "1:lghi %0,0\n\t"
+ "2:\n\t"
+ :"=d" (result)
+ :"Q" (field1)
+ :"0","cc");
+
+ if (result)
+ printf("Error\n");
+
+ asm volatile( "oi %1,128\n\t"
+ "la 1,%1\n\t"
+ LT(0,0,1,000,00)
+ "jl 1f\n\t"
+ "lghi %0,1\n\t"
+ "j 2f\n\t"
"1:lghi %0,0\n\t"
"2:\n\t"
:"=d" (result)
|