[valgrind] [Bug 418435] s390x: memcmp test yields extra "Conditional jump or move depends on uninitialised value(s)"

2020-03-04 Thread Andreas Arnez
https://bugs.kde.org/show_bug.cgi?id=418435 Andreas Arnez changed: What|Removed |Added Resolution|--- |FIXED Status|REPORTED

[valgrind] [Bug 418435] s390x: memcmp test yields extra "Conditional jump or move depends on uninitialised value(s)"

2020-03-04 Thread Julian Seward
https://bugs.kde.org/show_bug.cgi?id=418435 --- Comment #3 from Julian Seward --- (In reply to Andreas Arnez from comment #2) > This is a simple fix for the memcmp test fail. It addresses only the case > where the two input strings are equal and then clears the condition code > explicitly, to

[valgrind] [Bug 418435] s390x: memcmp test yields extra "Conditional jump or move depends on uninitialised value(s)"

2020-03-03 Thread Andreas Arnez
https://bugs.kde.org/show_bug.cgi?id=418435 --- Comment #2 from Andreas Arnez --- Created attachment 126571 --> https://bugs.kde.org/attachment.cgi?id=126571=edit Fix for the memcmp test fail This is a simple fix for the memcmp test fail. It addresses only the case where the two input

[valgrind] [Bug 418435] s390x: memcmp test yields extra "Conditional jump or move depends on uninitialised value(s)"

2020-03-03 Thread Andreas Arnez
https://bugs.kde.org/show_bug.cgi?id=418435 --- Comment #1 from Andreas Arnez --- The issue seems to be caused by the handling of the s390x instruction CLC, see s390_irgen_CLC_EX(). When comparing two bytes from the two input strings, the implementation uses the comparison result for a