Hello community,

here is the log from the commit of package valgrind for openSUSE:Factory 
checked in at 2019-02-24 17:03:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/valgrind (Old)
 and      /work/SRC/openSUSE:Factory/.valgrind.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "valgrind"

Sun Feb 24 17:03:03 2019 rev:115 rq:677534 version:3.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/valgrind/valgrind.changes        2019-02-04 
21:22:39.291636122 +0100
+++ /work/SRC/openSUSE:Factory/.valgrind.new.28833/valgrind.changes     
2019-02-24 17:03:14.436684880 +0100
@@ -1,0 +2,13 @@
+Tue Feb 19 21:54:58 UTC 2019 - Dirk Mueller <[email protected]>
+
+- add 0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch
+  0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch
+  0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch
+  0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch (bsc#1124111)
+
+-------------------------------------------------------------------
+Sat Feb  9 08:41:25 UTC 2019 - [email protected]
+
+- Don't package files twice on ppc64
+
+-------------------------------------------------------------------

New:
----
  0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch
  0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch
  0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch
  0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ valgrind.spec ++++++
--- /var/tmp/diff_new_pack.SQOp7w/_old  2019-02-24 17:03:16.048684113 +0100
+++ /var/tmp/diff_new_pack.SQOp7w/_new  2019-02-24 17:03:16.048684113 +0100
@@ -40,6 +40,10 @@
 Patch7:         0001-Bug-397187-s390x-Add-vector-register-support-for-vgd.patch
 Patch8:         0001-s390x-more-fixes.patch
 Patch9:         0001-Bug-402519-POWER-3.0-addex-instruction-incorrectly-i.patch
+Patch10:        0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch
+Patch11:        0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch
+Patch12:        0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch
+Patch13:        0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch
 BuildRequires:  automake
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  docbook_4
@@ -153,6 +157,10 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 
 %build
 %if 0%{?suse_version} < 1320
@@ -181,8 +189,9 @@
 %configure \
     --enable-lto=yes \
 %ifarch aarch64
-    --enable-only64bit
+    --enable-only64bit \
 %endif
+    %{nil}
 
 make %{?_smp_mflags}
 %if %{building_docs}
@@ -231,7 +240,7 @@
 %ifarch %ix86
 %{_libdir}/valgrind/*-x86-linux
 %endif
-%ifarch ppc ppc64
+%ifarch ppc
 %{_libdir}/valgrind/*-ppc32-linux
 %endif
 %ifarch ppc64

++++++ 0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch ++++++
++++ 1626 lines (skipped)

++++++ 0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch ++++++
++++ 2339 lines (skipped)

++++++ 0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch ++++++
>From ca2f73592e8e74a5328df0a65e0831bc1fc6dd28 Mon Sep 17 00:00:00 2001
From: Andreas Arnez <[email protected]>
Date: Tue, 9 Oct 2018 11:22:27 +0200
Subject: [PATCH] Bug 399444 s390x: Drop unnecessary check in s390_irgen_VSLDB

In s390_irgen_VSLDB there was special handling for the case that the
immediate operand i4 has the value 16, which would mean that the result v1
were a full copy of the third operand v3.  However, this is impossible
because i4 can only assume values from 0 to 15; thus the special handling
can be removed.
---
 VEX/priv/guest_s390_toIR.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/VEX/priv/guest_s390_toIR.c b/VEX/priv/guest_s390_toIR.c
index c594ad51b..60b608138 100644
--- a/VEX/priv/guest_s390_toIR.c
+++ b/VEX/priv/guest_s390_toIR.c
@@ -17400,16 +17400,11 @@ s390_irgen_VSLDB(UChar v1, UChar v2, UChar v3, UChar 
i4)
 {
    UChar imm = i4 & 0b00001111;
 
-   if (imm == 0)
-   {
+   if (imm == 0) {
+      /* Just copy v2. */
       put_vr_qw(v1, get_vr_qw(v2));
-   }
-   else if (imm == 16)
-   {
-      put_vr_qw(v1, get_vr_qw(v3));
-   }
-   else
-   {
+   } else {
+      /* Concatenate v2's tail with v3's head. */
       put_vr_qw(v1,
                 binop(Iop_OrV128,
                       binop(Iop_ShlV128, get_vr_qw(v2), mkU8(imm * 8)),
-- 
2.20.1

++++++ 0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch ++++++
>From 467c7c4c9665c0f8b41a4416722a027ebc05df2b Mon Sep 17 00:00:00 2001
From: Andreas Arnez <[email protected]>
Date: Mon, 21 Jan 2019 14:10:00 +0100
Subject: [PATCH] Bug 403552 s390x: Fix vector facility bit number

The wrong bit number was used when checking for the vector facility.  This
can result in a fatal emulation error: "Encountered an instruction that
requires the vector facility.  That facility is not available on this
host."

In many cases the wrong facility bit was usually set as well, hence
nothing bad happened.  But when running Valgrind within a Qemu/KVM guest,
the wrong bit was not (always?) set and the emulation error occurred.

This fix simply corrects the vector facility bit number, changing it from
128 to 129.
---
 NEWS                          | 1 +
 VEX/pub/libvex_s390x_common.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Index: valgrind-3.14.0/NEWS
===================================================================
--- valgrind-3.14.0.orig/NEWS
+++ valgrind-3.14.0/NEWS
@@ -175,6 +175,7 @@ where XXXXXX is the bug number as listed
 398028  Assertion `cfsi_fits` failing in simple C program
 398066  s390x: cgijl dep1, 0 reports false unitialised values warning
 402519  POWER 3.0 addex instruction incorrectly implemented
+403552  s390x: wrong facility bit checked for vector facility
 
 n-i-bz  Fix missing workq_ops operations (macOS)
 n-i-bz  fix bug in strspn replacement
Index: valgrind-3.14.0/VEX/pub/libvex_s390x_common.h
===================================================================
--- valgrind-3.14.0.orig/VEX/pub/libvex_s390x_common.h
+++ valgrind-3.14.0/VEX/pub/libvex_s390x_common.h
@@ -103,7 +103,7 @@
 #define S390_FAC_MSA5    57  // message-security-assist 5
 #define S390_FAC_TREXE   73  // transactional execution
 #define S390_FAC_MSA4    77  // message-security-assist 4
-#define S390_FAC_VX      128 // vector facility
+#define S390_FAC_VX      129 // vector facility
 
 
 /*--------------------------------------------------------------*/

Reply via email to