[valgrind] [Bug 492210] False positive on x86/amd64 with ZF taken directly from addition

2024-09-15 Thread Alexander Monakov
https://bugs.kde.org/show_bug.cgi?id=492210 --- Comment #15 from Alexander Monakov --- (In reply to Paul Floyd from comment #14) > (In reply to Alexander Monakov from comment #13) > > > It's "long" only in the first instance, for ADDW/ADDB it's word/byte >

[valgrind] [Bug 492210] False positive on x86/amd64 with ZF taken directly from addition

2024-09-15 Thread Alexander Monakov
https://bugs.kde.org/show_bug.cgi?id=492210 --- Comment #13 from Alexander Monakov --- (In reply to Paul Floyd from comment #12) > Could you see if my try branch users/paulf/try-bug492210 works OK? I briefly tried it with a standalone test for vectorized helpers from libcpp and the fa

[valgrind] [Bug 492210] False positive on x86/amd64 with ZF taken directly from addition

2024-09-02 Thread Alexander Monakov
https://bugs.kde.org/show_bug.cgi?id=492210 --- Comment #7 from Alexander Monakov --- (In reply to Paul Floyd from comment #6) > It looks like these have been added as needed, not systematically to cover > all cases. In GCC we cannot leave compiling-under-valgrind broken until a rele

[valgrind] [Bug 492210] False positive on x86/amd64 with ZF taken directly from addition

2024-09-01 Thread Alexander Monakov
https://bugs.kde.org/show_bug.cgi?id=492210 --- Comment #5 from Alexander Monakov --- (In reply to Paul Floyd from comment #4) > The patch looks ok to me. I’ll check if there should be all 4 addq addl subq > and subl variants. There are also CondZ and CondNZ variants. -- You are rec

[valgrind] [Bug 492210] False positive on x86/amd64 with ZF taken directly from addition

2024-08-29 Thread Alexander Monakov
https://bugs.kde.org/show_bug.cgi?id=492210 --- Comment #3 from Alexander Monakov --- The following patch helps. I'm quite unsure what the numbers in comments (like "8," in the context visible here) are counting. diff --git a/VEX/priv/guest_amd64_helpers.c b/VEX/priv/guest_amd64_

[valgrind] [Bug 492210] False positive on x86/amd64 with ZF taken directly from addition

2024-08-26 Thread Alexander Monakov
https://bugs.kde.org/show_bug.cgi?id=492210 --- Comment #2 from Alexander Monakov --- (In reply to Paul Floyd from comment #1) > I can reproduce similar errors on amd64. > > I'm not too sure what the side effects of the inline asm is. It just pretends to modify the variable &

[valgrind] [Bug 492210] New: False positive on x86 with ZF taken directly from addition

2024-08-26 Thread Alexander Monakov
https://bugs.kde.org/show_bug.cgi?id=492210 Bug ID: 492210 Summary: False positive on x86 with ZF taken directly from addition Classification: Developer tools Product: valgrind Version: 3.24 GIT Platform: Other