From kde-bugs-dist Thu Aug 09 16:31:01 2012 From: Ambroz Bizjak Date: Thu, 09 Aug 2012 16:31:01 +0000 To: kde-bugs-dist Subject: [Bug 304867] New: implement MOVBE instruction in x86 mode Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=134453005831026 https://bugs.kde.org/show_bug.cgi?id=304867 Bug ID: 304867 Severity: normal Version: unspecified Priority: NOR Assignee: jseward@acm.org Summary: implement MOVBE instruction in x86 mode Classification: Unclassified OS: Linux Reporter: ambrop7@gmail.com Hardware: Other Status: UNCONFIRMED Component: vex Product: valgrind Created attachment 73066 --> https://bugs.kde.org/attachment.cgi?id=73066&action=edit add movbe in x86 The MOVBE instruction is currently implemented in Valgrind only for amd64, but it is also available in x86 mode in Atom processors. The attached patch implements this. It also changes the BSWAP implementation to use the added math_BSWAP() function. The code is based on the MOVBE implementation for amd64. I've tested both forms of the instruction with the attached C code containing inline asm. Since I don't know either Valgrind or x86 assembly much, it would make sense to check the code for obvious errors. -- You are receiving this mail because: You are watching all bug changes.