Version: 3.6 SVN OS: Linux The "repne cmps" string instruction is not supported on amd64 Reproducible: Didn't try
Created attachment 125021 [details] Added missing cmps variants to VEX amd64. I was trying to run valgrind on some assembly code and it also chokes on a plain old cmps. I implemented both in the attached patch.
Do you have a testcase for this?
(In reply to Paul Floyd from comment #2) > Do you have a testcase for this? Hi! Can you point me to where I could provide this testcase? BR
Ideally just attach a small testcase here.
Created attachment 188721 [details] Uncomment tests for cmps variants for VEX amd64. The test cases already existed, they were just commented out. When applying this patch, valgrind reports illegal instructions when running the compiled test-amd64.c. With the patch from attachment 125021 [details] applied, it does not report any issues anymore.
! I should have done a git rep before asking.
Thanks for the contributions! commit 1f5118fffdfbfb40405b8493ad6e8fee343c5759 (HEAD -> master, origin/users/paulf/try-bug253436, origin/master, origin/HEAD, bug253436) Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Sat Jan 24 08:20:29 2026 +0100 Bug 253436 - vex amd64->IR: unhandled instruction bytes: 0xF2 0xA6 (repne cmps) Patch submitted by jacobly.alt@gmail.com Regtest update submitted by Lukas Dullinger <itislu.git@gmail.com>