[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 304867] New: implement MOVBE instruction in x86 mode
From:       Ambroz Bizjak <ambrop7 () gmail ! com>
Date:       2012-08-09 16:31:01
Message-ID: bug-304867-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic