http://llvm.org/bugs/show_bug.cgi?id=18594

            Bug ID: 18594
           Summary: MMX registers have incorrect values
           Product: lldb
           Version: 3.2
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Created attachment 11926
  --> http://llvm.org/bugs/attachment.cgi?id=11926&action=edit
Program to demonstrate the bug

MMX registers are not aliased correctly with the floating point registers.

To reproduce, compile and run the attached program until it hits the int3
breakpoint.

The program first prints the correct value of MM7 to stdout for reference. It
then performs the same test again except this time drops you at a breakpoint.

Type "register read mm7" into lldb. Compare against the value printed by the
test program. Notice they do not match.

Example:

$ clang fpbug.c -g -o fpbug
$ lldb fpbug
Current executable set to 'fpbug' (x86_64).
(lldb) run
Process 4301 launched: '/home/kayamon/fpbug' (x86_64)
MM7 should contain: c0e4000000000000
Process 4301 stopped
(lldb) register read mm7
     mm7 = 0x0000000000000000

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to