https://bugs.kde.org/show_bug.cgi?id=493003
Bug ID: 493003 Summary: amd64: Support cmps repnz prefix and non-repeating cases Classification: Developer tools Product: valgrind Version: 3.23 GIT Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: vex Assignee: jsew...@acm.org Reporter: cont...@mborgerson.com Target Milestone: --- Created attachment 173576 --> https://bugs.kde.org/attachment.cgi?id=173576&action=edit Patch SUMMARY Attached patch adds support for repnz prefix, which is another encoding for rep cmps, and the case where there is no rep prefix for a cmps instruction. Closes 253436, 340469, 406132 STEPS TO REPRODUCE Build and run https://github.com/qemu/qemu/blob/master/tests/tcg/i386/test-i386.c OBSERVED RESULT Crash when these instructions are encountered. EXPECTED RESULT cmps should work with the repnz prefix, and without a rep prefix. SOFTWARE/OS VERSIONS Valgrind: VALGRIND_3_23_0-108-g5d404b97d ADDITIONAL INFORMATION Discovered via QEMU differential tests. A version of these tests, with these particular cases commented out, are in Valgrind at /VEX/test/test-amd64.c, but the test in Valgrind repo does not compile. -- You are receiving this mail because: You are watching all bug changes.