[LLVMbugs] [Bug 754] NEW: Miscompilation of __bswap_32 macro

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Apr 27 22:03:10 PDT 2006


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

           Summary: Miscompilation of  __bswap_32 macro
           Product: tools
           Version: 1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: domagoj at engineer.com


#include <byteswap.h>
int dummy(int i) { return __bswap_32(i); }

Invalid operand found in inline asm: 'rorw $$8, ${0:w};rorl $$16, $0;rorw $$8,
${0:w}'
INLINEASM <es:rorw $$8, ${0:w};rorl $$16, $0;rorw $$8, ${0:w}>, 10, %EAX<def>,
9, %EAX



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list