[LLVMbugs] [Bug 9807] New: over relaxation of cmp instructions
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Apr 28 08:46:02 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9807
Summary: over relaxation of cmp instructions
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Support Libraries
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
MC is over relaxing the cmpl instruction in the following example:
--
ddunbar at lordcrumb:tmp$ cat x.s
.section __DATA,__data
_g0:
.long 0
.section __TEXT,__text,regular,pure_instructions
_f0:
L0:
cmpl $102, _g0 - L0(%eax)
ddunbar at lordcrumb:tmp$ gcc -m32 -c x.s && otool -tv x.o
x.o:
(__TEXT,__text) section
_f0:
00000000 cmpl $0x66,0x00000007(%eax)
ddunbar at lordcrumb:tmp$ clang -m32 -c x.s && otool -tv x.o
x.o:
(__TEXT,__text) section
_f0:
00000000 cmpl $0x00000066,0x0000000a(%eax)
ddunbar at lordcrumb:tmp$
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list